From patchwork Fri Aug 14 13:43:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 52443 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id A82442031F for ; Fri, 14 Aug 2015 13:48:23 +0000 (UTC) Received: by wicul11 with SMTP id ul11sf6600745wic.1 for ; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VVXl2yrWp6gaZFI23E4QscyhKMgAt4i1VpdxA8WHmyc=; b=Yv2YdpHs7PcQbjvWEe3vGmket1zmOb9nInGTNqw/RuUSD/DsWBxpnka05Je+MTcXxf DAF60uS3lnr2R2tNhZ7S/GwcCulOmg/7czYrQ3Hu3ufNogE+RoFWayAedhT/HH46rXQY jX5yyZCx67T5b8KDJl80qOts8FHZMr+pzILYGkkYlOL0GecZvlFF7tmEDPxZg6gVkPTK YKle1bvQRKzUHACwg3FrhGVH5+DpD0dYu7yoBRCgE6wx6+x/N0nZiQyFJMDAVpfstFen TVQ6wBNEbQBurlw54xAeLaexgA0vf0eGC/2OX32iHiM06LZeo5rjZUEC4MwCMTzusbUp Qr8w== X-Gm-Message-State: ALoCoQnrYs4hirq0dnKdngOASNrWXKU3t70d4rUQw5giyWdeAyzYHwcDwYqXURTiSRYQniOOPOVC X-Received: by 10.180.12.205 with SMTP id a13mr1022938wic.4.1439560102932; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.42 with SMTP id o10ls325882laa.87.gmail; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) X-Received: by 10.112.36.165 with SMTP id r5mr44348229lbj.3.1439560102740; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id dd5si5984183lad.159.2015.08.14.06.48.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Aug 2015 06:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbbtg9 with SMTP id tg9so46141761lbb.1 for ; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) X-Received: by 10.112.209.106 with SMTP id ml10mr44103051lbc.112.1439560102644; Fri, 14 Aug 2015 06:48:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1635009lba; Fri, 14 Aug 2015 06:48:21 -0700 (PDT) X-Received: by 10.66.164.195 with SMTP id ys3mr28231882pab.87.1439560100658; Fri, 14 Aug 2015 06:48:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7si9133116pdp.73.2015.08.14.06.48.19; Fri, 14 Aug 2015 06:48:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755327AbbHNNsR (ORCPT + 28 others); 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 Received: by obbhe7 with SMTP id he7so61696010obb.0 for ; Fri, 14 Aug 2015 06:48:12 -0700 (PDT) X-Received: by 10.60.16.202 with SMTP id i10mr16871658oed.48.1439560092752; Fri, 14 Aug 2015 06:48:12 -0700 (PDT) Received: from linux-j170.site ([107.191.45.96]) by smtp.gmail.com with ESMTPSA id fx10sm2844558obb.27.2015.08.14.06.48.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Aug 2015 06:48:11 -0700 (PDT) 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 Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bamvor.zhangjian@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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