Skip to contentSkip to conversation

fuse and selinux

DISCUSSION Luke Kenneth Casson Leighton 1 participant 1 message Sep 28, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

ah ha! a week ago i asked on the list if there was anything "special" that i might have to do in order to get fuse to work with selinux.

1) add xattrs (done)
2) write an selinux policy for fusexmp (doing)
3) add a type for "fuse" to fs_use....

it was 3) that i was conceptually missing... and having added "fs_use_xattr fuse system_u:object_r:fs_t" to fs_use, i now find that i get:

SELinux: (dev fuse, type fuse) getxattr errno 512

... what's _that_ all about?

btw if i don't do this, i end up with the root of the fuse filesystem being marked unlabeled_t [and i cannot set it either, due to the way that the fuse kernel module locks out all other users, it even locks out _root_ from accessing a mount point]

l.

Signature · 13 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


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