Re: fuse and selinux don't seem to work well together

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-07-26 at 16:15 -0500, Xavier Toth wrote:
> Pursuant to Steve's wishes to not require policy changes for new fuse
> filesystems that support xattrs:
> 
<Snip>
> >
> > The 'right' solution (I think) is going to be 2 parts.  First we need
> > to get more information in the superblock mounting.  I seem to recall
> > that the only information we had was that it was 'fuse.'  Not that is
> > was fuse mounting ntfs.
> 
> It appear that the superblock contains s_type->name and s_subtype
> which should tell you that it is for example an fuse.ntfs mount.

The is true but as my earlier email mentioned s_subtype isn't set when
we need it to be. This is set after the vfs_do_kern_mnt call (or whateve
it was called). get_fs_type will grab fuse from fuse.ntfs and
get_fs_subtype will grab the ntfs portion of the fstype.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux