Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions
From: Harish Jenny K N
Date: Tue Mar 06 2018 - 07:47:50 EST
On Friday 02 March 2018 06:23 PM, Linus Walleij wrote:
> On Tue, Feb 27, 2018 at 12:33 PM, Harish Jenny K N
> <harish_kandiga@xxxxxxxxxx> wrote:
>
>> From: Andrew Gabbasov <andrew_gabbasov@xxxxxxxxxx>
>>
>> Since RPMB area is accessible via special ioctl only and boot areas
>> are unlikely to contain any partitions, exclude them all from listing
>> in /proc/partitions. This will hide them from various user-level
>> software (e.g. fdisk), thus avoiding unnecessary access attempts.
>>
>> Signed-off-by: Andrew Gabbasov <andrew_gabbasov@xxxxxxxxxx>
>> Signed-off-by: Harish Jenny K N <harish_kandiga@xxxxxxxxxx>
> Makes sense to me, at least it makes the problem smaller not bigger.
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Any other comments/inputs on this ?
Thanks,
Harish Jenny K N