Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp670892rdb; Mon, 29 Jan 2024 14:38:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOgLjJ1HvlM3gPBP2IrnbUsEFmIWCGuKtpv1yxNMbhhxCSrhIGyTKLd11uVi1FuIRQ0U34 X-Received: by 2002:a17:902:db10:b0:1d7:24a3:e7b6 with SMTP id m16-20020a170902db1000b001d724a3e7b6mr4954921plx.123.1706567930278; Mon, 29 Jan 2024 14:38:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706567930; cv=pass; d=google.com; s=arc-20160816; b=DkXbRlq8hG0nTqTebrqKo5I5CF/GA0TS3Ko9+Ux1mB73ZnrBsZegmGGXzQwJ0wWsXl p1OKl6Vn3+hVr3+rwrjXm/HAb3UXu53RrlTOeVSdUiSEVs2nXNi9EftZBqKeNgFG5qpY q68pIN8Zt0TEkt3PaUwr+Oy9qCXRYVOm/VJLJXduEhDsT3bwG2kpDppHc18xKOhC23+B 8baZRC9nkCUj8GH/KtvNRhEKcbLWlqLNluaCfndaNYnlWd6yjEQ4chlc4yGASqlMNTa3 UHZDHRQAqyUB0AwQvyi55xkLcFIExpZJEVxS1RiZiCBMJzuoC/PGy/6S62poewxHr1yC iC7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=yAQLX1Us/QviIhk0kzQZyMSxjm5vzw6rQEyBltA/iOM=; fh=XmCZNc5Je3L1ENCN7u4FP9rz0gqMu8XiyEG/DffiJBQ=; b=cOVAiCU63LuFp3OCxSz/NxPMpGV0ezbiwbcIDk3unC1mAXYSntJxVvr8jBarRSrx52 DHvNObUAOymQXZPQMmOfePW6e3G4ltdQQlKYhaPln/h43dYyezkwky7SaGyX/T1BEyah 6IpoErFl8uyNzeiV0dXPFchqwhO2DEpkNGN/xGfiLXa2xkJYBlOmlG8W9tgiKpz2VtQB iX/hhoY5hVWzTIw7aKfbWcJXHrvow8w/1fed8q9XmRuMjA18G24tjbsM9TQrLmDe1uG6 Gwk9nWHYFC0ERGNJW4ADC0DQ9u8WfViZ0+sZBbh9M0Uv/AMrreqOIfNNeTA9pIyFxsYp nydQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=cf1MSkKV; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-43577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g18-20020aa78752000000b006dde1386a04si6193224pfo.398.2024.01.29.14.38.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 14:38:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=cf1MSkKV; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-43577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AD604B248BA for ; Mon, 29 Jan 2024 22:37:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B9F24F5ED; Mon, 29 Jan 2024 22:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="cf1MSkKV" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BAD73DB9B; Mon, 29 Jan 2024 22:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706567827; cv=none; b=igr0bdk/AsCDRyvJEzMP/NayUCvfvCRg1NsDtTKAbG84+nc74MHAgmiMC2LsgDo4hep1DC0dVCxvmflVsvJysyLJWDEeiBdMaZg43wmCSrRMbQg+JVNIDZILsOg5ooUhixiUlZGCpuaGPz/zpgr6MuiQZNB+MzwznNDiDCd+5Y4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706567827; c=relaxed/simple; bh=wUepOEIuKF+pt+mzZ2cf9etKM0arZg3q5iaJxXS0bzo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=c6xjihqPNaftBxYhcTnj0HK4gY+Obt5HH8z2NpilaB0vEDvPHB9RZOijztBgh9eLwtusNSkDw9umFUf6HG4DlLJaxTd3ffc40mgpKMDgKR7ECK9FQbTTHKEspNZ2p8dFPxHRbzNAg7ZUVSME1VR1wGGdrConuwgsO2qDn4zWDLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=cf1MSkKV; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 3240145ACB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1706567819; bh=yAQLX1Us/QviIhk0kzQZyMSxjm5vzw6rQEyBltA/iOM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=cf1MSkKVSY/OCJo9th/8LlckbTbMMN2vX+Va6XC28KEHxn2wQ+7vhiRCkeE2tbUAX wz/3LWvvkxUbuF3Ng4gg4PTrMqIa3CVMUj2qRrpmRxWELO6bi8a1St8oGfQhk1mD2a AuSKk2U124EDipQwFM8kG5/Q/rC+2254pIn+A7Ky6SC1y//6BE+0NfMA6cbtsQPcJr B1oYQRjJXaRX6ppsqE20RM6u7zudzYsojUlRW5rLTAB0PaxuO4eUSnHtaMxCEe10MG 0BTo8rYazwWruk4gOc9g+dSLsDhEyBovIWdrvSMKLiGmzM0lKfW3zwpsZ+W1X1M/eU rhUAYLY4uTGrw== Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 3240145ACB; Mon, 29 Jan 2024 22:36:59 +0000 (UTC) From: Jonathan Corbet To: jeffxu@chromium.org, akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, rdunlap@infradead.org Cc: jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, deraadt@openbsd.org, Jeff Xu Subject: Re: [PATCH v7 0/4] Introduce mseal() In-Reply-To: <20240122152905.2220849-1-jeffxu@chromium.org> References: <20240122152905.2220849-1-jeffxu@chromium.org> Date: Mon, 29 Jan 2024 15:36:58 -0700 Message-ID: <87a5ong41h.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain jeffxu@chromium.org writes: > Although the initial version of this patch series is targeting the > Chrome browser as its first user, it became evident during upstream > discussions that we would also want to ensure that the patch set > eventually is a complete solution for memory sealing and compatible > with other use cases. The specific scenario currently in mind is > glibc's use case of loading and sealing ELF executables. To this end, > Stephen is working on a change to glibc to add sealing support to the > dynamic linker, which will seal all non-writable segments at startup. > Once this work is completed, all applications will be able to > automatically benefit from these new protections. Is this work posted somewhere? Having a second - and more generally useful - user for this API would do a lot to show that the design is, in fact, right and useful beyond the Chrome browser. Thanks, jon