projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbbd19
)
selinux: remove secondary ops call to unix_stream_connect
author
James Morris
<jmorris@namei.org>
Thu, 29 Jan 2009 01:34:53 +0000
(12:34 +1100)
committer
James Morris
<jmorris@namei.org>
Thu, 29 Jan 2009 21:55:15 +0000
(08:55 +1100)
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>
security/selinux/hooks.c
patch
|
blob
|
blame
|
history
diff --git
a/security/selinux/hooks.c
b/security/selinux/hooks.c
index 0bd36a17587c896eb024605c18b3dd7cf69083d5..25198e9896fae3984ee84133dc8e597f67e601d7 100644
(file)
--- 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;