libfuse: pass security context options to kernel
commitc52cafc81ced83fbd5cc7edf4ef5f7cb57b82729
authorDalvik Khertel <khertel@outlook.com>
Thu, 9 Aug 2012 12:48:20 +0000 (9 12:48 +0000)
committerMiklos Szeredi <mszeredi@suse.cz>
Fri, 8 Feb 2013 07:03:01 +0000 (8 08:03 +0100)
tree293c3c08aed6fee27283daefe9bfc32801240491
parentc66e7f4e71a10e0a06d903d11acad8cc6b99c16a
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.
ChangeLog
lib/mount.c