msgctl.2: ERRORS: add EPERM for unprivileged attempt to set msg_qbytes > MSGMNB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-24 09:52:10 +01:00
parent 1a83d69723
commit a77b0f28ca
1 changed files with 11 additions and 0 deletions

View File

@ -311,6 +311,17 @@ of the message queue,
and the process is not privileged (Linux: it does not have the
.B CAP_SYS_ADMIN
capability).
.TP
.B EPERM
An attempt
.RB ( IPC_SET )
was made to increase
.I msg_qbytes
beyond the system parameter
.BR MSGMNB ,
but the caller is not privileged (Linux: does not have the
.B CAP_SYS_RESOURCE
capability).
.SH CONFORMING TO
SVr4, POSIX.1-2001.
.\" SVID does not document the EIDRM error condition.