diff options
author | Roland McGrath <roland@redhat.com> | 2008-03-26 23:46:39 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-04-18 12:26:10 +0200 |
commit | 0356357c5158c71d4cbf20196b2f784435dd916c (patch) | |
tree | e680a4d0346286d2c318bb20914cceabc0596af1 /security/selinux/include/objsec.h | |
parent | SELinux: requesting no permissions in avc_has_perm_noaudit is a BUG() (diff) | |
download | linux-0356357c5158c71d4cbf20196b2f784435dd916c.tar.xz linux-0356357c5158c71d4cbf20196b2f784435dd916c.zip |
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.h | 1 |
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 { u32 create_sid; /* fscreate SID */ u32 keycreate_sid; /* keycreate SID */ u32 sockcreate_sid; /* fscreate SID */ - u32 ptrace_sid; /* SID of ptrace parent */ }; struct inode_security_struct { |