mirror of https://github.com/mkerrisk/man-pages
mq_overview.7: Change documented ranges for msg_max and msgsize_max
Linux 2.6.28 changed the permissible ranges for these /proc files. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
76a34baa39
commit
5bbdbc7e92
|
@ -23,7 +23,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH MQ_OVERVIEW 7 2009-07-25 "Linux" "Linux Programmer's Manual"
|
||||
.TH MQ_OVERVIEW 7 2009-09-27 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
mq_overview \- Overview of POSIX message queues
|
||||
.SH DESCRIPTION
|
||||
|
@ -146,9 +146,11 @@ This value acts as a ceiling on the
|
|||
.I attr\->mq_maxmsg
|
||||
argument given to
|
||||
.BR mq_open (3).
|
||||
The default and minimum value for
|
||||
The default value for
|
||||
.I msg_max
|
||||
is 10; the upper limit is
|
||||
is 10.
|
||||
The minimum value is 1 (10 in kernels before 2.6.28).
|
||||
The upper limit is
|
||||
.BR HARD_MAX :
|
||||
.IR "(131072\ /\ sizeof(void\ *))"
|
||||
(32768 on Linux/86).
|
||||
|
@ -165,11 +167,15 @@ This value acts as a ceiling on the
|
|||
.I attr\->mq_msgsize
|
||||
argument given to
|
||||
.BR mq_open (3).
|
||||
The default and minimum value for
|
||||
The default value for
|
||||
.I msgsize_max
|
||||
is 8192 bytes; the upper limit is
|
||||
.B INT_MAX
|
||||
(2147483647 on Linux/86).
|
||||
is 8192 bytes.
|
||||
The minimum value is 128 (8192 in kernels before 2.6.28).
|
||||
The upper limit for
|
||||
.I msgsize_max
|
||||
is 1,048,576 (in kernels before 2.6.28, the upper limit was
|
||||
.BR INT_MAX ;
|
||||
that is, 2,147,483,647 on Linux/86).
|
||||
This limit is ignored for privileged processes
|
||||
.RB ( CAP_SYS_RESOURCE ).
|
||||
.TP
|
||||
|
|
Loading…
Reference in New Issue