libfuse: pass security context options to kernel
authorDalvik Khertel <khertel@outlook.com>
Thu, 9 Aug 2012 12:48:20 +0000 (12:48 +0000)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 20 Jun 2016 19:49:36 +0000 (12:49 -0700)
commit9448849b568bf430950463fb70dab81a139b29bd
treebc4dd71cda59043f9f8c05e9f76aba5f01cd64ac
parentc47dde86c0dd3dc6c5cbc7f8df5e77d534c85710
libfuse: pass security context options to kernel

Mount can be used with an "-o context=" option in order to specify a
mountpoint-wide SELinux security context different from the default context
provided by the active SELinux policy.

This is useful in order to enable users to mount multiple sshfs targets under
distinct contexts, which is my main motivation for getting this patch mainlined.

Closes: #36
ChangeLog
lib/mount.c