]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: remove ptrace_sid
authorRoland McGrath <roland@redhat.com>
Wed, 26 Mar 2008 22:46:39 +0000 (15:46 -0700)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 10:26:10 +0000 (20:26 +1000)
commit41212af8525b7b3b696e8265bade21e05c9fef78
treee680a4d0346286d2c318bb20914cceabc0596af1
parent6fb5eb62c56bdf7a21e76171a0fbe0dfbfd58d9b
selinux: remove ptrace_sid

This changes checks related to ptrace to get rid of the ptrace_sid tracking.
It's good to disentangle the security model from the ptrace implementation
internals.  It's sufficient to check against the SID of the ptracer at the
time a tracee attempts a transition.

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c
security/selinux/include/objsec.h