lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAObsKD3EuAEJs8mPewcRnX=n_4kuHhKgNBb0Z0gAjj3sFn61A@mail.gmail.com>
Date:	Wed, 18 Mar 2015 10:55:09 +0100
From:	Tomeu Vizoso <tomeu.vizoso@...labora.com>
To:	"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>
Cc:	Tomeu Vizoso <tomeu.vizoso@...labora.com>,
	Chris Ball <chris@...ntf.net>,
	Ulf Hansson <ulf.hansson@...aro.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
	Ben Hutchings <ben@...adent.org.uk>,
	Asaf Vertz <asaf.vertz@...demg.com>,
	Lukas Czerner <lczerner@...hat.com>,
	Joe Perches <joe@...ches.com>,
	Tobias Klauser <tklauser@...tanz.ch>,
	linux-mmc <linux-mmc@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v6 13/13] HACK: Hide RPMB partitions

Sorry about the noise, I didn't intend to send this one.

Regards,

Tomeu

On 18 March 2015 at 10:52, Tomeu Vizoso <tomeu.vizoso@...labora.com> wrote:
> ---
>  drivers/mmc/card/block.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
> index c69afb5..f9d8fc3 100644
> --- a/drivers/mmc/card/block.c
> +++ b/drivers/mmc/card/block.c
> @@ -2252,7 +2252,7 @@ static int mmc_blk_alloc_parts(struct mmc_card *card, struct mmc_blk_data *md)
>                 return 0;
>
>         for (idx = 0; idx < card->nr_parts; idx++) {
> -               if (card->part[idx].size) {
> +               if (card->part[idx].size && !(card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB)) {
>                         ret = mmc_blk_alloc_part(card, md,
>                                 card->part[idx].part_cfg,
>                                 card->part[idx].size >> 9,
> --
> 2.1.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ