Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736176

Re: [PATCH v4 1/4] samples/bpf: Use getppid instead of getpgrp for array map stress

From Daniel Borkmann <daniel@iogearbox.net>
Newsgroups linux.kernel
Subject Re: [PATCH v4 1/4] samples/bpf: Use getppid instead of getpgrp for array map stress
Date 2017-09-20 23:30 +0200
Message-ID <urUJd-8w7-49@gated-at.bofh.it> (permalink)
References <urPTb-5ov-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/20/2017 06:11 PM, 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. This syscall is deprecated
> and requires defining __ARCH_WANT_SYSCALL_DEPRECATED. To avoid having to define
> that, just use a different syscall (getppid) for the array map stress test.
>
> Acked-by: Alexei Starovoitov <ast@kernel.org>
> Signed-off-by: Joel Fernandes <joelaf@google.com>

Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/4] samples/bpf: Use getppid instead of getpgrp for array map stress Joel Fernandes <joelaf@google.com> - 2017-09-20 18:20 +0200
  [PATCH v4 3/4] samples/bpf: Fix pt_regs issues when cross-compiling Joel Fernandes <joelaf@google.com> - 2017-09-20 18:20 +0200
    Re: [PATCH v4 3/4] samples/bpf: Fix pt_regs issues when cross-compiling Daniel Borkmann <daniel@iogearbox.net> - 2017-09-20 23:30 +0200
  Re: [PATCH v4 1/4] samples/bpf: Use getppid instead of getpgrp for  array map stress Daniel Borkmann <daniel@iogearbox.net> - 2017-09-20 23:30 +0200

csiph-web