projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2bb1f
)
io_uring,audit: don't log IORING_OP_MADVISE
author
Richard Guy Briggs
<rgb@redhat.com>
Wed, 1 Feb 2023 20:33:33 +0000
(15:33 -0500)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 10 Feb 2023 23:00:30 +0000
(16:00 -0700)
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>
Link:
https://lore.kernel.org/r/b5dfdcd541115c86dbc774aa9dd502c964849c5f.1675282642.git.rgb@redhat.com
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/opdef.c
patch
|
blob
|
history
diff --git
a/io_uring/opdef.c
b/io_uring/opdef.c
index 5238ecd7af6abd250e49791bfc6bec2c79d51fb6..cca7c5b55208792ffe1eee4cdf32482a60b139e9 100644
(file)
--- a/
io_uring/opdef.c
+++ b/
io_uring/opdef.c
@@
-257,6
+257,7
@@
const struct io_issue_def io_issue_defs[] = {
.issue = io_fadvise,
},
[IORING_OP_MADVISE] = {
+ .audit_skip = 1,
.prep = io_madvise_prep,
.issue = io_madvise,
},