aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c
index 7bc2fde023a7..68f46d849abe 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1358,6 +1358,12 @@ int security_socket_post_create(struct socket *sock, int family,
1358 protocol, kern); 1358 protocol, kern);
1359} 1359}
1360 1360
1361int security_socket_socketpair(struct socket *socka, struct socket *sockb)
1362{
1363 return call_int_hook(socket_socketpair, 0, socka, sockb);
1364}
1365EXPORT_SYMBOL(security_socket_socketpair);
1366
1361int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) 1367int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen)
1362{ 1368{
1363 return call_int_hook(socket_bind, 0, sock, address, addrlen); 1369 return call_int_hook(socket_bind, 0, sock, address, addrlen);