]> git.baikalelectronics.ru Git - kernel.git/commit
TOMOYO: Fix domain transition failure warning.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 27 Sep 2011 02:48:53 +0000 (11:48 +0900)
committerJames Morris <jmorris@namei.org>
Wed, 28 Sep 2011 01:53:15 +0000 (11:53 +1000)
commitaadb781f999662e90a3236bd7a9420ae3df44f3c
tree387b90728d0a1657e94d530c81e69c9b197f1c1c
parent6bbf17cb87572408ab8fa4c28dd1ebca93cdbc88
TOMOYO: Fix domain transition failure warning.

Commit 0463a6b6 "TOMOYO: Add policy namespace support." introduced policy
namespace. But as of /sbin/modprobe is executed from initramfs/initrd, profiles
for target domain's namespace is not defined because /sbin/tomoyo-init is not
yet called.

Reported-by: Jamie Nguyen <jamie@tomoyolinux.co.uk>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/domain.c