commit | 026eb167ae77244458fa4b4b9fc171209c079ba7 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Mar 03 16:09:14 2011 -0500 |
committer | Eric Paris <eparis@redhat.com> | Thu Mar 03 16:12:28 2011 -0500 |
tree | 1e66fcfeb0b43a6fb764e1d07f8f0200d0c99094 | |
parent | ff36fe2c845cab2102e4826c1ffa0a6ebf487c65 [diff] |
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>