TOMOYO: Simplify policy reader.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 2 Jun 2009 11:42:24 +0000 (20:42 +0900)
committerJames Morris <jmorris@namei.org>
Tue, 2 Jun 2009 21:51:51 +0000 (07:51 +1000)
commit7d2948b1248109dbc7f4aaf9867c54b1912d494c
tree24edc8fa319598bc32b7d53c7b61fb3ec9ae9e92
parentab588ccadc80f6ef5495e83e176e88c5c0fc2d0e
TOMOYO: Simplify policy reader.

We can directly assign the result of tomoyo_io_printf() to done flag.

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
security/tomoyo/domain.c
security/tomoyo/file.c