diff options
author | Hamza Mahfooz <hamzamahfooz@linux.microsoft.com> | 2025-01-27 10:57:17 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2025-02-07 17:17:49 -0500 |
commit | b8a468e0b0604a10e72ab7f55af0f931aac1d477 (patch) | |
tree | 84862cc57b4e3db9a2337f7e381c0df21e55ffab /security | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
download | linux-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