Re: [PATCH] SELinux - support mls categories for context mounts
From: Andrew Morton
Date: Thu Sep 28 2006 - 15:46:24 EST
On Thu, 28 Sep 2006 15:30:53 -0400 (EDT)
James Morris <jmorris@xxxxxxxxx> wrote:
> This patch allows commas to be embedded into context mount options (i.e.
> "-o context=some_selinux_context_t"), to better support multiple
> categories, which are separated by commas and confuse mount.
> For example, with the current code:
> mount -t iso9660 /dev/cdrom /media/cdrom -o \
> The context option that will be interpreted by SELinux is
> instead of
> The options that will be passed on to the file system will be
> The proposed solution is to allow/require the SELinux context option
> specified to mount to use quotes when the context contains a comma.
None of this seems to be documented anywhere. I expect the people who
actually work on this stuff make a pretty tight group, but...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/