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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 21 Nov 2011 16:56:55 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	wangyanqing <udknight@...il.com>
Cc:	warns@...-sense.de, linux-kernel@...r.kernel.org, tj@...nel.org,
	jaxboe@...ionio.com, Matt Domsch <Matt_Domsch@...l.com>
Subject: Re: [PATCH] fs:partitions:efi.c: correct misuse force_gpt

On Tue, 22 Nov 2011 08:44:34 +0800
wangyanqing <udknight@...il.com> wrote:

> The primary gpt header maybe broken, so we should
> check the alternate gpt header no matter whether
> there is a gpt boot parameter.(The alternate gpt header
> is for this way).
> 
> Signed-off-by: Wang YanQing <udknight@...il.com>
> ---
>  fs/partitions/efi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/partitions/efi.c b/fs/partitions/efi.c
> index 6296b40..53fd92f 100644
> --- a/fs/partitions/efi.c
> +++ b/fs/partitions/efi.c
> @@ -553,7 +553,7 @@ static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt,
>  		good_agpt = is_gpt_valid(state,
>  					 le64_to_cpu(pgpt->alternate_lba),
>  					 &agpt, &aptes);
> -        if (!good_agpt && force_gpt)
> +        if (!good_agpt)
>                  good_agpt = is_gpt_valid(state, lastlba, &agpt, &aptes);
>  
>          /* The obviously unsuccessful case */

Please Cc Matt on patches to efi.c.

Neither scripts/get_maintainer.pl nor ./MAINTAINERS know that Matt
knows about efi.c, which is unfortunate.  But his name and email address are
right there at the top of the file.

--
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