[systemd-devel] [PATCH] SELINUX: add /sys/fs/selinux mount point to put selinuxfs

Kay Sievers kay.sievers at vrfy.org
Mon May 2 07:08:39 PDT 2011


On Mon, May 2, 2011 at 15:24, Stephen Smalley <sds at tycho.nsa.gov> wrote:
> On Fri, 2011-04-29 at 18:19 -0700, Greg KH wrote:
>> From: Greg Kroah-Hartman <gregkh at suse.de>
>>
>> In the interest of keeping userspace from having to create new root
>> filesystems all the time, let's follow the lead of the other in-kernel
>> filesystems and provide a proper mount point for it in sysfs.
>>
>> Note, patch is untested, I don't have any selinux-based machines here,
>> sorry.
>
> If I understand correctly, the patch won't change any userspace-visible
> behavior until one has a new libselinux that actually mounts selinuxfs
> on /sys/fs/selinux instead of /selinux, right?

For now it would be just another empty kernel /sys directory there, to
use when we are ready to switch userspace over.

Kay


More information about the systemd-devel mailing list