[PATCH v3] powerpc: Implement arch_within_stack_frames
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Apr 6 11:09:59 AEST 2023
On Tue, 28 Feb 2023 05:43:55 +0000, Nicholas Miehlbradt wrote:
> Walks the stack when copy_{to,from}_user address is in the stack to
> ensure that the object being copied is entirely a single stack frame and
> does not contain stack metadata.
>
> Substantially similar to the x86 implementation. The back chain is used
> to traverse the stack and identify stack frame boundaries.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Implement arch_within_stack_frames
https://git.kernel.org/powerpc/c/ac9c8901cb10aab043bf3599d19eebacfcda2858
cheers
More information about the Linuxppc-dev
mailing list