]> git.hungrycats.org Git - linux/commit
[PATCH] SELinux: retain ptracer SID across fork
authorStephen D. Smalley <sds@epoch.ncsc.mil>
Wed, 13 Oct 2004 14:27:58 +0000 (07:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 13 Oct 2004 14:27:58 +0000 (07:27 -0700)
commit5334d6a190f651ce4992ed2923305e15e6345eb4
treecdcec243fec8e2ac00710fc1bfa084c1d635d40d
parentb9877c907d56b803b5b0241c2465ce768809fce9
[PATCH] SELinux: retain ptracer SID across fork

This fixes a bug in SELinux to retain the ptracer SID (if any) across fork.
Otherwise, SELinux will always deny attempts by traced children to exec
domain-changing programs even if the policy would have allowed the tracer
to trace the new domains as well.

Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c