mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +00:00
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 <serue@us.ibm.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
2cbbd19812
commit
5c4054ccfa
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user