LSM/SELinux: show LSM mount options in /proc/mounts
authorEric Paris <eparis@redhat.com>
Thu, 3 Jul 2008 23:47:13 +0000 (09:47 +1000)
committerJames Morris <jmorris@namei.org>
Mon, 14 Jul 2008 05:02:05 +0000 (15:02 +1000)
This patch causes SELinux mount options to show up in /proc/mounts.  As
with other code in the area seq_put errors are ignored.  Other LSM's
will not have their mount options displayed until they fill in their own
security_sb_show_options() function.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found