msgop.2: Note capability required to raise MQ size beyond MSGMNB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 08:40:27 +02:00
parent 6a616b5bd0
commit 2cd12d64b1
1 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,7 @@
.\" Added notes on /proc files
.\" FIXME . Add example programs to this page.
.\"
.TH MSGOP 2 2014-03-17 "Linux" "Linux Programmer's Manual"
.TH MSGOP 2 2014-04-28 "Linux" "Linux Programmer's Manual"
.SH NAME
msgrcv, msgsnd \- System V message queue operations
.SH SYNOPSIS
@ -507,7 +507,11 @@ Maximum size for a message text: 8192 bytes
Default maximum size in bytes of a message queue: 16384 bytes
(on Linux, this limit can be read and modified via
.IR /proc/sys/kernel/msgmnb ).
The superuser can increase the size of a message queue beyond
A privileged process
(Linux: a process with the
.B CAP_SYS_RESOURCE
capability)
can increase the size of a message queue beyond
.B MSGMNB
by a
.BR msgctl (2)