diff options
author | Oliver Kiddle <opk@zsh.org> | 2025-02-27 16:02:02 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2025-02-27 16:02:02 +0100 |
commit | e160cf85f05c3106189edf2158146b9f522d1f1c (patch) | |
tree | 5b7aa4fda7a86bdf67b45f0a36c3d32e780028a4 /Src/Builtins/rlimits.c | |
parent | 8701313c615394654f47586c9a4961ac8893bf5b (diff) | |
download | zsh-e160cf85f05c3106189edf2158146b9f522d1f1c.tar.gz zsh-e160cf85f05c3106189edf2158146b9f522d1f1c.zip |
53378: support new pipebuf resource limit on FreeBSD
Also add other newer limits to the documentation.
Diffstat (limited to 'Src/Builtins/rlimits.c')
-rw-r--r-- | Src/Builtins/rlimits.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |