[bpf] bpf: powerpc: fix broken uapi for BPF_PROG_TYPE_PERF_EVENT

Michael Ellerman patch-notifications at ellerman.id.au
Mon Dec 10 13:43:34 AEDT 2018


On Thu, 2018-12-06 at 09:27:01 UTC, Sandipan Das wrote:
> Now that there are different variants of pt_regs for userspace and
> kernel, the uapi for the BPF_PROG_TYPE_PERF_EVENT program type must
> be changed by exporting the user_pt_regs structure instead of the
> pt_regs structure that is in-kernel only.
> 
> Fixes: 002af9391bfb ("powerpc: Split user/kernel definitions of struct pt_regs")
> Signed-off-by: Sandipan Das <sandipan at linux.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/a6460b03f945ee216dbf42a0d9ee78

cheers


More information about the Linuxppc-dev mailing list