diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 0e993f42ce3d..f88eaf6b14cc 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -1117,6 +1117,24 @@ void security_inet_conn_established(struct sock *sk, | |||
1117 | security_ops->inet_conn_established(sk, skb); | 1117 | security_ops->inet_conn_established(sk, skb); |
1118 | } | 1118 | } |
1119 | 1119 | ||
1120 | int security_tun_dev_create(void) | ||
1121 | { | ||
1122 | return security_ops->tun_dev_create(); | ||
1123 | } | ||
1124 | EXPORT_SYMBOL(security_tun_dev_create); | ||
1125 | |||
1126 | void security_tun_dev_post_create(struct sock *sk) | ||
1127 | { | ||
1128 | return security_ops->tun_dev_post_create(sk); | ||
1129 | } | ||
1130 | EXPORT_SYMBOL(security_tun_dev_post_create); | ||
1131 | |||
1132 | int security_tun_dev_attach(struct sock *sk) | ||
1133 | { | ||
1134 | return security_ops->tun_dev_attach(sk); | ||
1135 | } | ||
1136 | EXPORT_SYMBOL(security_tun_dev_attach); | ||
1137 | |||
1120 | #endif /* CONFIG_SECURITY_NETWORK */ | 1138 | #endif /* CONFIG_SECURITY_NETWORK */ |
1121 | 1139 | ||
1122 | #ifdef CONFIG_SECURITY_NETWORK_XFRM | 1140 | #ifdef CONFIG_SECURITY_NETWORK_XFRM |