mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00: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:
@@ -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 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user