Re: [PATCH] powerpc/64: Use get_user() in start_thread()

2025-01-01 Thread Madhavan Srinivasan
On Mon, 16 Dec 2024 23:17:06 +1100, Michael Ellerman wrote: > For ELFv1 binaries (big endian), the ELF entry point isn't the address > of the first instruction, instead it points to the function descriptor > for the entry point. The address of the first instruction is in the > function descriptor.

[PATCH] powerpc/64: Use get_user() in start_thread()

2024-12-16 Thread Michael Ellerman
For ELFv1 binaries (big endian), the ELF entry point isn't the address of the first instruction, instead it points to the function descriptor for the entry point. The address of the first instruction is in the function descriptor. That means the kernel has to fetch the address of the first instruc