diff options
author | Joe Rayhawk <jrayhawk@fairlystable.org> | 2025-04-30 02:07:56 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@fairlystable.org> | 2025-04-30 02:07:56 -0700 |
commit | 26e09889646be3ea65b4a3dfeda26213e4bb6a27 (patch) | |
tree | 4f3c73a9416bf47ad7e125383d23cf42879e38d7 /Src/Builtins/rlimits.c | |
parent | 841bce705a58b04220b1f257abcc00ae71cbdbdc (diff) | |
parent | 001cba48ce3b964cf01fb3e2af54b20eacbc9bf5 (diff) | |
download | zsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.tar.gz zsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.zip |
Merge branch 'upstream' into debian
Diffstat (limited to 'Src/Builtins/rlimits.c')
-rw-r--r-- | Src/Builtins/rlimits.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c index 5f9c84b0f..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, @@ -171,6 +175,10 @@ static const resinfo_T known_resources[] = { {RLIMIT_TCACHE, "cachedthreads", ZLIMTYPE_NUMBER, 1, 'N', "cached threads"}, # endif +# ifdef HAVE_RLIMIT_NOVMON /* Haiku */ + {RLIMIT_NOVMON, "vnodemonitors", ZLIMTYPE_NUMBER, 1, + 'N', "open vnode monitors"}, +# endif }; /* resinfo[RLIMIT_XXX] points to the corresponding entry |