[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <872e6a95-721d-2c33-77c4-764a0b859f43@canonical.com>
Date: Thu, 25 Nov 2021 15:24:04 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>,
netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, bongsu.jeon@...sung.com
Subject: Re: [PATCH] nfc: virtual_ncidev: change default device permissions
On 25/11/2021 15:14, Thadeu Lima de Souza Cascardo wrote:
> 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@...onical.com>
> ---
> drivers/nfc/virtual_ncidev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists