1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

getrlimit(2): document RLIMIT_PIPEBUF

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D46619
This commit is contained in:
Konstantin Belousov 2024-09-10 07:11:55 +03:00
parent 3458bbd397
commit 54a8d1fbbf

View File

@ -84,6 +84,16 @@ The maximum number of open files for this process.
The maximum number of simultaneous processes for this user id.
.It Dv RLIMIT_NPTS
The maximum number of pseudo-terminals this user id is allowed to create.
.It Dv RLIMIT_PIPEBUF
The maximum total size of in-kernel buffers for bi-directional pipes/fifos
that this user id is allowed to consume.
The buffers for kernel FIFOs created on the first open of a filesystem
object created by
.Pq Xr mkfifo 2
are also charged to the user ID of the process opening it,
not the FIFO's filesystem owner.
Despite somewhat unexpected, this is in fact fair, since user of the fifo
is not necessary its creator.
.It Dv RLIMIT_RSS
When there is memory pressure and swap is available, prioritize eviction of
a process' resident pages beyond this amount (in bytes).