Messages in this thread | | | Subject | Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions | From | Harish Jenny K N <> | Date | Tue, 6 Mar 2018 18:17:36 +0530 |
| |
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@mentor.com> wrote: > >> From: Andrew Gabbasov <andrew_gabbasov@mentor.com> >> >> 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@mentor.com> >> Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com> > Makes sense to me, at least it makes the problem smaller not bigger. > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Any other comments/inputs on this ?
Thanks, Harish Jenny K N
| |