Re: [TOMOYO #15 0/8] TOMOYO Linux

James Morris
2009-02-14T01:48:52Z

On Fri, 13 Feb 2009, Tetsuo Handa wrote:

> Hello.
>
> I made a mistake when converting to use standard doubly linked list.
> Please apply this patch.
> ----------
> Subject: TOMOYO: Fix exception policy read failure.
>
> Due to wrong initialization, "cat /sys/kernel/security/tomoyo/exception_policy"
> returned nothing.
>
> 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>

Applied.

> ---
> security/tomoyo/domain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- security-testing-2.6.git.orig/security/tomoyo/domain.c
> +++ security-testing-2.6.git/security/tomoyo/domain.c
> @@ -376,7 +376,7 @@ int tomoyo_write_domain_keeper_policy(ch
> bool tomoyo_read_domain_keeper_policy(struct tomoyo_io_buffer *head)
> {
> struct list_head *pos;
> - bool done = false;
> + bool done = true;
>
> down_read(&tomoyo_domain_keeper_list_lock);
> list_for_each_cookie(pos, head->read_var2,
>

--
James Morris
<jmorris@namei.org>