diff options
| author | Alexey Gladkov <[email protected]> | 2024-01-15 15:46:43 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 15:38:52 -0800 |
| commit | f9436a5d0497f759330d07e1189565edd4456be8 (patch) | |
| tree | 5099a974b5272d85b648e1c8122abd4bb0dde424 /tools/perf/scripts/python | |
| parent | 9220066ea807e3efce21476bffcac16743e9db22 (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 <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Link: https://lkml.kernel.org/r/7eb21211c8622e91d226e63416b1b93c079f60ee.1663756794.git.legion@kernel.org
Cc: Christian Brauner <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Joel Granados <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions