[PATCH] proc: show personality via /proc/pid/personality
commit478307230810d7e2a753ed220db9066dfdf88718
authorKees Cook <kees.cook@canonical.com>
Sun, 5 Oct 2008 23:11:58 +0000 (6 03:11 +0400)
committerAlexey Dobriyan <adobriyan@gmail.com>
Fri, 10 Oct 2008 00:18:57 +0000 (10 04:18 +0400)
tree7cb8bfebc5a0a7c043bdfda5675ddb526da1af34
parenta6bebbc87a8c16eabb6bd5c6fd2d994be0236fba
[PATCH] proc: show personality via /proc/pid/personality

Make process personality flags visible in /proc.  Since a process's
personality is potentially sensitive (e.g. READ_IMPLIES_EXEC), make this
file only readable by the process owner.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
fs/proc/base.c