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: 3146201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C35179F432 for ; Wed, 6 Nov 2013 10:27:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 935DE20454 for ; Wed, 6 Nov 2013 10:27:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D61BE20460 for ; Wed, 6 Nov 2013 10:27:32 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ve0KB-0007Kg-9z; Wed, 06 Nov 2013 10:26:59 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ve0Jx-0002md-SX; Wed, 06 Nov 2013 10:26:45 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ve0Ju-0002ka-KX for linux-arm-kernel@lists.infradead.org; Wed, 06 Nov 2013 10:26:43 +0000 Received: by mail-pd0-f177.google.com with SMTP id p10so9921395pdj.36 for ; Wed, 06 Nov 2013 02:26:21 -0800 (PST) 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=AvqcyDHyDbdNqeCRMPs40OsufhQoT+beUV5//wJS7PI=; b=KYtJhxM+EcJSUMUvyJ6nJB2YI24bnIxnxV6H2cL85/gMevmngy4RzfYLLHcPBDoFCx Aqyi34amRvXsnTPyU3lawEHzUKcVXbnzJE+HKq2DnE3icGKqDmH3jzuVsQBGSG/W5QU3 dTnP6ebmOnFlsXUH/bkLoxbPdNVxjM/+/GDxTiT696vBBSOPveqbklpi+6L90H+QFaep LkdWKGv8HBAUTbnHeY0UsnalEZ7vVLdpKAcZ6NRgtuvY1t6jDjLCXNUUJXvFdTMKsoMf ZRA/egTmpYqrtkn4rZyIk6/aUEDNXXGSeGeJawMQVfiFl8bYcL4XAg5WBNkMFqGyvZWg KktQ== X-Gm-Message-State: ALoCoQk9cSLjxVM9QV2tKJ8OB89tQCkwiJbotLgin7wGdCwoTNpu3doMVui8Bf0lhg6J+0c3JsV9 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131106_052642_740284_C1E4AA9D X-CRM114-Status: GOOD ( 11.28 ) X-Spam-Score: -1.9 (-) Cc: AKASHI Takahiro , linaro-kernel@lists.linaro.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- 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