Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1128887rdb; Fri, 1 Dec 2023 07:45:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNBlrw2D7d5AS5Emui32t6Fbzru0UUEE6eWgRfpPU76zSYysUWXy8H8RDkaT9MkWPJVEOv X-Received: by 2002:a05:6a20:7da0:b0:180:d33d:9256 with SMTP id v32-20020a056a207da000b00180d33d9256mr27950145pzj.58.1701445526804; Fri, 01 Dec 2023 07:45:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701445526; cv=none; d=google.com; s=arc-20160816; b=XH0K/hNfQHbddgLvNj/cR6+yOQ35ig97e9tssaFy1gAlUVITIofuqnRE5+Uu6vkmGh v3huOpcgVG4blx8N0J8ekpsUsbaQA0PshD/0tBUkM0ZKCEa+JwFABvn7hpQexfAkm8wq 8gk7jLALE2M1n0V3hRaHYJ36rwtzam+broHLEVNgR8IPiIE9bOSdO9gNE4Slw9A0Z2YO irS+ukD7HDE0E2NOVkjBDVdY4Bg0VkSRWFYDmwtJOdo82CG8s+fB+ZMwD9OtdVp8j29p fvkKCG+rcTiMKLX9yjE1KjOqau8I9auO0oFkKlZF13AWrtJiutOB4ZcIl1Jc8PAWlG3g Aoew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pOu9Ts9/NH6WGFGQ/MyCryal0Gt+vGg24iT6I25Vx2k=; fh=aLlDdR7b6s49QGnFfDqIb9Q5WDHLZ22JpV3lViRqM9E=; b=LIn5RAe3d/EBSmjsjsiGlyNf9Q63h3sTdupyOE3chfbt897oavuiwHj6MTziLohhTZ +GJogClDc7XC1LA2XEOQb6mikcJhX3yKAbq5RmxMpQrBvbJMkXbNTrPujbnrUO7f7jce eZq7wdGtLnojBqTerx4Ly0JCafIGTCW8xX9pVFX8zJs/zel7sXsNRi3+V15cCbAnqZj8 nBes9v+eOnJuK1Zqs5rUl0ul3rmxXML+aDaDYo9BzPSNq4bZiBKJ/tg/SLs3/tEhYnS/ 30vL5jvWGJsbTkK8kICA+8JY4ubbEsUCZZjstsPiixUrttszMyU5CzaqzpfuyBpqdAxl hPqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=ENwOg5bs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t190-20020a6381c7000000b005b8555564e2si3338044pgd.565.2023.12.01.07.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:45:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=ENwOg5bs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2C4468025737; Thu, 30 Nov 2023 11:34:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376477AbjK3Tee (ORCPT + 99 others); Thu, 30 Nov 2023 14:34:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376422AbjK3Ted (ORCPT ); Thu, 30 Nov 2023 14:34:33 -0500 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BEFE93 for ; Thu, 30 Nov 2023 11:34:40 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 5D7EC40E025A; Thu, 30 Nov 2023 19:34:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e6XQCArdnUgx; Thu, 30 Nov 2023 19:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1701372876; bh=pOu9Ts9/NH6WGFGQ/MyCryal0Gt+vGg24iT6I25Vx2k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ENwOg5bsTZDhEIWBYoIB1BgerPLB82HsC8TQwpJHRfvFOTJXh46IYqihGwHqHMBWI fa/faA2EADlxfa5Se7N/vEeaVavTFo8WZ0G8RMCWq3lwsignlV0YxjDRlbydqqPRnp m2fSTN2ACd+QpmX0mwl8cwYcQT17BzgkXBwSxEtm2fwUtkgt5unBBV5pauctCKnKdv ZI6kb/bDw7xFQBKB9S7D028hh9rqqT1oVmsuolhFH/LmMnJ1YA1dDG4rtKE38KjxZp Wr/CtgNqfi1MOVrHV9SvKCGyB5VWmRJ3JRhVCdgBwLoL1M9fcD+mYvhaZy/yjR8ztd m+Nn0PgQaQ8y9+UAsW7uidQ7NSSsrgEa46pPnXaeYubvfWn30LqhguU5htFRfK/t0r fdbTfpWhxUIn8YmQ6hvI1iAsYh7KjnpddCDJCnycVH1ZOZK5JFoC4u032VktPMJ5/M HTRf2atk3dr57AnP+GuQEisNkaDqUXfXDRnapTHWUZVwgKfFQajWZNUDhdmJkAmKQJ PQegIJgNmJkYNIs3DnlQV2gVh+FjOqdfzxhTSb0/5dmTgPmp08134hbaY4Eowh7p9Y 2fmLABP/o8dzZj8CIXwNR7URcklHH9A90eb7Gp5Hyp8jubX+ZGrQ/vVKp8a/G9lb2e K688+xBN7LuMS+W2J6GHmJt0= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 2947E40E0239; Thu, 30 Nov 2023 19:34:33 +0000 (UTC) Date: Thu, 30 Nov 2023 20:34:28 +0100 From: Borislav Petkov To: Nathan Chancellor Cc: X86 ML , LKML Subject: Re: [RFC PATCH] x86/Kconfig: Disable KASLR on debug builds Message-ID: <20231130193428.GNZWjjxKJ38Ruh7puz@fat_crate.local> References: <20231130120552.6735-1-bp@alien8.de> <20231130181051.GA3357088@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231130181051.GA3357088@dev-arch.thelio-3990X> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 30 Nov 2023 11:34:46 -0800 (PST) On Thu, Nov 30, 2023 at 11:10:51AM -0700, Nathan Chancellor wrote: > I know Peter pointed out that there is a runtime switch for this, which > should make this patch obsolete but in case there is more reasons needed > for why this might be a bad idea, Bad idea? Why? Because they'd have EXPERT enabled and thus disable KASLR by accident this way? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette