diff options
author | Eric Paris <eparis@redhat.com> | 2011-03-03 22:09:14 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-03-03 22:12:28 +0100 |
commit | 026eb167ae77244458fa4b4b9fc171209c079ba7 (patch) | |
tree | 1e66fcfeb0b43a6fb764e1d07f8f0200d0c99094 /security/security.c | |
parent | LSM: Pass -o remount options to the LSM (diff) | |
download | linux-026eb167ae77244458fa4b4b9fc171209c079ba7.tar.xz linux-026eb167ae77244458fa4b4b9fc171209c079ba7.zip |
SELinux: implement the new sb_remount LSM hook
For SELinux we do not allow security information to change during a remount
operation. Thus this hook simply strips the security module options from
the data and verifies that those are the same options as exist on the
current superblock.
Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions