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

Greg KH greg at kroah.com
Wed May 11 12:55:26 PDT 2011


On Wed, May 11, 2011 at 12:40:56PM -0400, Eric Paris wrote:
> On Wed, May 11, 2011 at 12:35 PM, Eric Paris <eparis at parisplace.org> wrote:
> > On Tue, May 10, 2011 at 6:34 PM, Greg KH <greg at kroah.com> 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.
> 
> I just committed the attached patch to my -next tree.
> 
> -Eric

> commit 0599ea55fd0a0fc3b647dbf1ade09f9c0ddd8c05
> Author: Greg Kroah-Hartman <gregkh at suse.de>
> Date:   Tue May 10 15:34:16 2011 -0700
> 
>     SELINUX: add /sys/fs/selinux mount point to put selinuxfs
>     
>     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.
>     
>     For selinuxfs, this mount point should be in /sys/fs/selinux/
>     
>     Cc: Stephen Smalley <sds at tycho.nsa.gov>
>     Cc: James Morris <jmorris at namei.org>
>     Cc: Eric Paris <eparis at parisplace.org>
>     Cc: Lennart Poettering <mzerqung at 0pointer.de>
>     Cc: Daniel J Walsh <dwalsh at redhat.com>
>     Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
>     [include kobject.h - Eric Paris]
>     [use selinuxfs_obj throughout - Eric Paris]

Many thanks for this, I appreciate it.

greg k-h


More information about the systemd-devel mailing list