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>
Showing
- fs/namespace.c 11 additions, 3 deletionsfs/namespace.c
- include/linux/security.h 9 additions, 0 deletionsinclude/linux/security.h
- security/dummy.c 6 additions, 0 deletionssecurity/dummy.c
- security/security.c 5 additions, 0 deletionssecurity/security.c
- security/selinux/hooks.c 54 additions, 1 deletionsecurity/selinux/hooks.c
Loading
Please register or sign in to comment