Re: [PATCH] mmc: card: restrict access to RPMB partition

2014-05-14 Thread Ulf Hansson
On 9 May 2014 15:39, Yuvaraj Kumar C D yuvaraj...@gmail.com wrote: From: Andrew Bresticker abres...@chromium.org The RPMB partition should only be accessed through the RPMB ioctls and not through read()/write(). This patch makes mmc_blk_open() reject open attempts to the RPMB partition in

[PATCH] mmc: card: restrict access to RPMB partition

2014-05-09 Thread Yuvaraj Kumar C D
From: Andrew Bresticker abres...@chromium.org The RPMB partition should only be accessed through the RPMB ioctls and not through read()/write(). This patch makes mmc_blk_open() reject open attempts to the RPMB partition in read or write mode. Signed-off-by: Andrew Bresticker