diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
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 | ||
1361 | int security_socket_socketpair(struct socket *socka, struct socket *sockb) | ||
1362 | { | ||
1363 | return call_int_hook(socket_socketpair, 0, socka, sockb); | ||
1364 | } | ||
1365 | EXPORT_SYMBOL(security_socket_socketpair); | ||
1366 | |||
1361 | int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) | 1367 | int 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); |