proc: add RLIMIT_RTTIME to /proc/<pid>/limits
authorEugene Teo <eugeneteo@kernel.sg>
Sat, 23 Feb 2008 23:23:52 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:12:15 +0000 (17:12 -0800)
commit8808117ca571fd63e188a2306baae86cca9fce7a
tree2cccec386bb732f0a14378dac298846f40fd691d
parent45254b4fb2aef51c94a7397df1e481c4137b4b97
proc: add RLIMIT_RTTIME to /proc/<pid>/limits

RLIMIT_RTTIME was introduced to allow the user to set a runtime timeout on
real-time tasks: http://lkml.org/lkml/2007/12/18/218. This patch updates
/proc/<pid>/limits with the new rlimit.

Signed-off-by: Eugene Teo <eugeneteo@kernel.sg>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c