[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-audit
Subject:    Re: [RFC][PATCH] (version 2) Introduce /proc/$$/loginuid
From:       David Woodhouse <dwmw2 () infradead ! org>
Date:       2005-01-18 13:50:35
Message-ID: 1106056235.26551.399.camel () hades ! cambridge ! redhat ! com
[Download RAW message or body]

On Mon, 2005-01-17 at 12:31 -0600, Serge Hallyn wrote:
> --- linux-2.6.11-rc1-bk5.orig/init/main.c       2005-01-17
> 12:07:24.000000000 -0600
> +++ linux-2.6.11-rc1-bk5/init/main.c    2005-01-17 12:08:32.000000000
> -0600
> @@ -674,6 +674,8 @@ static int init(void * unused)
>         free_initmem();
>         unlock_kernel();
>  
> +       current->loginuid = -1;
> +
>         system_state = SYSTEM_RUNNING;
>         numa_default_policy();

Shouldn't this go into include/linux/init_task.h instead? And perhaps be
in the previous patch (audit-loginuid-into-taskstruct) instead of this
one?

-- 
dwmw2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic