diff options
| author | James Morris <[email protected]> | 2009-01-29 01:34:53 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-01-29 21:55:15 +0000 |
| commit | 5c4054ccfafb6a446e9b65c524af1741656c6c60 (patch) | |
| tree | 6d54e11d617e4daf53c3afc5c1edb321b32d9315 /security/selinux/hooks.c | |
| parent | selinux: remove secondary ops call to task_kill (diff) | |
| download | kernel-5c4054ccfafb6a446e9b65c524af1741656c6c60.tar.gz kernel-5c4054ccfafb6a446e9b65c524af1741656c6c60.zip | |
selinux: remove secondary ops call to unix_stream_connect
Remove secondary ops call to unix_stream_connect, which is
a noop in capabilities.
Acked-by: Serge Hallyn <[email protected]>
Acked-by: Eric Paris <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 0bd36a17587c..25198e9896fa 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -3997,10 +3997,6 @@ static int selinux_socket_unix_stream_connect(struct socket *sock, struct avc_audit_data ad; int err; - err = secondary_ops->unix_stream_connect(sock, other, newsk); - if (err) - return err; - isec = SOCK_INODE(sock)->i_security; other_isec = SOCK_INODE(other)->i_security; |
