Re: [PATCH] split bprm_apply_creds into two functions

From: Stephen Smalley
Date: Tue Jan 04 2005 - 17:27:21 EST


On Tue, 2005-01-04 at 13:30, Serge E. Hallyn wrote:
> The following patch splits bprm_apply_creds into two functions,
> bprm_apply_creds and bprm_post_apply_creds. The latter is called
> after the task_lock has been dropped. Without this patch, SELinux
> must drop the task_lock and re-acquire it during apply_creds, making
> the 'unsafe' flag meaningless to any later security modules. Please
> apply.
>
> thanks,
> -serge
>
> Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>

Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxxx>

--
Stephen Smalley <sds@xxxxxxxxxxxxxx>
National Security Agency

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/