aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/audit_change_attr.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-09-22 19:10:18 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-22 20:48:56 -0400
commita83fbf635992442edf6aa3252e4008d4a08edf12 (patch)
treedd31c01247cea278a77dcb88732d19c92b9bca77 /include/asm-generic/audit_change_attr.h
parentdb392219c5f572610645696e3672f6ea38783a65 (diff)
[PATCH] fix missing ifdefs in syscall classes hookup for generic targets
several targets have no ....at() family and m32r calls its only chown variant chown32(), with __NR_chown being undefined. creat(2) is also absent in some targets. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/audit_change_attr.h')
-rw-r--r--include/asm-generic/audit_change_attr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/audit_change_attr.h b/include/asm-generic/audit_change_attr.h
index cb05bf69745a..50764550a60c 100644
--- a/include/asm-generic/audit_change_attr.h
+++ b/include/asm-generic/audit_change_attr.h
@@ -1,16 +1,20 @@
1__NR_chmod, 1__NR_chmod,
2__NR_fchmod, 2__NR_fchmod,
3#ifdef __NR_chown
3__NR_chown, 4__NR_chown,
4__NR_fchown, 5__NR_fchown,
5__NR_lchown, 6__NR_lchown,
7#endif
6__NR_setxattr, 8__NR_setxattr,
7__NR_lsetxattr, 9__NR_lsetxattr,
8__NR_fsetxattr, 10__NR_fsetxattr,
9__NR_removexattr, 11__NR_removexattr,
10__NR_lremovexattr, 12__NR_lremovexattr,
11__NR_fremovexattr, 13__NR_fremovexattr,
14#ifdef __NR_fchownat
12__NR_fchownat, 15__NR_fchownat,
13__NR_fchmodat, 16__NR_fchmodat,
17#endif
14#ifdef __NR_chown32 18#ifdef __NR_chown32
15__NR_chown32, 19__NR_chown32,
16__NR_fchown32, 20__NR_fchown32,