summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHamza Mahfooz <hamzamahfooz@linux.microsoft.com>2025-01-27 18:57:17 +0300
committerPaul Moore <paul@paul-moore.com>2025-02-08 01:17:49 +0300
commitb8a468e0b0604a10e72ab7f55af0f931aac1d477 (patch)
tree84862cc57b4e3db9a2337f7e381c0df21e55ffab /scripts/generate_rust_analyzer.py
parent2014c95afecee3e76ca4a56956a936e23283f05b (diff)
downloadlinux-b8a468e0b0604a10e72ab7f55af0f931aac1d477.tar.xz
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions