TOMOYO: Allow reading only execute permission.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 24 Jun 2010 03:00:25 +0000 (12:00 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:34:44 +0000 (15:34 +1000)
commit063821c8160568b3390044390c8328e36c5696ad
tree68a61753cdc6b0edaf0358eebdea8c20aaa713b1
parent475e6fa3d340e75a454ea09191a29e52e2ee6e71
TOMOYO: Allow reading only execute permission.

Policy editor needs to know allow_execute entries in order to build domain
transition tree. Reading all entries is slow. Thus, allow reading only
allow_execute entries.

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