]> git.baikalelectronics.ru Git - kernel.git/commit
net/nfc/rawsock.c: add CAP_NET_RAW check.
authorQingyu Li <ieatmuttonchuan@gmail.com>
Mon, 10 Aug 2020 01:51:00 +0000 (09:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2020 17:34:30 +0000 (10:34 -0700)
commit44bdcde367dd42f83331f275554bc3ba8ff9a2ab
treea981d1f145678f3671286b30e77725f90822fbfd
parent8bb9dfa21b06b5769e787b73e65c1c56640652e5
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: Qingyu Li <ieatmuttonchuan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/nfc/rawsock.c