summaryrefslogtreecommitdiffstats
path: root/fs/lockd/xdr.c
diff options
context:
space:
mode:
authorKees Cook <kees.cook@canonical.com>2009-09-23 01:45:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 16:39:40 +0200
commitcff4edb591c153a779a27a3fd8e7bc1217f2f6b8 (patch)
tree664f2a20cd0ae38ef06a2f8cc59e5ffca13e5d8b /fs/lockd/xdr.c
parentsdhci: increase timeout for internal clock stabilization. (diff)
downloadlinux-cff4edb591c153a779a27a3fd8e7bc1217f2f6b8.tar.xz
linux-cff4edb591c153a779a27a3fd8e7bc1217f2f6b8.zip
proc: fix reported unit for RLIMIT_CPU
/proc/$pid/limits should show RLIMIT_CPU as seconds, which is the unit used in kernel/posix-cpu-timers.c: unsigned long psecs = cputime_to_secs(ptime); ... if (psecs >= sig->rlim[RLIMIT_CPU].rlim_max) { ... __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk); Signed-off-by: Kees Cook <kees.cook@canonical.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/lockd/xdr.c')
0 files changed, 0 insertions, 0 deletions