diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 1cd8526cb0b7..133bc9915f18 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -1473,6 +1473,7 @@ void security_inet_conn_established(struct sock *sk, | |||
1473 | { | 1473 | { |
1474 | call_void_hook(inet_conn_established, sk, skb); | 1474 | call_void_hook(inet_conn_established, sk, skb); |
1475 | } | 1475 | } |
1476 | EXPORT_SYMBOL(security_inet_conn_established); | ||
1476 | 1477 | ||
1477 | int security_secmark_relabel_packet(u32 secid) | 1478 | int security_secmark_relabel_packet(u32 secid) |
1478 | { | 1479 | { |
@@ -1528,6 +1529,27 @@ int security_tun_dev_open(void *security) | |||
1528 | } | 1529 | } |
1529 | EXPORT_SYMBOL(security_tun_dev_open); | 1530 | EXPORT_SYMBOL(security_tun_dev_open); |
1530 | 1531 | ||
1532 | int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) | ||
1533 | { | ||
1534 | return call_int_hook(sctp_assoc_request, 0, ep, skb); | ||
1535 | } | ||
1536 | EXPORT_SYMBOL(security_sctp_assoc_request); | ||
1537 | |||
1538 | int security_sctp_bind_connect(struct sock *sk, int optname, | ||
1539 | struct sockaddr *address, int addrlen) | ||
1540 | { | ||
1541 | return call_int_hook(sctp_bind_connect, 0, sk, optname, | ||
1542 | address, addrlen); | ||
1543 | } | ||
1544 | EXPORT_SYMBOL(security_sctp_bind_connect); | ||
1545 | |||
1546 | void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, | ||
1547 | struct sock *newsk) | ||
1548 | { | ||
1549 | call_void_hook(sctp_sk_clone, ep, sk, newsk); | ||
1550 | } | ||
1551 | EXPORT_SYMBOL(security_sctp_sk_clone); | ||
1552 | |||
1531 | #endif /* CONFIG_SECURITY_NETWORK */ | 1553 | #endif /* CONFIG_SECURITY_NETWORK */ |
1532 | 1554 | ||
1533 | #ifdef CONFIG_SECURITY_INFINIBAND | 1555 | #ifdef CONFIG_SECURITY_INFINIBAND |