Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2237858rwd; Fri, 9 Jun 2023 08:26:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RAHaa0rdT3phG+mNDxhfepfV6FOKHtXBhAua38m2+F12LM+vcXgx45UVqp+Z/Cq+QDhAU X-Received: by 2002:a05:6a20:5496:b0:102:5f75:91ea with SMTP id i22-20020a056a20549600b001025f7591eamr1379587pzk.47.1686324367711; Fri, 09 Jun 2023 08:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686324367; cv=none; d=google.com; s=arc-20160816; b=jYF1YB+w6YDXciQgTxlSASooWxbb4chnkB6iHR1BQu1mGiHiXAKQNbtRa9G2uGX4Zf nRd1ThqGGFxNZSqI6GoNEsWsJm+har6BuNmSnExkcwvBiOHMWp1OQ4wuNaSsAugSKFRq /pjejik5Yd1TDUbclivUG5BK4KXK0junpH/Wv0Ja2yu5MaOb9aPRjc1fnGe/i7eyGih+ cmaKSBBYsUEgUH1HhPowAa4TIY39UOwymY2iCDtDMC5YNy3shCSw2HeEkmUZ+FVbVfTd PmQIHLe2XUZYlsm77x0cplfLvFqFLrRh9HZ8F995thK55+ROrzDh+arcwRtArjDyrPs7 93tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=MosQMefhrKOUuw2s0mVZDUWakYUBZCBbY1BlwoG1YQI=; b=VIPPV+BwzIOAv8I1nTiFs59JJYkDOuzRjKK12SbnjBPGKeXN+LgkvzQhSmWgHR6uvT 7cz6HLv7uYiELDH4uvbiHfT2wPuREzW6ZWFQqDcbBDyucYrT3uheIx3QPwOvS67Ufx2S IG8wkEctIWF44sBHwIUpFxFVPAMuftIKns9+7fgkuYbSCdPJzXhsh1OJi3OJbcgq7T1x wRQ/DJVMTYHYkTAvqxNOD1WDNrreAp4Rff6go/Wr3HefvSi/SVMv9vZWrDgKkpkPN0EM IQBTQe+EKcEE/smdjA+vJx+RH/9Bb2CbCyvsVVizeD/UNCGnAVUU1msIl+56i1RDCTjZ 6aUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZvGkZ8iq; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s65-20020a637744000000b005406e76606csi2759161pgc.900.2023.06.09.08.25.55; Fri, 09 Jun 2023 08:26:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZvGkZ8iq; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbjFIPGn (ORCPT + 99 others); Fri, 9 Jun 2023 11:06:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232169AbjFIPGl (ORCPT ); Fri, 9 Jun 2023 11:06:41 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD74E2D6B for ; Fri, 9 Jun 2023 08:06:28 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686323187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MosQMefhrKOUuw2s0mVZDUWakYUBZCBbY1BlwoG1YQI=; b=ZvGkZ8iqRvUtEmUevyclYg7iW/oDU9p4vN0AhUgeefL6N06/IchCRxNIaBsn7zNflKSMZV gyIezOp0p4+cwMS2vkWsfF0fUD+av99KVARbKM4Nj1Z9oU7N76u6kRTbep2BxHJ5mX3q1E BW44UR/BVzJg3f3YkzISNTjn85hs5sbbcyCe4bPepmkhqXkVXAFHMVWYNqhRSo/3+pdH6z sRuw4psFqQ+hXTtozFbFaexk1NQuMeerRKALm1Y140Brk7V25Sz2GQ/LvlkjrAXgGUVzSz oaXfY/B4tSTk/G80E6hqXD+qZcAgF2URIOKXrVXzVEyQ/sakP4Hph1JBhgq2Cw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686323187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MosQMefhrKOUuw2s0mVZDUWakYUBZCBbY1BlwoG1YQI=; b=PQF3QPawS1BMjtfTVgTOnSAmgH+h2eQ4gEn3BgPmooMSDND1h7uSwPWMMlevqLoq4FY97W NvkHTUmQ19WIbUDw== To: Nikolay Borisov , x86@kernel.org Cc: linux-kernel@vger.kernel.org, mhocko@suse.com, jslaby@suse.cz, Nikolay Borisov Subject: Re: [PATCH v2 1/4] x86: Introduce CONFIG_IA32_EMULATION_DEFAULT_DISABLED Kconfig option In-Reply-To: <20230609111311.4110901-2-nik.borisov@suse.com> References: <20230609111311.4110901-1-nik.borisov@suse.com> <20230609111311.4110901-2-nik.borisov@suse.com> Date: Fri, 09 Jun 2023 17:06:26 +0200 Message-ID: <87jzwcisjx.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Fri, Jun 09 2023 at 14:13, Nikolay Borisov wrote: > Distributions would like to reduce their attack surface as much as > possible but at the same time they have to cater to a wide variety of > legacy software. One such avenue where distros have to strike a balance > is the support for 32bit syscalls on a 64bit kernel. Ideally > distributions would have a way to set that policy in their kernel config > files and at the same time users should also have the ability to > override this decision. Introduce such mechanism in the face of > CONFIG_IA32_EMULATION_DEFAULT_DISABLED compile time option, which > defaults to 'N' i.e retains current behavio in case > CONFIG_IA32_EMULATION is enabled. If, however, a distributor would like > to change this policy they can do so via the newly introduced > CONFIG_IA32_EMULATION_DEFAULT_DISABLED. As a final note allow users to > override the decision via the ia32_mode boot time parameter. Can you please stop rushing stuff out instead of sitting down first and reading the documentation others have put together for reasons? I gave you the pointers and I'm refusing to read and decode the above. Here it is again: https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#changelog It's not that hard, really. Thanks, tglx