diff options
author | Thadeu Lima de Souza Cascardo <cascardo@canonical.com> | 2021-11-25 15:14:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-11-26 20:14:31 +0100 |
commit | c26381f97e2a7df43826150dc7d4c207bd6794a5 (patch) | |
tree | 030244bd46c1d3f8d56024742cd6b17d5773be05 /net/ipv4/ping.c | |
parent | net/sched: sch_ets: don't peek at classes beyond 'nbands' (diff) | |
download | linux-c26381f97e2a7df43826150dc7d4c207bd6794a5.tar.xz linux-c26381f97e2a7df43826150dc7d4c207bd6794a5.zip |
nfc: virtual_ncidev: change default device permissions
Device permissions is S_IALLUGO, with many unnecessary bits. Remove them
and also remove read and write permissions from group and others.
Before the change:
crwsrwsrwt 1 0 0 10, 125 Nov 25 13:59 /dev/virtual_nci
After the change:
crw------- 1 0 0 10, 125 Nov 25 14:05 /dev/virtual_nci
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Bongsu Jeon <bongsu.jeon@samsung.com>
Link: https://lore.kernel.org/r/20211125141457.716921-1-cascardo@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/ping.c')
0 files changed, 0 insertions, 0 deletions