[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [RFC][PATCH] (version 2) Introduce /proc/$$/loginuid



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]