Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1155354ybh; Sun, 19 Jul 2020 10:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRfANE01PDcliSEUdRfkqpu1m8KC0vCGUrkZ/SYSKPw+5uz3FxJzz7oWphLiPITsTanOuT X-Received: by 2002:aa7:c407:: with SMTP id j7mr17939694edq.96.1595178723479; Sun, 19 Jul 2020 10:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595178723; cv=none; d=google.com; s=arc-20160816; b=fsDAbnZPyRsgldPWYUG0IjmlTDoWv02FtbUAhTytvLan62eSMd/WptJjHNfntiSIlK L7hn1ajbS9vkTbsQ5yPH80NhagEs6ppKgH3D34BUjYRAz9RC3i3f3GnaUIzEdtA1DpzB Akibusj6W+biL6/Wh7FqzEjSIv+pQ0AY+bE8xVRNxkDErqllGkqjMgqH5Qfuoqub4SZy 1TtqEWF/h9Ys6bEmo8fd9Y38s9wnEkf+IeC0DyAYx/3zgcAQJ8qM2pldCoJ2v/Qx7lOG S2XNQJkiw4RdK4eHfSiBSRIUwcSw6FRzDJGvnzkgOqnACA8apDk9mYM7QFhBSeaMy19L X4Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=sk3xlKi5WtMVWc9CYK2DV7Mmkzub5iS2JLMdjfDxoWc=; b=BpN9modlOQGeflj4yVikgg0wxIvXa7y3yRYZ0n2HBmY/rSYY822FwtRs4OdUD5NZcN zF3QpZXNY1hH2ay0wjiztcskd6DoLs4bZWGw1WnEIJ3KjYT2J30WfsID8m9OmUnmGTWG wEBxQ19b3l8kDmljceFPCE+ih4WP7lQaPCDjIWiP4GOp6GDgDPszvoZcSdsJosLKxt+n 21BnP3Xo58Zc2tKNMZrW+tgEY3mxv3vOmWdty/oBWAg3guTJJsmyxcfpNNtXJ32vyWjT PuqfSzxQehfeCKjA2UMsOSzLGDuschZz1fH/R23XK7qFM6rSBtZuUkDmtyRAYNmLQmQi fWUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si9668509ejr.345.2020.07.19.10.11.41; Sun, 19 Jul 2020 10:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726503AbgGSRLD (ORCPT + 99 others); Sun, 19 Jul 2020 13:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgGSRLD (ORCPT ); Sun, 19 Jul 2020 13:11:03 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 472FBC0619D2; Sun, 19 Jul 2020 10:11:03 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxCpy-00G1OK-JZ; Sun, 19 Jul 2020 17:10:54 +0000 Date: Sun, 19 Jul 2020 18:10:54 +0100 From: Al Viro To: Christian Brauner Cc: David Howells , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Michael Kerrisk Subject: Re: [PATCH 0/4] fs: add mount_setattr() Message-ID: <20200719171054.GK2786714@ZenIV.linux.org.uk> References: <20200714161415.3886463-1-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200714161415.3886463-1-christian.brauner@ubuntu.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 06:14:11PM +0200, Christian Brauner wrote: > mount_setattr() can be expected to grow over time and is designed with > extensibility in mind. It follows the extensible syscall pattern we have > used with other syscalls such as openat2(), clone3(), > sched_{set,get}attr(), and others. I.e. it's a likely crap insertion vector; any patches around that thing will require the same level of review as addition of a brand new syscall. And they will be harder to spot - consider the likely subjects for such patches and compare to open addition of a new syscall...