Displaying 1 result from an estimated 1 matches for "rlimit_locks".
Did you mean:
limitlocks
2012 Oct 01
0
[klibc:master] [BUILTIN] Add support for ulimit -r
...;
---
usr/dash/miscbltin.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/usr/dash/miscbltin.c b/usr/dash/miscbltin.c
index 8be613a..09282be 100644
--- a/usr/dash/miscbltin.c
+++ b/usr/dash/miscbltin.c
@@ -447,6 +447,9 @@ static const struct limits limits[] = {
#ifdef RLIMIT_LOCKS
{ "locks", RLIMIT_LOCKS, 1, 'w' },
#endif
+#ifdef RLIMIT_RTPRIO
+ { "rtprio", RLIMIT_RTPRIO, 1, 'r' },
+#endif
{ (char *) 0, 0, 0, '\0' }
};