From e160cf85f05c3106189edf2158146b9f522d1f1c Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 27 Feb 2025 16:02:02 +0100 Subject: 53378: support new pipebuf resource limit on FreeBSD Also add other newer limits to the documentation. --- Src/Builtins/rlimits.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src') diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c index f25dd2530..65226dc9a 100644 --- a/Src/Builtins/rlimits.c +++ b/Src/Builtins/rlimits.c @@ -145,6 +145,10 @@ static const resinfo_T known_resources[] = { {RLIMIT_UMTXP, "umtxp", ZLIMTYPE_NUMBER, 1, 'o', "umtx shared locks"}, # endif +# ifdef HAVE_RLIMIT_PIPEBUF /* FreeBSD */ + {RLIMIT_PIPEBUF, "pipebuf", ZLIMTYPE_MEMORY, 1024, + 'y', "size of buffers for pipes/fifos"}, +#endif # ifdef HAVE_RLIMIT_POSIXLOCKS /* DragonFly */ {RLIMIT_POSIXLOCKS, "posixlocks", ZLIMTYPE_NUMBER, 1, -- cgit v1.2.3