diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2020-02-14 01:58:20 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-14 01:58:20 +0100 |
commit | bfc5d42735c1660263904ec5254cccf539a0a458 (patch) | |
tree | 9bbb81b4a53941427e6f9e65ae55027d9108df8c /Src/Builtins/rlimits.c | |
parent | 74561cc51b8867e43cb2937ab2edfb36e2a829bf (diff) | |
parent | 643de931640e01aa246723d2038328ef33737965 (diff) | |
download | zsh-bfc5d42735c1660263904ec5254cccf539a0a458.tar.gz zsh-bfc5d42735c1660263904ec5254cccf539a0a458.zip |
Merge tag 'zsh-5.7.1-test-3' into debian
Test release: 5.7.1-test-3
Diffstat (limited to 'Src/Builtins/rlimits.c')
-rw-r--r-- | Src/Builtins/rlimits.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c index 29f97b41d..6b552f3a9 100644 --- a/Src/Builtins/rlimits.c +++ b/Src/Builtins/rlimits.c @@ -413,6 +413,12 @@ printulimit(char *nam, int lim, int hard, int head) printf("-k: kqueues "); break; # endif /* HAVE_RLIMIT_KQUEUES */ +# ifdef HAVE_RLIMIT_UMTXP + case RLIMIT_UMTXP: + if (head) + printf("-o: umtx shared locks "); + break; +# endif /* HAVE_RLIMIT_UMTXP */ default: if (head) printf("-N %2d: ", lim); @@ -895,6 +901,11 @@ bin_ulimit(char *name, char **argv, UNUSED(Options ops), UNUSED(int func)) res = RLIMIT_PTHREAD; break; # endif +# ifdef HAVE_RLIMIT_UMTXP + case 'o': + res = RLIMIT_UMTXP; + break; +# endif default: /* unrecognised limit */ zwarnnam(name, "bad option: -%c", *options); |