Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751837AbdITVYe (ORCPT ); Wed, 20 Sep 2017 17:24:34 -0400 Received: from www62.your-server.de ([213.133.104.62]:45383 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751753AbdITVYc (ORCPT ); Wed, 20 Sep 2017 17:24:32 -0400 Message-ID: <59C2DC8C.1080504@iogearbox.net> Date: Wed, 20 Sep 2017 23:24:28 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Joel Fernandes , linux-kernel@vger.kernel.org CC: netdev@vger.kernel.org, alison@she-devel.com, juri.lelli@arm.com, fengc@google.com, davem@davemloft.net, ast@kernel.org, kernel-team@android.com Subject: Re: [PATCH v4 1/4] samples/bpf: Use getppid instead of getpgrp for array map stress References: <20170920161159.25747-1-joelaf@google.com> In-Reply-To: <20170920161159.25747-1-joelaf@google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 517 Lines: 10 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 > Signed-off-by: Joel Fernandes Acked-by: Daniel Borkmann