aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/audit_dir_write.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_dir_write.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_dir_write.h')
-rw-r--r--include/asm-generic/audit_dir_write.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/audit_dir_write.h b/include/asm-generic/audit_dir_write.h
index 161a7a58fbab..6621bd82cbe8 100644
--- a/include/asm-generic/audit_dir_write.h
+++ b/include/asm-generic/audit_dir_write.h
@@ -1,14 +1,18 @@
1__NR_rename, 1__NR_rename,
2__NR_mkdir, 2__NR_mkdir,
3__NR_rmdir, 3__NR_rmdir,
4#ifdef __NR_creat
4__NR_creat, 5__NR_creat,
6#endif
5__NR_link, 7__NR_link,
6__NR_unlink, 8__NR_unlink,
7__NR_symlink, 9__NR_symlink,
8__NR_mknod, 10__NR_mknod,
11#ifdef __NR_mkdirat
9__NR_mkdirat, 12__NR_mkdirat,
10__NR_mknodat, 13__NR_mknodat,
11__NR_unlinkat, 14__NR_unlinkat,
12__NR_renameat, 15__NR_renameat,
13__NR_linkat, 16__NR_linkat,
14__NR_symlinkat, 17__NR_symlinkat,
18#endif