Re: [patch][selinux] Fix clearing of new personality bit on security transitions

From: Ingo Molnar
Date: Wed Jul 28 2004 - 03:02:17 EST



* Stephen Smalley <sds@xxxxxxxxxxxxxx> wrote:

> This patch against 2.6.8-rc2-bk6 moves the clearing of the new
> personality bit from selinux_bprm_apply_creds (called from
> compute_creds) to selinux_bprm_set_security (called from
> prepare_binprm). This ensures that the bit is cleared at the same point
> in exec processing as for setuid/setgid binaries, prior to setting up
> the new image. Please apply.
>
> Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxxx>

yeah, thanks for the fix.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
-
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/