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 "pseudoterminals number Maximum number of pseudo-terminals."
|
||||||
.It "swapuse size Maximum swap space size limit."
|
.It "swapuse size Maximum swap space size limit."
|
||||||
.It "umtxp number Maximum number of process-shared pthread locks."
|
.It "umtxp number Maximum number of process-shared pthread locks."
|
||||||
|
.It "pipebuf" size Maximum size of pipe buffers."
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
These resource limit entries actually specify both the maximum
|
These resource limit entries actually specify both the maximum
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ pseudoterminals RLIMIT_NPTS
|
|||||||
swapuse RLIMIT_SWAP
|
swapuse RLIMIT_SWAP
|
||||||
kqueues RLIMIT_KQUEUES
|
kqueues RLIMIT_KQUEUES
|
||||||
umtxp RLIMIT_UMTXP
|
umtxp RLIMIT_UMTXP
|
||||||
|
pipebuf RLIMIT_PIPEBUF
|
||||||
.Ed
|
.Ed
|
||||||
.It LOGIN_SETPRIORITY
|
.It LOGIN_SETPRIORITY
|
||||||
Set the scheduling priority for the current process based on the
|
Set the scheduling priority for the current process based on the
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ static struct login_res {
|
|||||||
{ "swapuse", login_getcapsize, RLIMIT_SWAP },
|
{ "swapuse", login_getcapsize, RLIMIT_SWAP },
|
||||||
{ "kqueues", login_getcapsize, RLIMIT_KQUEUES },
|
{ "kqueues", login_getcapsize, RLIMIT_KQUEUES },
|
||||||
{ "umtxp", login_getcapnum, RLIMIT_UMTXP },
|
{ "umtxp", login_getcapnum, RLIMIT_UMTXP },
|
||||||
|
{ "pipebuf", login_getcapnum, RLIMIT_PIPEBUF },
|
||||||
{ NULL, 0, 0 }
|
{ NULL, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user