When creating a raw PF_BLUETOOTH socket,
CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/bluetooth/rfcomm/sock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c
index ae6f80730561..d67d49e5aa00 100644
--- a
When creating a raw PF_BLUETOOTH socket,
CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/bluetooth/hidp/sock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c
index 595fb3c9d6c3..3dd9c8e0419a 100644
--- a/net
When creating a raw PF_BLUETOOTH socket,
CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/bluetooth/cmtp/sock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c
index 96d49d9fae96..476ccc9bee7c 100644
--- a/net
When creating a raw PF_BLUETOOTH socket,
CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/bluetooth/bnep/sock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c
index d515571b2afb..e06787a3b5ce 100644
--- a/net
When creating a raw PF_BLUETOOTH socket,
CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/bluetooth/hci_sock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c
index 251b9128f530..c0919e209f05 100644
--- a/net
When creating a raw AF_NFC socket, CAP_NET_RAW needs to be checked first.
Signed-off-by: Qingyu Li
---
net/nfc/rawsock.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index ba5ffd3badd3..b5c867fe3232 100644
--- a/net/nfc
Signed-off-by: Qingyu Li
---
net/nfc/rawsock.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index ba5ffd3badd3..c1302b689a98 100644
--- a/net/nfc/rawsock.c
+++ b/net/nfc/rawsock.c
@@ -332,8 +332,11 @@ static int rawsock_create
7 matches
Mail list logo