Re: [PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-05 Thread Joel Fernandes
Hi Daniel, >>> >>> So the only arch that sets __ARCH_WANT_SYSCALL_DEPRECATED >>> is score: >>> >>>$ git grep -n __ARCH_WANT_SYSCALL_DEPRECATED >>>arch/score/include/uapi/asm/unistd.h:7:#define >>> __ARCH_WANT_SYSCALL_DEPRECATED >>>include/uapi/asm-generic/unistd.h:837:#ifdef >>>

Re: [PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-04 Thread Daniel Borkmann
On 08/04/2017 08:33 PM, Joel Fernandes wrote: On Fri, Aug 4, 2017 at 6:58 AM, Daniel Borkmann wrote: On 08/04/2017 07:46 AM, Joel Fernandes wrote: When cross-compiling the bpf sample map_perf_test for aarch64, I find that __NR_getpgrp is undefined. This causes build

Re: [PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-04 Thread Joel Fernandes
On Fri, Aug 4, 2017 at 6:58 AM, Daniel Borkmann wrote: > On 08/04/2017 07:46 AM, Joel Fernandes wrote: >> >> When cross-compiling the bpf sample map_perf_test for aarch64, I find that >> __NR_getpgrp is undefined. This causes build errors. Fix it by allowing >> the >>

Re: [PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-04 Thread Daniel Borkmann
On 08/04/2017 07:46 AM, Joel Fernandes wrote: When cross-compiling the bpf sample map_perf_test for aarch64, I find that __NR_getpgrp is undefined. This causes build errors. Fix it by allowing the deprecated syscall in the sample. Signed-off-by: Joel Fernandes ---

[PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-03 Thread Joel Fernandes
When cross-compiling the bpf sample map_perf_test for aarch64, I find that __NR_getpgrp is undefined. This causes build errors. Fix it by allowing the deprecated syscall in the sample. Signed-off-by: Joel Fernandes --- samples/bpf/map_perf_test_user.c | 2 ++ 1 file changed,