All of lore.kernel.org
 help / color / mirror / Atom feed
* FUSE and SELinux labeling
@ 2011-05-15 14:40 Sam Gandhi
  2011-05-15 15:36 ` Dominick Grift
  2011-05-16  1:03 ` Dave Quigley
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Gandhi @ 2011-05-15 14:40 UTC (permalink / raw)
  To: selinux

Hi


Is there a FAQ or some description on what one needs to do to enable
labeling on files created under a fuse filesystem?

When I mount my fuse file system I see message like

SELinux: initialized (dev fuse, type fuse), not configured for labeling

Now if I use statement such as shown below in my SELinux policy before
loading it I don't see those messages

fs_use_xattr fuse system_u:object_r:fs_t;

But then when I try to mount fuse file system using simple fuse hello
program as hello /tmp/foo, I see message:

SELinux: (dev fuse, type fuse) getxattr errno 4 on console and my system hangs!


( Has anybody been successful in adding the SELinux labels to file
created  by fuse? I have search both fuse and SElinux mailing list,
also done bit of google search and nothing comes up , either this is
way too simple thing to do and I am missing obvious thing)

Would appreciate any help.

( I had sent message earlier to fuse-devel, but didn't cross-post it
to SELinux )
-Sam

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-17 13:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15 14:40 FUSE and SELinux labeling Sam Gandhi
2011-05-15 15:36 ` Dominick Grift
2011-05-16  0:47   ` Sam Gandhi
2011-05-16  5:55     ` Dominick Grift
2011-05-17  7:02     ` Daniel J Walsh
2011-05-17 13:12     ` Stephen Smalley
2011-05-16  1:03 ` Dave Quigley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.