[PATCH] powerpc/64: Use get_user() in start_thread()
Madhavan Srinivasan
maddy at linux.ibm.com
Wed Jan 1 20:08:43 AEDT 2025
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.
>
> That means the kernel has to fetch the address of the first instruction
> from user memory.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64: Use get_user() in start_thread()
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=f66dbe43798fc97e8c0e6d9b86f1aa923ef523fa
Thanks
More information about the Linuxppc-dev
mailing list