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


Groups > linux.kernel > #1207541

[PATCH 5/7] selftests: disable seccomp for arm64

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 5/7] selftests: disable seccomp for arm64
Date Fri, 14 Aug 2015 15:50:02 +0200
Message-ID <pXnwS-3Fg-9@gated-at.bofh.it> (permalink)
References <pXnwR-3Fg-3@gated-at.bofh.it>
X-Original-To linux-kernel@vger.kernel.org
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9mIz3wx0V+GIZ/IfHzFd5gnmRZ1ELzZkgW63s9oGB9Q=; b=mnaGEvsE1zgDjRpadcMTZrVllSJ5Dw63yHU3w6NalzD9HGdEiNM9Uc+OisbUKaMxsV Jj0GDif54vgzg6esKDYqIjmzO8J6D97Lelv3snxUea49MoXVQLT3yYeDqBtqYit5dTvT d4jFIXcQQ0qIJFlTQR2nV7WSniidj3t45HvgnnBq9TG+fIH2CDwQTwBI6mmwyfsIPENN Mwv0FogpQR1zif3DqrXiFaptgvxgR622xJ1RlH9r31eQoeVZzmOi4Nrqxt2J571EDEdK wQ26cSexkFv2eWZDYEiGVL39eY5CycryCRqG0lNmXYYiIO/R57KkGO813w2tXS1yj3pb FoKA==
X-Gm-Message-State ALoCoQkRyf0kIY4Ut94Gbofi1e7acMXsrqszg8q648ohovebDp/OkYBWhAfr2/182NqusZLTZxmt
X-Received by 10.60.16.202 with SMTP id i10mr16871658oed.48.1439560092752; Fri, 14 Aug 2015 06:48:12 -0700 (PDT)
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
X-Original-Cc broonie@linaro.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com
X-Original-Date Fri, 14 Aug 2015 21:43:36 +0800
X-Original-Message-ID <1439559818-21666-6-git-send-email-bamvor.zhangjian@linaro.org>
X-Original-References <1439559818-21666-1-git-send-email-bamvor.zhangjian@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1207541

Show key headers only | View raw


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 <bamvor.zhangjian@linaro.org>
---
 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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 5/7] selftests: disable seccomp for arm64 Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-08-14 15:50 +0200

csiph-web