selinux/libselinux
Stephen Smalley 5a8d8c499b libselinux: only mount /proc if necessary
Commit 9df4988846 ("libselinux: Mount procfs before checking
/proc/filesystems") changed selinuxfs_exists() to always try
mounting /proc before reading /proc/filesystems.  However, this is
unnecessary if /proc is already mounted and can produce avc denials
if the process is not allowed to perform the mount.  Check first
to see if /proc is already present and only try the mount if it is not.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2016-02-29 10:27:48 -05:00
..
include libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
man libselinux: selinux_restorecon.3 man page corrections. 2016-02-22 10:14:42 -05:00
src libselinux: only mount /proc if necessary 2016-02-29 10:27:48 -05:00
utils libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
ChangeLog Updated libselinux ChangeLog. 2016-02-24 16:13:00 -05:00
LICENSE
Makefile libselinux: Refactor rpm_execcon() into a new setexecfilecon() 2014-01-06 14:06:03 -05:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00