All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] audit: Add new syscalls to the perm=w filter
@ 2017-10-13  3:24 Steve Grubb
  2017-10-16 19:00 ` Richard Guy Briggs
  2017-10-16 19:10 ` Paul Moore
  0 siblings, 2 replies; 12+ messages in thread
From: Steve Grubb @ 2017-10-13  3:24 UTC (permalink / raw)
  To: Linux Audit; +Cc: rgb

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: sgrubb <sgrubb@redhat.com>
---
 include/asm-generic/audit_dir_write.h | 4 ++++
 include/asm-generic/audit_write.h     | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/include/asm-generic/audit_dir_write.h b/include/asm-generic/audit_dir_write.h
index 7b61db4fe72b..d9a53eaeea35 100644
--- a/include/asm-generic/audit_dir_write.h
+++ b/include/asm-generic/audit_dir_write.h
@@ -30,3 +30,7 @@ __NR_renameat,
 __NR_linkat,
 __NR_symlinkat,
 #endif
+#ifdef __NR_renameat2
+__NR_renameat2,
+#endif
+
diff --git a/include/asm-generic/audit_write.h b/include/asm-generic/audit_write.h
index 274575d7129f..4fa65816acd3 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
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-17 14:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-13  3:24 [PATCH 1/1] audit: Add new syscalls to the perm=w filter Steve Grubb
2017-10-16 19:00 ` Richard Guy Briggs
2017-10-16 19:06   ` Richard Guy Briggs
2017-10-16 19:15     ` Paul Moore
2017-10-16 20:47       ` Steve Grubb
2017-10-17  1:20         ` Paul Moore
2017-10-16 19:10 ` Paul Moore
2017-10-16 19:18   ` Paul Moore
2017-10-16 19:35     ` Paul Moore
2017-10-16 20:31   ` Steve Grubb
2017-10-17  1:05     ` Paul Moore
2017-10-17 14:11       ` Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.