summaryrefslogtreecommitdiff
path: root/include/net/inet_common.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2021-03-16 11:06:23 +0300
committerMaxime Ripard <maxime@cerno.tech>2021-03-16 11:06:23 +0300
commitf8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5 (patch)
tree474c8fb8df9797b6e0d1e562b389f575c24afc50 /include/net/inet_common.h
parentccf953d8f3d68e85e577e843fdcde8872b0a9769 (diff)
parent51c3b916a4d7e24b4918925965867fdd9bd8dd59 (diff)
downloadlinux-f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5.tar.xz
Merge drm/drm-next into drm-misc-next
Noralf needs some patches in 5.12-rc3, and we've been delaying the 5.12 merge due to the swap issue so it looks like a good time. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'include/net/inet_common.h')
-rw-r--r--include/net/inet_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h
index cb2818862919..cad2a611efde 100644
--- a/include/net/inet_common.h
+++ b/include/net/inet_common.h
@@ -41,6 +41,8 @@ int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
#define BIND_WITH_LOCK (1 << 1)
/* Called from BPF program. */
#define BIND_FROM_BPF (1 << 2)
+/* Skip CAP_NET_BIND_SERVICE check. */
+#define BIND_NO_CAP_NET_BIND_SERVICE (1 << 3)
int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
u32 flags);
int inet_getname(struct socket *sock, struct sockaddr *uaddr,