linux-stable/Documentation/admin-guide/sysctl
Matteo Rizzo 76d3ccecfa io_uring: add a sysctl to disable io_uring system-wide
Introduce a new sysctl (io_uring_disabled) which can be either 0, 1, or
2. When 0 (the default), all processes are allowed to create io_uring
instances, which is the current behavior.  When 1, io_uring creation is
disabled (io_uring_setup() will fail with -EPERM) for unprivileged
processes not in the kernel.io_uring_group group.  When 2, calls to
io_uring_setup() fail with -EPERM regardless of privilege.

Signed-off-by: Matteo Rizzo <matteorizzo@google.com>
[JEM: modified to add io_uring_group]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Link: https://lore.kernel.org/r/x49y1i42j1z.fsf@segfault.boston.devel.redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-09-05 08:34:07 -06:00
..
abi.rst docs: admin-guide: sysctl: avoid using ReST :doc:foo markup 2021-06-17 13:24:36 -06:00
fs.rst docs: sysctl/fs: re-order, prettify 2022-10-19 16:42:09 -06:00
index.rst
kernel.rst io_uring: add a sysctl to disable io_uring system-wide 2023-09-05 08:34:07 -06:00
net.rst Documentation: net: net.core.txrehash is not specific to listening sockets 2023-05-25 13:20:45 +02:00
sunrpc.rst
user.rst time/namespace: Add max_time_namespaces ucount 2020-04-07 12:37:21 +02:00
vm.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00