summaryrefslogtreecommitdiff
path: root/include/asm-generic/audit_write.h
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2017-10-12 23:24:01 -0400
committerPaul Moore <paul@paul-moore.com>2017-11-10 16:08:28 -0500
commit6e66ec3cae02952fcfc285cb156c11dcc61f4453 (patch)
tree805fc6f8b32ae9976aca21263800e8bd0bc3250e /include/asm-generic/audit_write.h
parent5d842a5b77a58160625548fa6be2dc159179ffdb (diff)
downloadlwn-6e66ec3cae02952fcfc285cb156c11dcc61f4453.tar.gz
lwn-6e66ec3cae02952fcfc285cb156c11dcc61f4453.zip
audit: Add new syscalls to the perm=w filter
The audit subsystem allows selecting audit events based on watches for a particular behavior like writing to a file. A lot of syscalls have been added without updating the list. This patch adds 2 syscalls to the write filters: fallocate and renameat2. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> [PM: cleaned up some whitespace errors] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/asm-generic/audit_write.h')
-rw-r--r--include/asm-generic/audit_write.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/audit_write.h b/include/asm-generic/audit_write.h
index 274575d7129f..f5c4906d24df 100644
--- a/include/asm-generic/audit_write.h
+++ b/include/asm-generic/audit_write.h
@@ -19,3 +19,6 @@ __NR_ftruncate64,
#ifdef __NR_bind
__NR_bind, /* bind can affect fs object only in one way... */
#endif
+#ifdef __NR_fallocate
+__NR_fallocate,
+#endif