Skip to content
Commit 26896f01 authored by Qingyu Li's avatar Qingyu Li Committed by David S. Miller
Browse files

net/nfc/rawsock.c: add CAP_NET_RAW check.



When creating a raw AF_NFC socket, CAP_NET_RAW needs to be checked first.

Signed-off-by: default avatarQingyu Li <ieatmuttonchuan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1dab5877
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment