diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /shell/shell_common.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r-- | shell/shell_common.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c index c7b5b6122..75f4b3e54 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -286,6 +286,12 @@ static const struct limits limits_tbl[] = { | |||
286 | #ifdef RLIMIT_LOCKS | 286 | #ifdef RLIMIT_LOCKS |
287 | { RLIMIT_LOCKS, 0, 'w', "locks" }, | 287 | { RLIMIT_LOCKS, 0, 'w', "locks" }, |
288 | #endif | 288 | #endif |
289 | #ifdef RLIMIT_NICE | ||
290 | { RLIMIT_NICE, 0, 'e', "scheduling priority" }, | ||
291 | #endif | ||
292 | #ifdef RLIMIT_RTPRIO | ||
293 | { RLIMIT_RTPRIO, 0, 'r', "real-time priority" }, | ||
294 | #endif | ||
289 | }; | 295 | }; |
290 | 296 | ||
291 | enum { | 297 | enum { |
@@ -328,6 +334,12 @@ static const char ulimit_opt_string[] = "-HSa" | |||
328 | #ifdef RLIMIT_LOCKS | 334 | #ifdef RLIMIT_LOCKS |
329 | "w::" | 335 | "w::" |
330 | #endif | 336 | #endif |
337 | #ifdef RLIMIT_NICE | ||
338 | "e::" | ||
339 | #endif | ||
340 | #ifdef RLIMIT_RTPRIO | ||
341 | "r::" | ||
342 | #endif | ||
331 | ; | 343 | ; |
332 | 344 | ||
333 | #if ENABLE_PLATFORM_MINGW32 | 345 | #if ENABLE_PLATFORM_MINGW32 |