]> git.baikalelectronics.ru Git - kernel.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)
commit342272fcdc4eaae40fe5eac32fb149ba3573e890
tree559270d71bd6e920bc39a8af360b54fb5753984d
parent4c74660cb219efb9273010729b85be6cef05ef61
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