diff options
Diffstat (limited to 'include/net/sock.h')
| -rw-r--r-- | include/net/sock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 8338a14e4805..21569cf456ed 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
| @@ -2255,6 +2255,11 @@ int sock_get_timestampns(struct sock *, struct timespec __user *); | |||
| 2255 | int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, int level, | 2255 | int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, int level, |
| 2256 | int type); | 2256 | int type); |
| 2257 | 2257 | ||
| 2258 | bool sk_ns_capable(const struct sock *sk, | ||
| 2259 | struct user_namespace *user_ns, int cap); | ||
| 2260 | bool sk_capable(const struct sock *sk, int cap); | ||
| 2261 | bool sk_net_capable(const struct sock *sk, int cap); | ||
| 2262 | |||
| 2258 | /* | 2263 | /* |
| 2259 | * Enable debug/info messages | 2264 | * Enable debug/info messages |
| 2260 | */ | 2265 | */ |
