diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-03-31 00:50:40 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-04-01 21:20:00 -0500 |
commit | 1e22a0733e5969aed017e75ee44c7a4ba93a980d (patch) | |
tree | 4390a1c110502bc657c8d57bdda54ae62ae049bb /system/dash/ulimit-dash-r.patch | |
parent | f441488dd1040792617e6231bb38238c0f9057fe (diff) | |
download | packages-1e22a0733e5969aed017e75ee44c7a4ba93a980d.tar.gz packages-1e22a0733e5969aed017e75ee44c7a4ba93a980d.tar.bz2 packages-1e22a0733e5969aed017e75ee44c7a4ba93a980d.tar.xz packages-1e22a0733e5969aed017e75ee44c7a4ba93a980d.zip |
system/dash: Update to 0.5.12
Diffstat (limited to 'system/dash/ulimit-dash-r.patch')
-rw-r--r-- | system/dash/ulimit-dash-r.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/system/dash/ulimit-dash-r.patch b/system/dash/ulimit-dash-r.patch new file mode 100644 index 000000000..48111f16d --- /dev/null +++ b/system/dash/ulimit-dash-r.patch @@ -0,0 +1,33 @@ +From 4bdefd16c6ea4b5b7c2b4dc2fccf5226401e13b7 Mon Sep 17 00:00:00 2001 +From: Vincent Lefevre <vincent@vinc17.net> +Date: Fri, 16 Dec 2022 18:20:19 +0100 +Subject: builtin: Actually accept ulimit -r + +The original commit that added it supposes this works, but it only adds +it to the ulimit -a listing and the manual, but doesn't allow it as an +option. + +Fixes: 46abc8c6d8a5 ("[BUILTIN] Add support for ulimit -r") +Link: https://bugs.debian.org/975326 +Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> +--- + src/miscbltin.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/miscbltin.c b/src/miscbltin.c +index 5ccbbcb..e553f9e 100644 +--- a/src/miscbltin.c ++++ b/src/miscbltin.c +@@ -440,6 +440,9 @@ ulimitcmd(int argc, char **argv) + #endif + #ifdef RLIMIT_LOCKS + "w" ++#endif ++#ifdef RLIMIT_RTPRIO ++ "r" + #endif + )) != '\0') + switch (optc) { +-- +cgit + |