mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
libutil: support RLIMIT_PIPEBUF
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46619
This commit is contained in:
parent
54a8d1fbbf
commit
a4c04958f5
3 changed files with 3 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ login environment.
|
|||
.It "pseudoterminals number Maximum number of pseudo-terminals."
|
||||
.It "swapuse size Maximum swap space size limit."
|
||||
.It "umtxp number Maximum number of process-shared pthread locks."
|
||||
.It "pipebuf" size Maximum size of pipe buffers."
|
||||
.El
|
||||
.Pp
|
||||
These resource limit entries actually specify both the maximum
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ pseudoterminals RLIMIT_NPTS
|
|||
swapuse RLIMIT_SWAP
|
||||
kqueues RLIMIT_KQUEUES
|
||||
umtxp RLIMIT_UMTXP
|
||||
pipebuf RLIMIT_PIPEBUF
|
||||
.Ed
|
||||
.It LOGIN_SETPRIORITY
|
||||
Set the scheduling priority for the current process based on the
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ static struct login_res {
|
|||
{ "swapuse", login_getcapsize, RLIMIT_SWAP },
|
||||
{ "kqueues", login_getcapsize, RLIMIT_KQUEUES },
|
||||
{ "umtxp", login_getcapnum, RLIMIT_UMTXP },
|
||||
{ "pipebuf", login_getcapnum, RLIMIT_PIPEBUF },
|
||||
{ NULL, 0, 0 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue