]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revision 1.4 set access for all sensitive files in /proc/<PID> to mode 0
authorGuy Helmer <ghelmer@FreeBSD.org>
Wed, 24 May 2006 14:03:51 +0000 (14:03 +0000)
committerGuy Helmer <ghelmer@FreeBSD.org>
Wed, 24 May 2006 14:03:51 +0000 (14:03 +0000)
commite06dbd3229ad1841d5d972afe8deb6a98c6e77e9
treed5dbedfb6f0960d949d647332921bca8e6131d4a
parent6a7d5cb645017826bbfbf4df7e300a1a9e3dbb4a
Revision 1.4 set access for all sensitive files in /proc/<PID> to mode 0
if a process's uid or gid has changed, but the /proc/<PID> directory
itself was also set to mode 0.  Assuming this doesn't open any
security holes, open access to the /proc/<PID> directory for users
other than root to read or search the directory.

Reviewed by: des (back in February)
MFC after: 3 weeks
sys/fs/procfs/procfs.c