diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 21:08:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 21:08:10 -0500 |
commit | 6dd9158ae8577372aa433e6b0eae3c3d4caa5439 (patch) | |
tree | aa097a9f9ea6206d668ac924460ad1a5d64e751c /include/asm-generic | |
parent | 90804ed61f24712975fa12f8a1fc12cd46ef7d59 (diff) | |
parent | f3411cb2b2e396a41ed3a439863f028db7140a34 (diff) |
Merge git://git.infradead.org/users/eparis/audit
Pull audit update from Eric Paris:
"Again we stayed pretty well contained inside the audit system.
Venturing out was fixing a couple of function prototypes which were
inconsistent (didn't hurt anything, but we used the same value as an
int, uint, u32, and I think even a long in a couple of places).
We also made a couple of minor changes to when a couple of LSMs called
the audit system. We hoped to add aarch64 audit support this go
round, but it wasn't ready.
I'm disappearing on vacation on Thursday. I should have internet
access, but it'll be spotty. If anything goes wrong please be sure to
cc rgb@redhat.com. He'll make fixing things his top priority"
* git://git.infradead.org/users/eparis/audit: (50 commits)
audit: whitespace fix in kernel-parameters.txt
audit: fix location of __net_initdata for audit_net_ops
audit: remove pr_info for every network namespace
audit: Modify a set of system calls in audit class definitions
audit: Convert int limit uses to u32
audit: Use more current logging style
audit: Use hex_byte_pack_upper
audit: correct a type mismatch in audit_syscall_exit()
audit: reorder AUDIT_TTY_SET arguments
audit: rework AUDIT_TTY_SET to only grab spin_lock once
audit: remove needless switch in AUDIT_SET
audit: use define's for audit version
audit: documentation of audit= kernel parameter
audit: wait_for_auditd rework for readability
audit: update MAINTAINERS
audit: log task info on feature change
audit: fix incorrect set of audit_sock
audit: print error message when fail to create audit socket
audit: fix dangling keywords in audit_log_set_loginuid() output
audit: log on errors from filter user rules
...
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/audit_change_attr.h | 4 | ||||
-rw-r--r-- | include/asm-generic/audit_write.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-generic/audit_change_attr.h b/include/asm-generic/audit_change_attr.h index 89b73e5d0fd0..a1865537339b 100644 --- a/include/asm-generic/audit_change_attr.h +++ b/include/asm-generic/audit_change_attr.h | |||
@@ -4,9 +4,11 @@ __NR_chmod, | |||
4 | __NR_fchmod, | 4 | __NR_fchmod, |
5 | #ifdef __NR_chown | 5 | #ifdef __NR_chown |
6 | __NR_chown, | 6 | __NR_chown, |
7 | __NR_fchown, | ||
8 | __NR_lchown, | 7 | __NR_lchown, |
9 | #endif | 8 | #endif |
9 | #ifdef __NR_fchown | ||
10 | __NR_fchown, | ||
11 | #endif | ||
10 | __NR_setxattr, | 12 | __NR_setxattr, |
11 | __NR_lsetxattr, | 13 | __NR_lsetxattr, |
12 | __NR_fsetxattr, | 14 | __NR_fsetxattr, |
diff --git a/include/asm-generic/audit_write.h b/include/asm-generic/audit_write.h index e7020c57b13b..274575d7129f 100644 --- a/include/asm-generic/audit_write.h +++ b/include/asm-generic/audit_write.h | |||
@@ -10,6 +10,12 @@ __NR_truncate, | |||
10 | #ifdef __NR_truncate64 | 10 | #ifdef __NR_truncate64 |
11 | __NR_truncate64, | 11 | __NR_truncate64, |
12 | #endif | 12 | #endif |
13 | #ifdef __NR_ftruncate | ||
14 | __NR_ftruncate, | ||
15 | #endif | ||
16 | #ifdef __NR_ftruncate64 | ||
17 | __NR_ftruncate64, | ||
18 | #endif | ||
13 | #ifdef __NR_bind | 19 | #ifdef __NR_bind |
14 | __NR_bind, /* bind can affect fs object only in one way... */ | 20 | __NR_bind, /* bind can affect fs object only in one way... */ |
15 | #endif | 21 | #endif |