Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2943057lqo; Tue, 14 May 2024 14:28:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPxFsBGKbZWmWyDsypu/5RCVs0zTRgMpz+sk5uR7FFesDTaX3LWiZICe+PXna0dLqs489Jow+LSj64hzNlnWr9lT4ZrE97e6P3OyeYdA== X-Google-Smtp-Source: AGHT+IHElq0hvQf8H0F16+KMM+LOZ3lkWtovVuJ6y0/HgA8jwk5B3Q6DAv+SYG+VFS6g/+MHICv9 X-Received: by 2002:a17:902:dacb:b0:1f0:84e3:a620 with SMTP id d9443c01a7336-1f084e3a898mr37304695ad.13.1715722127835; Tue, 14 May 2024 14:28:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715722127; cv=pass; d=google.com; s=arc-20160816; b=uDNsAPN7BIRHmHZPUWeWdRrJLq8Fm6EkY+6xMRK79buBngOYpqGzeBHoBRFobfNNeM b7lU0hflxHmu1IMxtQ9f1vLEXVvleHi8/s7n+M0Q/Unpyx1IxMz5iY9+cJ0g7dV1niEt 1sI/D5Hz464KUsLr3Ze51ju6mfy97enwaV3xBtnkVbvnxvvpsGEoMHs3mtmr30dwyqNY 3T3pYvEySwEf/KVs+CB4kgBv2TMyIV8UGd6aUb87SWopa/zpx8bdRVvXJqbP5NxkVnd7 +XwXndZ2JQFghViPEfJDb2ipZDJv9sdjBC82Nwmf4ixSaSNcJcWLHGdCEtzly96aooUe ha6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=18MZUUawb/h4MdJ2B0MrgZRDL4PYAEDgDX9KON4i6lc=; fh=le8/mMTdvqfbhQcN3rB4+KTDPIv1eh1gnplhmeHjqC0=; b=XrQLevzGRKNwfdjafDXmVUSrsmvCXJOyWge34/WZscYYyXBhta5G2opIQCNKxkdtxI cJ5pF1F4nBqibCwot+6gFNao/kfjmY+02Xff49pLGj3uCpk9wdYXN0sjKeGYMR2y25rN oBNSbuvXiutvKrrSg6+N2Bvz1iX88pSZPqhYaHkFLc4rqHcVi98+GlWeCt+jVj/j8/Rv Y3+kVDMY2+dv3g/JoVPOEZpfeWleT3j3C8F5w9j5afzTl6TgwkdfTYcTS4CdkZGAsGAP naGWpUIa+mDtX7+pjT9F2RAi7jAt7fqGXulG0USlti8aJvF7KCjji7hNOAXAIjtNUJro WQCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=r+ym+12D; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-179181-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179181-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf1a4si127056655ad.56.2024.05.14.14.28.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 14:28:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179181-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=r+ym+12D; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-179181-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179181-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 12B94282F7D for ; Tue, 14 May 2024 21:28:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91027181CFF; Tue, 14 May 2024 21:28:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="r+ym+12D" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 89A36181BA3; Tue, 14 May 2024 21:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715722110; cv=none; b=mX2PLX3wUjdDbB5i7EhJaQLKKDc57/2ionjlCF+Yye4EjKAdZuPCKNzLWMCeK4LXGD7CBIHLhN2aZKJUt2aQAVw0N/aBAF2rljKcQL/gxJ0xDXmzaxLilkacVRoAYP18sbK9VSzkITwQLQgxkkU4ObTIFVjVyY05Pip5j60DjIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715722110; c=relaxed/simple; bh=v0RcfcwgjnK6DXraXfbbO0hweNJe7AtF6Td2ScAX+f4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uUtcLR2/oedZ+njjW3EUM2WB8doNR8TRubuNCMCYZWgUfc9AfXvF0zz1jPtVpBZcsAOVY5JSDySm2Id0SuBVOwcqiodVsbwtvUc7QXZX/IWZV8J3HCWPvbQfEAQKOLWULt0rS/wvS9IXPcDPbY2lrYNw1mJA/UJhpyzN/fqbi78= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=r+ym+12D; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=18MZUUawb/h4MdJ2B0MrgZRDL4PYAEDgDX9KON4i6lc=; b=r+ym+12DadmXIqEpLKf2643jfL vyQHT+0RozPUfuV+RVz0aW6W8NuvhWmjpAgP7GeFcXlmaVBgCz/9eW6kfqGkGbXPF2QhtH3+J08rY ydmGCoc/qzLKre6U7YSK6rkO1m/SmtV0REeYhGVbZwgPeu8a1j2M680C+hed2l2cD6g8Wy22mKPvN qhPd9bzVX5ZScN/8atD34ZEXC4GDUKFEJ8jo4w73HhFLzfm3tkTBHbKpeoK8ggAgFS9bwvHEdaso9 nziKaHoELR3qKSgWGMgI5TNPaWcpkGJXCcX+/SZM9qtVMubjtpzZG9Dk6cyvwIbDa1uZRbflV893d c/oZ/jxA==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6zh3-00000009WDa-3cXA; Tue, 14 May 2024 21:28:18 +0000 Date: Tue, 14 May 2024 22:28:17 +0100 From: Matthew Wilcox To: Jonathan Corbet Cc: Andrew Morton , jeffxu@chromium.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, Liam.Howlett@oracle.com, surenb@google.com, merimus@google.com, rdunlap@infradead.org, 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 Subject: Re: [PATCH v10 0/5] Introduce mseal Message-ID: References: <20240415163527.626541-1-jeffxu@chromium.org> <20240514104646.e6af4292f19b834777ec1e32@linux-foundation.org> <871q646rea.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; charset=us-ascii Content-Disposition: inline In-Reply-To: <871q646rea.fsf@meer.lwn.net> On Tue, May 14, 2024 at 02:59:57PM -0600, Jonathan Corbet wrote: > Andrew Morton writes: > > > On Mon, 15 Apr 2024 16:35:19 +0000 jeffxu@chromium.org wrote: > > > >> This patchset proposes a new mseal() syscall for the Linux kernel. > > > > I have not moved this into mm-stable for a 6.10 merge. Mainly because > > of the total lack of Reviewed-by:s and Acked-by:s. > > > > The code appears to be stable enough for a merge. > > > > It's awkward that we're in conference this week, but I ask people to > > give consideration to the desirability of moving mseal() into mainline > > sometime over the next week, please. > > I hate to be obnoxious, but I *was* copied ... :) > > Not taking a position on merging, but I have to ask: are we convinced at > this point that mseal() isn't a chrome-only system call? Did we ever > see the glibc patches that were promised? I think _this_ version of mseal() is OpenBSD's mimmutable() with a basically unused extra 'flags' argument. As such, we have an existance proof that it's useful beyond Chrome. I think Liam still had concerns around the walk-the-vmas-twice-to-error-out-early part of the implementation? Although we can always fix the implementation later; changing the API is hard.