[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <169392505265.592530.1699660694804027481.b4-ty@kernel.dk>
Date: Tue, 05 Sep 2023 08:44:12 -0600
From: Jens Axboe <axboe@...nel.dk>
To: matteorizzo@...gle.com, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, io-uring@...r.kernel.org,
asml.silence@...il.com, Jeff Moyer <jmoyer@...hat.com>
Cc: corbet@....net, akpm@...ux-foundation.org, keescook@...omium.org,
ribalda@...omium.org, rostedt@...dmis.org, jannh@...gle.com,
chenhuacai@...nel.org, gpiccoli@...lia.com, ldufour@...ux.ibm.com,
evn@...gle.com, poprdi@...gle.com, jordyzomer@...gle.com,
krisman@...e.de, andres@...razel.de
Subject: Re: [PATCH v5] io_uring: add a sysctl to disable io_uring
system-wide
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
Powered by blists - more mailing lists