]> 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)
commit09d33a36434fb44be410ce37deae309b41237f69
tree9965e2ceb8fbb7ffaec131eb7c1963f9a32e1c0c
parent5e61f096913ac3c9431fe7b91620e5bd6c94ef2b
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