diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/dash.1 | 2 | ||||
-rw-r--r-- | src/miscbltin.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c84aa7e..d84d3b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-09 Christoph Mathys <eraserix@gmail.com> + + * Add support for ulimit -r. + 2012-03-11 Jim Meyering <meyering@redhat.com> * Avoid overflow for very long variable name. diff --git a/src/dash.1 b/src/dash.1 index 3847d98..a9cb491 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -2163,6 +2163,8 @@ show or set the limit on the number of processes this user can have at one time .It Fl n show or set the limit on the number files a process can have open at once +.It Fl r +show or set the limit on the real-time scheduling priority of a process .El .Pp If none of these is specified, it is the limit on file size that is shown diff --git a/src/miscbltin.c b/src/miscbltin.c index e354df4..b596fd2 100644 --- a/src/miscbltin.c +++ b/src/miscbltin.c @@ -392,6 +392,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' } }; |