Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755326AbbHNNsR (ORCPT ); Fri, 14 Aug 2015 09:48:17 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:33282 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754129AbbHNNsN (ORCPT ); Fri, 14 Aug 2015 09:48:13 -0400 From: Bamvor Jian Zhang To: linux-kernel@vger.kernel.org Cc: broonie@linaro.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com Subject: [PATCH 5/7] selftests: disable seccomp for arm64 Date: Fri, 14 Aug 2015 21:43:36 +0800 Message-Id: <1439559818-21666-6-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439559818-21666-1-git-send-email-bamvor.zhangjian@linaro.org> References: <1439559818-21666-1-git-send-email-bamvor.zhangjian@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 32 Currently, seccomp need the __NR_poll which is not supported by arm64(There is only __NR_ppoll). I am not sure we should skip this test testcase or update the seccomp without __NR_poll. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/seccomp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/seccomp/Makefile b/tools/testing/selftests/seccomp/Makefile index 8401e87..ea2793a 100644 --- a/tools/testing/selftests/seccomp/Makefile +++ b/tools/testing/selftests/seccomp/Makefile @@ -1,4 +1,10 @@ + +uname_M := $(shell uname -m 2>/dev/null || echo not) +ARCH ?= $(shell echo $(uname_M) | sed -e s/aarch64.*/arm64/) + +ifneq ($(ARCH),arm64) TEST_PROGS := seccomp_bpf +endif CFLAGS += -Wl,-no-as-needed -Wall LDFLAGS += -lpthread -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/