| Date | Tue, 15 Jun 2021 11:21:40 +0100 | From | Will Deacon <> | Subject | Re: [PATCH v3 04/23] arm64: Use in_compat_task() in arch_setup_additional_pages() |
| |
On Fri, Jun 11, 2021 at 07:02:23PM +0100, Dmitry Safonov wrote: > Instead of providing compat_arch_setup_additional_pages(), check if the > task is compatible from personality, which is set earlier in > load_elf_binary(). That will align code with powerpc and sparc, also > it'll allow to completely remove compat_arch_setyp_addtional_pages() > macro after doing the same for x86, simiplifying the binfmt code > in the end and leaving elf loader single function. > > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Dmitry Safonov <dima@arista.com> > --- > arch/arm64/include/asm/elf.h | 5 ----- > arch/arm64/kernel/vdso.c | 21 ++++++++++----------- > 2 files changed, 10 insertions(+), 16 deletions(-)
Acked-by: Will Deacon <will@kernel.org>
Will
|