]> git.baikalelectronics.ru Git - kernel.git/commit
TOMOYO: Fix incorrect enforce mode.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 25 Aug 2011 12:15:00 +0000 (21:15 +0900)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:08:48 +0000 (16:08 -0700)
commit2b672ebf303330633f637c7aa41b5c25eb99f055
tree9965e2ceb8fbb7ffaec131eb7c1963f9a32e1c0c
parentc2eabb4942a4355ba6c0be19e1c76a3897f1b292
TOMOYO: Fix incorrect enforce mode.

In tomoyo_get_mode() since 2.6.36, CONFIG::file::execute was by error used in
place of CONFIG::file if CONFIG::file::execute was set to other than default.
As a result, enforcing mode was not applied in a way documentation says.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/util.c