aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/objsec.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-26 18:46:39 -0400
committerJames Morris <jmorris@namei.org>2008-04-18 06:26:10 -0400
commit0356357c5158c71d4cbf20196b2f784435dd916c (patch)
treee680a4d0346286d2c318bb20914cceabc0596af1 /security/selinux/include/objsec.h
parenteda4f69ca5a532b425db5a6c2c6bc50717b9b5fe (diff)
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>
Diffstat (limited to 'security/selinux/include/objsec.h')
-rw-r--r--security/selinux/include/objsec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h
index 020a8754b809..957b10d0f76f 100644
--- a/security/selinux/include/objsec.h
+++ b/security/selinux/include/objsec.h
@@ -34,7 +34,6 @@ struct task_security_struct {
34 u32 create_sid; /* fscreate SID */ 34 u32 create_sid; /* fscreate SID */
35 u32 keycreate_sid; /* keycreate SID */ 35 u32 keycreate_sid; /* keycreate SID */
36 u32 sockcreate_sid; /* fscreate SID */ 36 u32 sockcreate_sid; /* fscreate SID */
37 u32 ptrace_sid; /* SID of ptrace parent */
38}; 37};
39 38
40struct inode_security_struct { 39struct inode_security_struct {