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)
commit2069f457848f846cb31149c9aa29b330a6b66d1b
tree199e7bb15e7d7b5cf008cd6fdb6cefc0d6af7f13
parent811f3799279e567aa354c649ce22688d949ac7a9
LSM/SELinux: show LSM mount options in /proc/mounts

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>
fs/namespace.c
include/linux/security.h
security/dummy.c
security/security.c
security/selinux/hooks.c