From patchwork Sat Apr 18 08:16:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 2980 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4945QP4wCyz3xQs for ; Sat, 18 Apr 2020 08:16:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4945QN4yvJzhp; Sat, 18 Apr 2020 08:16:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4945QN2lh7z2yZj; Sat, 18 Apr 2020 08:16:28 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4945QL6P2vz2xhB for ; Sat, 18 Apr 2020 08:16:26 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4945QK2gGYzhp for ; Sat, 18 Apr 2020 08:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1587197786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8UVyHx7NIC/iT4V03JJ3QM8Tk0E4oBN12ujvS1yYKXg=; b=QY6iVvSLFEXV9gtSwjGigC7CuWPopdsJckLYY7lTsewos/MCV99NcDcAe3ijP3hNb+CIic 2pHa2fcgVQiGekZb9+bLo8RPrIYPjVHRpBJC9uzuQj4ZkBQeIhgq0XdJS/OWat3EyG7Kdy e3TqR9TmIyIPxP6/qg1hWflhB5wsCW+GNNsbMuxsu5RituceaifT5NAo61To7u6hJQ5lhv Dm2XdqJnkm4bRdElhNw1Y5kFUKh+xYkx1JLPM5WhTWZj4iu1FUUFrfDLYw+Bg+aMwYSiXp /iwQgtgp5EJvmCUfcaO+JZAzAEQD+NHfPyIa4dzC9AvtQbBQXUSs36tNBcneLA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1587197786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8UVyHx7NIC/iT4V03JJ3QM8Tk0E4oBN12ujvS1yYKXg=; b=FHIQ4iDM7D8MilCbrwxWZ4sTdB8T/yEHYOUEhbQhu2TR6W+dBoivbMUTUFTc2QeOQUWg1c YsXLNYqzBJ89jMDQ== To: "IPFire: Development-List" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] kernel: enable CONFIG_DEBUG_WX on aarch64 Message-ID: <0c5a219d-21e8-9c0d-c3f5-4c516361a8d1@ipfire.org> Date: Sat, 18 Apr 2020 10:16:23 +0200 MIME-Version: 1.0 Content-Language: en-US Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=peter.mueller@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Since this is described as 'Generate a warning if any W+X mappings are found at boot.', it most likely does not break anything and can be safely enabled. Fixes: #12373 Cc: Arne Fitzenreiter Signed-off-by: Peter Müller Acked-by: Michael Tremer --- config/kernel/kernel.config.aarch64-ipfire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire index 32ad2df07..eb914365f 100644 --- a/config/kernel/kernel.config.aarch64-ipfire +++ b/config/kernel/kernel.config.aarch64-ipfire @@ -6572,7 +6572,7 @@ CONFIG_IO_STRICT_DEVMEM=y # CONFIG_ARM64_PTDUMP_DEBUGFS is not set # CONFIG_PID_IN_CONTEXTIDR is not set # CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set -# CONFIG_DEBUG_WX is not set +CONFIG_DEBUG_WX=y CONFIG_DEBUG_ALIGN_RODATA=y # CONFIG_ARM64_RELOC_TEST is not set # CONFIG_CORESIGHT is not set