Commit c6ad9fdb authored by Hamza Mahfooz's avatar Hamza Mahfooz Committed by Paul Moore
Browse files

io_uring,lsm,selinux: add LSM hooks for io_uring_setup()



It is desirable to allow LSM to configure accessibility to io_uring
because it is a coarse yet very simple way to restrict access to it. So,
add an LSM for io_uring_allowed() to guard access to io_uring.

Cc: Paul Moore <paul@paul-moore.com>
Signed-off-by: default avatarHamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Acked-by: default avatarJens Axboe <axboe@kernel.dk>
[PM: merge fuzz due to changes in preceding patches, subj tweak]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent b8a468e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment