TOMOYO: Don't create securityfs entries unless registered.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 14 Feb 2009 02:46:56 +0000 (11:46 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 15 Feb 2009 22:01:48 +0000 (09:01 +1100)
commite5a3b95f581da62e2054ef79d3be2d383e9ed664
tree6a55bf40033c92b2c82fa0643c2511dbe7124b32
parent33043cbb9fd49a957089f5948fe814764d7abbd6
TOMOYO: Don't create securityfs entries unless registered.

TOMOYO should not create /sys/kernel/security/tomoyo/ interface unless
TOMOYO is registered.

Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Toshiharu Harada <haradats@nttdata.co.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c