]> err.no Git - linux-2.6/commit
[PATCH] selinux: tracer SID fix
authorStephen Smalley <sds@tycho.nsa.gov>
Sat, 11 Mar 2006 11:27:16 +0000 (03:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:34 +0000 (09:19 -0800)
commit341c2d806b71cc3596afeb2d9bd26cd718e75202
tree851a5b5cab5b836c8021bdac89a9a257887ede69
parent4136cabff33d6d73b8daf2f2612670cc0296f844
[PATCH] selinux: tracer SID fix

Fix SELinux to not reset the tracer SID when the child is already being
traced, since selinux_ptrace is also called by proc for access checking
outside of the context of a ptrace attach.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c