diff options
Diffstat (limited to 'security/dummy.c')
-rw-r--r-- | security/dummy.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/security/dummy.c b/security/dummy.c index f1a5bd98bf10..a326d6e0b6d7 100644 --- a/security/dummy.c +++ b/security/dummy.c | |||
@@ -763,8 +763,14 @@ static int dummy_socket_sock_rcv_skb (struct sock *sk, struct sk_buff *skb) | |||
763 | return 0; | 763 | return 0; |
764 | } | 764 | } |
765 | 765 | ||
766 | static int dummy_socket_getpeersec(struct socket *sock, char __user *optval, | 766 | static int dummy_socket_getpeersec_stream(struct socket *sock, char __user *optval, |
767 | int __user *optlen, unsigned len) | 767 | int __user *optlen, unsigned len) |
768 | { | ||
769 | return -ENOPROTOOPT; | ||
770 | } | ||
771 | |||
772 | static int dummy_socket_getpeersec_dgram(struct sk_buff *skb, char **secdata, | ||
773 | u32 *seclen) | ||
768 | { | 774 | { |
769 | return -ENOPROTOOPT; | 775 | return -ENOPROTOOPT; |
770 | } | 776 | } |