]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
proc: make /proc/pid/limits world readable
authorJiri Olsa <jolsa@redhat.com>
Thu, 30 Sep 2010 22:15:33 +0000 (15:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Oct 2010 17:50:59 +0000 (10:50 -0700)
commit3036e7b490bf7878c6dae952eec5fb87b1106589
tree559270d71bd6e920bc39a8af360b54fb5753984d
parentf015ac3edd84ad72f88e08a4d83c56c360aae404
proc: make /proc/pid/limits world readable

Having the limits file world readable will ease the task of system
management on systems where root privileges might be restricted.

Having admin restricted with root priviledges, he/she could not check
other users process' limits.

Also it'd align with most of the /proc stat files.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Cc: Eugene Teo <eugene@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c