From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B80EC433FE for ; Sun, 6 Nov 2022 09:33:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 608836B0072; Sun, 6 Nov 2022 04:33:32 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 590A16B0073; Sun, 6 Nov 2022 04:33:32 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 431CD6B0074; Sun, 6 Nov 2022 04:33:32 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 30E6E6B0072 for ; Sun, 6 Nov 2022 04:33:32 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id D6032A05CD for ; Sun, 6 Nov 2022 09:33:31 +0000 (UTC) X-FDA: 80102504622.27.AA9A0A9 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf14.hostedemail.com (Postfix) with ESMTP id 697FB100002 for ; Sun, 6 Nov 2022 09:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667727210; 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=Zh55VMQOWIkhaJAfQsJ8QsFJiksbwnIoMMdZI6R95ts=; b=MhcZA1O9zaqzWvfOv0s63Gj2mmb5ZHjNTcMF9i6yeHXV+ARW0NhMANAJ5os/Hd39DvYqU4 LEmdQKOHoo4IvZ2m2EV+w4hzhK0SMAZOniWy45hbHx4n1cUBA5TvOlSvCdruEeL4AuOp9I mo/Ix86Z5r8KdOojA7+p2sgNep5ZOX0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-96-_TRw53ORONGgtKkEmETIFA-1; Sun, 06 Nov 2022 04:33:25 -0500 X-MC-Unique: _TRw53ORONGgtKkEmETIFA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0760238041D5; Sun, 6 Nov 2022 09:33:24 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.37]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E146C40C2064; Sun, 6 Nov 2022 09:33:11 +0000 (UTC) From: Florian Weimer To: "H.J. Lu" Cc: Rick Edgecombe , x86@kernel.org, "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V . Shankar" , Weijiang Yang , "Kirill A . Shutemov" , John Allen , kcc@google.com, eranian@google.com, rppt@kernel.org, jamorris@linux.microsoft.com, dethoma@microsoft.com, akpm@linux-foundation.org, Yu-cheng Yu Subject: Re: [RFC 37/37] fs/binfmt_elf: Block old shstk elf bit References: <20221104223604.29615-1-rick.p.edgecombe@intel.com> <20221104223604.29615-38-rick.p.edgecombe@intel.com> Date: Sun, 06 Nov 2022 10:33:10 +0100 In-Reply-To: (H. J. Lu's message of "Fri, 4 Nov 2022 15:56:16 -0700") Message-ID: <87iljs4ecp.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667727211; a=rsa-sha256; cv=none; b=a06lRQ+OXf48EB8Gi89DiBhB+A+AxOvgUXOa8b7JnaTh/XfOFij2dhuZA3lSPFzO30Yqgb dkbdbALEucNmzQeFndiM4vX2C45gfzfZpdkdgBpdp1ObetnPPX8It7iaDEzl6GbyyzLEXC YRNkxjzl0ZJAtH9F1yv81gTJS6CLw5A= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=MhcZA1O9; spf=pass (imf14.hostedemail.com: domain of fweimer@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=fweimer@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667727211; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Zh55VMQOWIkhaJAfQsJ8QsFJiksbwnIoMMdZI6R95ts=; b=dCokUFzNuSt5FC84utdRd+62SlLJ3++hVw9GukvSY2vuNSyK0ytunklCPRrp3PfZ+fj2p4 XEB1wyvYIhvkh0bYpDbNbazkF4b+gdoqSs4NmpxiCHnzxxa1tsbLSeVtQ0j0nThK1lvQ8S 4XpBILayYaghHrxEEDue2AR+cfBbajI= X-Stat-Signature: k7t1f3zpirozxobqptoenp1asxreaepc X-Rspamd-Queue-Id: 697FB100002 Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=MhcZA1O9; spf=pass (imf14.hostedemail.com: domain of fweimer@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=fweimer@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1667727211-376976 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: * H. J. Lu: > This change doesn't make a binary CET compatible. It just requires > that the toolchain must be updated and all binaries have to be > recompiled with the new toolchain to enable CET. It doesn't solve any > issue which can't be solved by not updating glibc. Right, and it doesn't even address the library case (the kernel would have to hook into mmap for that). The kernel shouldn't do this. Thanks, Florian