Skip to contentSkip to conversation

capabilities.7: Add two more items for POSIX message queues

PATCH In review Saikiran Madugula 2 participants 2 messages Jul 8, 2020 – Jul 17, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 capabilities.7: Add two more items for POSIX message queues

/proc/sys/fs/mqueue/msg_max and /proc/sys/fs/mqueue/msgsize_max also require CAP_SYS_RESOURCE

---
 man7/capabilities.7 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
man7/capabilities.7 +4 -1
index fd841b4f1..adb8bad5b 100644
@@ -722,7 +722,10 @@ to increase the capacity of a pipe above the limit specified by
 .IR /proc/sys/fs/pipe-max-size ;
 .IP *
 override
-.I /proc/sys/fs/mqueue/queues_max
+.I /proc/sys/fs/mqueue/queues_max,
+.I /proc/sys/fs/mqueue/msg_max,
+and
+.I /proc/sys/fs/mqueue/msgsize_max
 limit when creating POSIX message queues (see
 .BR mq_overview (7));
 .IP *
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · Saikiran Madugula

/proc/sys/fs/mqueue/msg_max and /proc/sys/fs/mqueue/msgsize_max also require CAP_SYS_RESOURCE

Thanks, Saikiran. Patch applied.

Cheers,

Michael

Quoted 21 lines
---
 man7/capabilities.7 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
man7/capabilities.7 +4 -1
index fd841b4f1..adb8bad5b 100644
@@ -722,7 +722,10 @@ to increase the capacity of a pipe above the limit specified by
 .IR /proc/sys/fs/pipe-max-size ;
 .IP *
 override
-.I /proc/sys/fs/mqueue/queues_max
+.I /proc/sys/fs/mqueue/queues_max,
+.I /proc/sys/fs/mqueue/msg_max,
+and
+.I /proc/sys/fs/mqueue/msgsize_max
 limit when creating POSIX message queues (see
 .BR mq_overview (7));
 .IP *
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/