diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2009-10-04 14:49:49 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-10-12 01:56:03 +0200 |
commit | a27ab9f26b729326778271c1efd895aef4fda1c4 (patch) | |
tree | 7a8ff136c359603d79b45850c5fd1cdbd2f3b92f /kernel/capability.c | |
parent | LSM: Add security_path_chroot(). (diff) | |
download | linux-a27ab9f26b729326778271c1efd895aef4fda1c4.tar.xz linux-a27ab9f26b729326778271c1efd895aef4fda1c4.zip |
LSM: Pass original mount flags to security_sb_mount().
This patch allows LSM modules to determine based on original mount flags
passed to mount(). A LSM module can get masked mount flags (if needed) by
flags &= ~(MS_NOSUID | MS_NOEXEC | MS_NODEV | MS_ACTIVE |
MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT |
MS_STRICTATIME);
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions