summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHamza Mahfooz <hamzamahfooz@linux.microsoft.com>2025-01-27 10:57:17 -0500
committerPaul Moore <paul@paul-moore.com>2025-02-07 17:17:49 -0500
commitb8a468e0b0604a10e72ab7f55af0f931aac1d477 (patch)
tree84862cc57b4e3db9a2337f7e381c0df21e55ffab /security
parent2014c95afecee3e76ca4a56956a936e23283f05b (diff)
downloadlinux-b8a468e0b0604a10e72ab7f55af0f931aac1d477.tar.gz
linux-b8a468e0b0604a10e72ab7f55af0f931aac1d477.tar.bz2
linux-b8a468e0b0604a10e72ab7f55af0f931aac1d477.zip
io_uring: refactor io_uring_allowed()
Have io_uring_allowed() return an error code directly instead of true/false. This is needed for follow-up work to guard io_uring_setup() with LSM. Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com> Acked-by: Jens Axboe <axboe@kernel.dk> [PM: goto-to-return conversion as discussed on-list] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions