summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAlexey Gladkov <legion@kernel.org>2024-01-15 15:46:43 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 15:38:52 -0800
commitf9436a5d0497f759330d07e1189565edd4456be8 (patch)
tree5099a974b5272d85b648e1c8122abd4bb0dde424 /.gitattributes
parent9220066ea807e3efce21476bffcac16743e9db22 (diff)
sysctl: allow to change limits for posix messages queues
All parameters of posix messages queues (queues_max/msg_max/msgsize_max) end up being limited by RLIMIT_MSGQUEUE. The code in mqueue_get_inode is where that limiting happens. The RLIMIT_MSGQUEUE is bound to the user namespace and is counted hierarchically. We can allow root in the user namespace to modify the posix messages queues parameters. Link: https://lkml.kernel.org/r/6ad67f23d1459a4f4339f74aa73bac0ecf3995e1.1705333426.git.legion@kernel.org Signed-off-by: Alexey Gladkov <legion@kernel.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Link: https://lkml.kernel.org/r/7eb21211c8622e91d226e63416b1b93c079f60ee.1663756794.git.legion@kernel.org Cc: Christian Brauner <brauner@kernel.org> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Joel Granados <joel.granados@gmail.com> Cc: Kees Cook <keescook@chromium.org> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions