]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/bpf_filter: allow filtering on contents of struct open_how
authorJens Axboe <axboe@kernel.dk>
Mon, 19 Jan 2026 22:59:54 +0000 (15:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jan 2026 18:10:46 +0000 (11:10 -0700)
commit8768770cf5d76d177fa2200e6957a372e61e06b5
treef903ed9cbf90e98fea990a8deff079cd1f3d0e03
parentcff1c26b4223820431129696b45525e5928e6409
io_uring/bpf_filter: allow filtering on contents of struct open_how

This adds custom filtering for IORING_OP_OPENAT and IORING_OP_OPENAT2,
where the open_how flags, mode, and resolve can be checked by filters.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring/bpf_filter.h
io_uring/bpf_filter.c
io_uring/openclose.c
io_uring/openclose.h