From patchwork Wed Nov 6 10:25:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 21377 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7855B20DB9 for ; Wed, 6 Nov 2013 10:26:23 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id ia6sf17472298vcb.6 for ; Wed, 06 Nov 2013 02:26:23 -0800 (PST) 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=AvqcyDHyDbdNqeCRMPs40OsufhQoT+beUV5//wJS7PI=; b=mkITpTUpBIfc3cN6Y/02YdiIqdOF5JGp8Xpfr50yCAy4sUoOh1KxOtjLlDjYtLD8j+ OYmlrT2pT9OjrbkrzLWEvaBCAtbzCGzd8xYE0Tm0g95aupr+PzxukOIGZCyXd/ps2AUr /9KmPk2Xkt5qDoCuCJaJzmjF/xB4D6xFFpz2NMd+O6NESck+vD/yT3r5pYhgXQhY3s4Z z8tznWUk4qA62vK4MYQ5/Bff4dCO7BAyjinfSmrGrnbR1tnTZR7jKvSRwmn+W8lEkoF7 928EZSnzZTYxa37zuZ0D+L8viF96Ig8cs7O3IelrXnZ0/lLBU2SnKeFBkkl1XaDnFkUH +JXQ== X-Gm-Message-State: ALoCoQkFz0foBjtjen92bFNvYyuUNlAjyd0zbF6NKUmIQqxp3ST+1jWR+2nh2ZFopLQohzlU/DwZ X-Received: by 10.58.50.161 with SMTP id d1mr744836veo.24.1383733583310; Wed, 06 Nov 2013 02:26:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.49.163 with SMTP id v3ls603711qen.53.gmail; Wed, 06 Nov 2013 02:26:23 -0800 (PST) X-Received: by 10.220.58.1 with SMTP id e1mr1799526vch.0.1383733583213; Wed, 06 Nov 2013 02:26:23 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ja16si6858639vec.12.2013.11.06.02.26.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:26:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ht10so6421473vcb.20 for ; Wed, 06 Nov 2013 02:26:22 -0800 (PST) X-Received: by 10.58.67.168 with SMTP id o8mr1807569vet.22.1383733582372; Wed, 06 Nov 2013 02:26:22 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp273726vcz; Wed, 6 Nov 2013 02:26:21 -0800 (PST) X-Received: by 10.68.234.10 with SMTP id ua10mr2542558pbc.116.1383733581561; Wed, 06 Nov 2013 02:26:21 -0800 (PST) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id ru9si16572648pbc.258.2013.11.06.02.26.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:26:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.179 is neither permitted nor denied by best guess record for domain of takahiro.akashi@linaro.org) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id y10so10060476pdj.10 for ; Wed, 06 Nov 2013 02:26:21 -0800 (PST) X-Received: by 10.66.52.19 with SMTP id p19mr3077962pao.123.1383733580935; Wed, 06 Nov 2013 02:26:20 -0800 (PST) Received: from localhost.localdomain (KD182249092064.au-net.ne.jp. [182.249.92.64]) by mx.google.com with ESMTPSA id qz9sm40405465pbc.3.2013.11.06.02.26.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:26:20 -0800 (PST) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-audit@redhat.com Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, AKASHI Takahiro Subject: [PATCH 1/4] audit: Enable arm64 support Date: Wed, 6 Nov 2013 19:25:43 +0900 Message-Id: <1383733546-2846-2-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1383733546-2846-1-git-send-email-takahiro.akashi@linaro.org> References: <1383733546-2846-1-git-send-email-takahiro.akashi@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: takahiro.akashi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , --- include/uapi/linux/audit.h | 2 ++ init/Kconfig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h index 75cef3f..6f727c1 100644 --- a/include/uapi/linux/audit.h +++ b/include/uapi/linux/audit.h @@ -324,6 +324,8 @@ enum { /* distinguish syscall tables */ #define __AUDIT_ARCH_64BIT 0x80000000 #define __AUDIT_ARCH_LE 0x40000000 +#define AUDIT_ARCH_AARCH64 (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +#define AUDIT_ARCH_AARCH64EB (EM_AARCH64|__AUDIT_ARCH_64BIT) #define AUDIT_ARCH_ALPHA (EM_ALPHA|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) #define AUDIT_ARCH_ARM (EM_ARM|__AUDIT_ARCH_LE) #define AUDIT_ARCH_ARMEB (EM_ARM) diff --git a/init/Kconfig b/init/Kconfig index 3ecd8a1..2220401 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -284,7 +284,7 @@ config AUDIT config AUDITSYSCALL bool "Enable system-call auditing support" - depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT)) + depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT) || ARM64) default y if SECURITY_SELINUX help Enable low-overhead system-call auditing infrastructure that