summaryrefslogtreecommitdiffstats
tag namepatchset/rootless-ipc/v1.0/cover (4c71f2cd102d599b8f8e128ca2dae0275af8036f)
tag date2024-01-15 15:27:15 +0000
tagged byAlexey Gladkov <legion@kernel.org>
tagged objectcommit 70d201a408...
downloadlinux-patchset/rootless-ipc/v1.0/cover.tar.gz
Allow to change ipc/mq sysctls inside ipc namespace
Right now ipc and mq limits count as per ipc namespace, but only real root can change them. By default, the current values of these limits are such that it can only be reduced. Since only root can change the values, it is impossible to reduce these limits in the rootless container. We can allow limit changes within ipc namespace because mq parameters are limited by RLIMIT_MSGQUEUE and ipc parameters are not limited to anything other than cgroups. This is just a rebase of patches on v6.7-6264-g70d201a40823. ---