1
0
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:
Dag-Erling Smørgrav
2026-06-01 10:51:24 +02:00
parent 4ccbceefeb
commit dfd2273d27
+1 -1
View File
@@ -516,7 +516,7 @@ static const struct limits limits[] = {
{ "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
#endif
#ifdef RLIMIT_PIPEBUF
{ "pipebuf", (char *)0, RLIMIT_PIPEBUF, 1024, 'y' },
{ "pipebuf", "kbytes", RLIMIT_PIPEBUF, 1024, 'y' },
#endif
#ifdef RLIMIT_VMM
{ "virtual machines", (char *)0, RLIMIT_VMM, 1, 'V' },