All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] io_uring,audit: don't log IORING_OP_MADVISE
@ 2023-02-01 20:33 ` Richard Guy Briggs
  0 siblings, 0 replies; 28+ messages in thread
From: Richard Guy Briggs @ 2023-02-01 20:33 UTC (permalink / raw)
  To: Linux-Audit Mailing List, LKML, io-uring
  Cc: Paul Moore, Eric Paris, Steve Grubb, Richard Guy Briggs,
	Christian Brauner, Stefan Roesch

fadvise and madvise both provide hints for caching or access pattern for
file and memory respectively.  Skip them.

Fixes: 5bd2182d58e9 ("audit,io_uring,io-wq: add some basic audit support to io_uring")
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
---
changelog
v2:
- drop *GETXATTR patch
- drop FADVISE hunk

 io_uring/opdef.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/io_uring/opdef.c b/io_uring/opdef.c
index 3aa0d65c50e3..d3f36c633ceb 100644
--- a/io_uring/opdef.c
+++ b/io_uring/opdef.c
@@ -312,6 +312,7 @@ const struct io_op_def io_op_defs[] = {
 		.issue			= io_fadvise,
 	},
 	[IORING_OP_MADVISE] = {
+		.audit_skip		= 1,
 		.name			= "MADVISE",
 		.prep			= io_madvise_prep,
 		.issue			= io_madvise,
-- 
2.27.0


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

end of thread, other threads:[~2023-02-10 23:01 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-01 20:33 [PATCH v2] io_uring,audit: don't log IORING_OP_MADVISE Richard Guy Briggs
2023-02-01 20:33 ` Richard Guy Briggs
2023-02-01 21:18 ` Paul Moore
2023-02-01 21:18   ` Paul Moore
2023-02-09 21:53   ` Richard Guy Briggs
2023-02-09 21:53     ` Richard Guy Briggs
2023-02-09 22:37     ` Paul Moore
2023-02-09 22:37       ` Paul Moore
2023-02-09 22:54       ` Steve Grubb
2023-02-09 22:54         ` Steve Grubb
2023-02-10  0:15         ` Jens Axboe
2023-02-10  0:15           ` Jens Axboe
2023-02-10 15:39           ` Paul Moore
2023-02-10 15:39             ` Paul Moore
2023-02-10 16:00             ` Jens Axboe
2023-02-10 16:00               ` Jens Axboe
2023-02-10 16:52               ` Paul Moore
2023-02-10 16:52                 ` Paul Moore
2023-02-10 16:58                 ` Jens Axboe
2023-02-10 22:00                 ` Richard Guy Briggs
2023-02-10 22:00                   ` Richard Guy Briggs
2023-02-10 22:59                   ` Paul Moore
2023-02-10 22:59                     ` Paul Moore
2023-02-10 23:01                     ` Jens Axboe
2023-02-10 15:33         ` Paul Moore
2023-02-10 15:33           ` Paul Moore
2023-02-10  1:31 ` Jens Axboe
2023-02-10  1:31   ` Jens Axboe

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.