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
| ||
|
Date: Fri, 08 Jan 2016 10:05:42 +0100 From: Arnd Bergmann <arnd@...db.de> To: Yury Norov <ynorov@...iumnetworks.com> Cc: catalin.marinas@....com, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, pinskia@...il.com, Prasun.Kapoor@...iumnetworks.com, schwab@...e.de, Nathan_Lynch@...tor.com, agraf@...e.de, klimov.linux@...il.com, broonie@...nel.org, jan.dakinevich@...il.com, ddaney.cavm@...il.com, bamvor.zhangjian@...wei.com, philipp.tomsich@...obroma-systems.com, joseph@...esourcery.com, christoph.muellner@...obroma-systems.com, Andrew Pinski <Andrew.Pinski@...iumnetworks.com> Subject: Re: [PATCH v6 20/21] arm64:ilp32: change COMPAT_ELF_PLATFORM to report a a subplatform for ILP32 On Friday 08 January 2016 02:34:38 Yury Norov wrote: > diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h > index a519233..392301b 100644 > --- a/arch/arm64/include/asm/elf.h > +++ b/arch/arm64/include/asm/elf.h > @@ -160,9 +160,9 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, > #ifdef CONFIG_COMPAT > > #ifdef __AARCH64EB__ > -#define COMPAT_ELF_PLATFORM ("v8b") > +#define COMPAT_ELF_PLATFORM (is_ilp32_compat_task() ? "aarch64_be:ilp32" : "v8b") > #else > -#define COMPAT_ELF_PLATFORM ("v8l") > +#define COMPAT_ELF_PLATFORM (is_ilp32_compat_task() ? "aarch64:ilp32" : "v8l") > #endif > Same comment as for patch 12: you know which one to use at compile-time, so just drop the runtime check and use different macros. Arnd
Powered by blists - more mailing lists