All of lore.kernel.org
 help / color / mirror / Atom feed
* Suppressing selinux label getxattrs on FUSE
@ 2012-03-06 11:51 Han-Wen Nienhuys
  2012-03-06 13:07 ` Christopher J. PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: Han-Wen Nienhuys @ 2012-03-06 11:51 UTC (permalink / raw)
  To: selinux

Hi there,

What is the best way to stop to SELinux from trying read ACL security
labels for (FUSE) mounts?

Background:

>From what I read, Selinux is not really working on FUSE filesystems,
however, when I run a FUSE filesystem, I see various GETXATTR calls
passing by asking for

security.capability
system.posix_acl_default
system.posix_acl_access

In the most common use case, it is the user that runs the FUSE daemon,
and the mount is only visible to him.  In this case, inspection of
security/access labels haves no sense at all. Since the calls have
overhead (each one requires a context switch, costing about 10us), I
would like to suppress them.

-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

--
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] 3+ messages in thread

end of thread, other threads:[~2012-03-06 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 11:51 Suppressing selinux label getxattrs on FUSE Han-Wen Nienhuys
2012-03-06 13:07 ` Christopher J. PeBenito
2012-03-06 15:31   ` Han-Wen Nienhuys

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.