Re: [PATCH v3 02/13] x86/um: nommu: elf loader for fdpic

2024-12-05 Thread Hajime Tazaki
On Thu, 05 Dec 2024 01:20:51 +0900, Johannes Berg wrote: > > On Tue, 2024-12-03 at 13:23 +0900, Hajime Tazaki wrote: > > > > arch/um/include/asm/Kbuild | 1 + > > > > arch/x86/um/asm/module.h | 24 > > > > These changes could be a separate clea

Re: [PATCH v3 02/13] x86/um: nommu: elf loader for fdpic

2024-12-04 Thread Johannes Berg
On Tue, 2024-12-03 at 13:23 +0900, Hajime Tazaki wrote: > > arch/um/include/asm/Kbuild | 1 + > > arch/x86/um/asm/module.h | 24 > These changes could be a separate cleanup? johannes

[PATCH v3 02/13] x86/um: nommu: elf loader for fdpic

2024-12-02 Thread Hajime Tazaki
As UML supports CONFIG_MMU=n case, it has to use an alternate ELF loader, FDPIC ELF loader. In this commit, we added necessary definitions in the arch, as UML has not been used so far. It also updates Kconfig file to use BINFMT_ELF_FDPIC under !MMU environment. Cc: Eric Biederman Cc: Kees Cook