mirror of https://github.com/mkerrisk/man-pages
getrlimit.2: Document role of RLIMIT_NOFILE for FD passing over UNIX sockets
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
dc4eea68b5
commit
ececfc7320
|
@ -321,6 +321,18 @@ to exceed this limit yield the error
|
||||||
(Historically, this limit was named
|
(Historically, this limit was named
|
||||||
.B RLIMIT_OFILE
|
.B RLIMIT_OFILE
|
||||||
on BSD.)
|
on BSD.)
|
||||||
|
|
||||||
|
Since Linux 4.5,
|
||||||
|
this limit also defines the maximum number of file descriptors that
|
||||||
|
an unprivileged process (one without the
|
||||||
|
.BR CAP_SYS_RESOURCE
|
||||||
|
capability) may have "in flight" to other processes,
|
||||||
|
by being passed across UNIX domain sockets.
|
||||||
|
This limit applies to the
|
||||||
|
.BR sendmsg (2)
|
||||||
|
system call.
|
||||||
|
For further details, see
|
||||||
|
.BR unix (7).
|
||||||
.TP
|
.TP
|
||||||
.B RLIMIT_NPROC
|
.B RLIMIT_NPROC
|
||||||
This is the maximum number of processes
|
This is the maximum number of processes
|
||||||
|
|
Loading…
Reference in New Issue