powerpc: Wire up sys_bpf() syscall
PATCH 1/1 powerpc: Wire up sys_bpf() syscall
This patch wires up the new syscall sys_bpf() on powerpc.
--- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/systbl.h +1 -0
@@ -365,3 +365,4 @@ SYSCALL_SPU(renameat2) SYSCALL_SPU(seccomp) SYSCALL_SPU(getrandom) SYSCALL_SPU(memfd_create) +SYSCALL_SPU(bpf)
arch/powerpc/include/asm/unistd.h +1 -1
@@ -12,7 +12,7 @@#include <uapi/asm/unistd.h> -#define __NR_syscalls 361 +#define __NR_syscalls 362#define __NR__exit __NR_exit#define NR_syscalls __NR_syscalls
arch/powerpc/include/uapi/asm/unistd.h +1 -0
@@ -383,5 +383,6 @@#define __NR_seccomp 358#define __NR_getrandom 359#define __NR_memfd_create 360 +#define __NR_bpf 361#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
Signature · 1 line
2.1.0
Michael Ellerman
reviewerQuoted 1 line · Pranith Kumar
This patch wires up the new syscall
sys_bpf()on powerpc.
Is there a test suite we can run to verify it works?
cheers
We have a test suite under samples/bpf/
Quoted 10 lines · Michael Ellerman
Quoted 1 line · Pranith Kumar
This patch wires up the new syscall
sys_bpf()on powerpc.Is there a test suite we can run to verify it works?
cheers
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
Signature · 2 lines
Regards, Denis
Michael Ellerman
reviewerQuoted 1 line · Denis Kirjanov
We have a test suite under
samples/bpf/
Thanks.
I looked under tools/testing/selftests, could it move in there?
cheers
I don't see any problems with it
Quoted 11 lines · Michael Ellerman
Quoted 1 line · Denis Kirjanov
We have a test suite under
samples/bpf/Thanks.
I looked under
tools/testing/selftests, could it move in there?cheers
Signature · 2 lines
Regards, Denis
I don't see any problems with it
Quoted 11 lines · Michael Ellerman
Quoted 1 line · Denis Kirjanov
We have a test suite under
samples/bpf/Thanks.
I looked under
tools/testing/selftests, could it move in there?cheers
Signature · 2 lines
Regards, Denis