mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
sh: Fix pipebuf limit
Since the factor is not 1, we need to provide a unit.
MFC after: 1 week
Fixes: 5d92f20c7d ("bin/sh: support RLIMIT_PIPEBUF")
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D57352
This commit is contained in:
+1
-1
@@ -516,7 +516,7 @@ static const struct limits limits[] = {
|
|||||||
{ "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
|
{ "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
|
||||||
#endif
|
#endif
|
||||||
#ifdef RLIMIT_PIPEBUF
|
#ifdef RLIMIT_PIPEBUF
|
||||||
{ "pipebuf", (char *)0, RLIMIT_PIPEBUF, 1024, 'y' },
|
{ "pipebuf", "kbytes", RLIMIT_PIPEBUF, 1024, 'y' },
|
||||||
#endif
|
#endif
|
||||||
#ifdef RLIMIT_VMM
|
#ifdef RLIMIT_VMM
|
||||||
{ "virtual machines", (char *)0, RLIMIT_VMM, 1, 'V' },
|
{ "virtual machines", (char *)0, RLIMIT_VMM, 1, 'V' },
|
||||||
|
|||||||
Reference in New Issue
Block a user