lkml.org 
[lkml]   [2023]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v5] io_uring: add a sysctl to disable io_uring system-wide
Date

On Mon, 21 Aug 2023 17:15:52 -0400, Jeff Moyer wrote:
> 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.
>
> [...]

Applied, thanks!

[1/1] io_uring: add a sysctl to disable io_uring system-wide
commit: 76d3ccecfa186af3120e206d62f03db1a94a535f

Best regards,
--
Jens Axboe



\
 
 \ /
  Last update: 2023-09-05 18:18    [W:0.069 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site