diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-22 23:10:18 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-23 00:48:56 (GMT) |
commit | a83fbf635992442edf6aa3252e4008d4a08edf12 (patch) | |
tree | dd31c01247cea278a77dcb88732d19c92b9bca77 /include/asm-generic/audit_dir_write.h | |
parent | db392219c5f572610645696e3672f6ea38783a65 (diff) | |
download | linux-fsl-qoriq-a83fbf635992442edf6aa3252e4008d4a08edf12.tar.xz |
[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.h | 4 |
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 161a7a5..6621bd8 100644 --- a/include/asm-generic/audit_dir_write.h +++ b/include/asm-generic/audit_dir_write.h @@ -1,14 +1,18 @@ __NR_rename, __NR_mkdir, __NR_rmdir, +#ifdef __NR_creat __NR_creat, +#endif __NR_link, __NR_unlink, __NR_symlink, __NR_mknod, +#ifdef __NR_mkdirat __NR_mkdirat, __NR_mknodat, __NR_unlinkat, __NR_renameat, __NR_linkat, __NR_symlinkat, +#endif |