lkml.org 
[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [TOMOYO #15 0/8] TOMOYO Linux
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>


\
 
 \ /
  Last update: 2009-02-14 02:51    [W:0.152 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site