diff options
author | 2025-01-27 10:57:17 -0500 | |
---|---|---|
committer | 2025-02-07 17:17:49 -0500 | |
commit | b8a468e0b0604a10e72ab7f55af0f931aac1d477 (patch) | |
tree | 84862cc57b4e3db9a2337f7e381c0df21e55ffab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.14-rc1 (diff) | |
download | linux-rng-b8a468e0b0604a10e72ab7f55af0f931aac1d477.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions