commit | a27ab9f26b729326778271c1efd895aef4fda1c4 | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Sun Oct 04 21:49:49 2009 +0900 |
committer | James Morris <jmorris@namei.org> | Mon Oct 12 10:56:03 2009 +1100 |
tree | 7a8ff136c359603d79b45850c5fd1cdbd2f3b92f | |
parent | 8b8efb44033c7e86b3dc76f825c693ec92ae30e9 [diff] |
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>