aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/audit_dir_write.h
diff options
context:
space:
mode:
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 161a7a58fba..6621bd82cbe 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