selinux/libselinux
Eric Paris f057914941 check /proc/filesystems before /proc/mounts for selinuxfs
Al was complaining that he has selinux disabled and has 100,000+ mounts
in /proc/mounts.  Every time he runs ls the thing takes 5 seconds
because the libselinux constructor runs the entirety of his /proc/mounts
looking for selinuxfs, which doesn't exist.  Speed things up by first
checking for selinuxfs in /proc/filesystems, only if the fs is even
registered should we bother to run all of /proc/mounts.

Signed-off-by: Eric Paris <eparis@redhat.com>
2009-06-24 16:35:23 -04:00
..
include Author: Daniel J Walsh 2009-06-04 17:15:31 -04:00
man It is useful for userspace object manager, if libselinux has an 2009-04-07 22:48:01 -04:00
src check /proc/filesystems before /proc/mounts for selinuxfs 2009-06-24 16:35:23 -04:00
utils Author: Daniel J Walsh 2009-05-14 15:43:18 -04:00
ChangeLog bump libselinux to 2.0.82 and policycoreutils to 2.0.64 2009-06-22 11:32:27 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
VERSION bump libselinux to 2.0.82 and policycoreutils to 2.0.64 2009-06-22 11:32:27 -04:00