summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2021-11-02 16:10:21 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-03 11:15:18 +0000
commitaedddb4e45b34426cfbfa84454b6f203712733c5 (patch)
treeb35ad72b1b616ee4890c0ea63f54b8312563baf2 /Kconfig
parent2bd080b0961d776f90e7b1ef9788c56da3638c73 (diff)
downloadlinux-aedddb4e45b34426cfbfa84454b6f203712733c5.tar.bz2
NFC: add necessary privilege flags in netlink layer
The CAP_NET_ADMIN checks are needed to prevent attackers faking a device under NCIUARTSETDRIVER and exploit privileged commands. This patch add GENL_ADMIN_PERM flags in genl_ops to fulfill the check. Except for commands like NFC_CMD_GET_DEVICE, NFC_CMD_GET_TARGET, NFC_CMD_LLC_GET_PARAMS, and NFC_CMD_GET_SE, which are mainly information- read operations. Signed-off-by: Lin Ma <linma@zju.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions