summaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2009-10-04 14:49:49 +0200
committerJames Morris <jmorris@namei.org>2009-10-12 01:56:03 +0200
commita27ab9f26b729326778271c1efd895aef4fda1c4 (patch)
tree7a8ff136c359603d79b45850c5fd1cdbd2f3b92f /kernel/capability.c
parentLSM: Add security_path_chroot(). (diff)
downloadlinux-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