[PATCH] powerpc/pseries: Enforce hcall result buffer validity and size
Michael Ellerman
patch-notifications at ellerman.id.au
Fri May 3 20:41:02 AEST 2024
On Mon, 08 Apr 2024 09:08:31 -0500, Nathan Lynch wrote:
> plpar_hcall(), plpar_hcall9(), and related functions expect callers to
> provide valid result buffers of certain minimum size. Currently this
> is communicated only through comments in the code and the compiler has
> no idea.
>
> For example, if I write a bug like this:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries: Enforce hcall result buffer validity and size
https://git.kernel.org/powerpc/c/ff2e185cf73df480ec69675936c4ee75a445c3e4
cheers
More information about the Linuxppc-dev
mailing list