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: <CAFLxGvxp1ajbGu-+itLbDB38J1asGczJE4tyios3VEJ-vXu0fw@mail.gmail.com>
Date:	Fri, 12 Apr 2013 18:01:58 +0200
From:	richard -rw- weinberger <richard.weinberger@...il.com>
To:	David Woodhouse <dwmw2@...radead.org>
Cc:	x86@...nel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: Default to ARCH=x86 to avoid overriding CONFIG_64BIT

David,

On Thu, Dec 20, 2012 at 10:51 PM, David Woodhouse <dwmw2@...radead.org> wrote:
> -SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
> +SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
> +                                 -e s/sun4u/sparc64/ \
>                                   -e s/arm.*/arm/ -e s/sa110/arm/ \
>                                   -e s/s390x/s390/ -e s/parisc64/parisc/ \
>                                   -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \

Why is this change needed? Especially the -e s/x86_64/x86.
It causes UML to get build for x86 which is a nasty change
of the default behavior.

Before your change you got a UML kernel for the underlying arch just
by running "make linux ARCH=um".
Now it will always build a x86 UML kernel, also if you run it on
x86_64 and one is forced to override
SUBARCH by hand.

--
Thanks,
//richard
--
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