Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1203276pxk; Thu, 10 Sep 2020 09:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsj8YXVJgdIZhq65qK+H72miXltZtFhBMi/+JqYc0FjN7CTaJMP7yjGQ5Lq/+Ojl1CDsgx X-Received: by 2002:a50:fd87:: with SMTP id o7mr9916985edt.180.1599755148408; Thu, 10 Sep 2020 09:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599755148; cv=none; d=google.com; s=arc-20160816; b=lwalNHWMSKCIK8SAgVw1JCP+DSkko86KlPa8TFdHzJra2ibnIiNnQ3DaWicgeKJKrT CsmjWq1SBIS+bMpwNyFzX4rHfpnvlNjy4srhc4Lp5G3VATlS7FgfnWJT1oNphU8mDcF+ EzpjuGiBIY2AnAK+E5xz1Lj7PaV/GtBvNie46UZrUj8BWfj+gZiVCwsuD5g23D2qRLSU wC9+j/lYuOZiwBehbZCFkBR8/2xrvHhsDlZHCH/AsasH0jERxjSfeF/EWRYI/RuTganB eUdFqulYA34sYA+AzdWHJOuUAOB963lwrTp7w8R8xjled3tUJ+CGVgelwc3BEKJPT88r 0q6Q== 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 :dkim-signature; bh=Y9qfXyLFuBmPMsAM81BTuaovsSrAemSXS1djruQmIgM=; b=WrZHLoNZXN1luSJVuraP1SpQCnoM14jyRKInYLqc518xkqxsXM4xg2pTD2Y9IZlU0d X4/9hUP7poGdTgBPo9pR5gcXTB10zwIEgdDkykD71gatYpZbLHdO+zNeXBDNc3usV25k spnc/0P4vdTpYQzS03QWSZuCSGejmcCkpWI/pkERDF4KlFfdI9UXvJsv1VQzuEL2yORa pwGFtjKHTk7IVSQ8SeD1HAllOLSz6DvV+xxsZZIR4OwJvRIJtRm2tYB3X/1Z6jErrAYV nNsd1SNRAF4WjbTTOQRsQCLbWQXKastLncixenDKL+3sg9iSRx/Z+uHnOzE8pb4uzPki bo+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=P26BvPCQ; 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 m7si4076603edq.34.2020.09.10.09.25.25; Thu, 10 Sep 2020 09:25:48 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=P26BvPCQ; 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 S1726675AbgIJQYX (ORCPT + 99 others); Thu, 10 Sep 2020 12:24:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbgIJQVF (ORCPT ); Thu, 10 Sep 2020 12:21:05 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41B2BC061757; Thu, 10 Sep 2020 09:21:01 -0700 (PDT) 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=Y9qfXyLFuBmPMsAM81BTuaovsSrAemSXS1djruQmIgM=; b=P26BvPCQWoDrSnm2S2ktrnzed2 /aTjVZiWCO8WPdNxU/TC1je82rkKizrMWuFlHF6W18GU/GlN1pvGv5S2zvxff+yfe7wxCBuMShPtu UL3sUu5B7HEE7n9SyFucf71P4mhc7o1GfGcs05HFy1qcZGWzOA9PrQ63xOr0gOFhc5imy2pEWOEoT jRAg5fvYHC/mIx6unVgGy9VVUvn8lz/f1J/zj0AtRU7ZEhZsiZOjB2ukyF1C58GpDzIEIruATUDxi oM4sf7QNwSZe93ekpFGjxUNQ5FlsJkarZx99CihOJc6qpzVU4dJdts2ZBysu4eExyzFAcsBORY9PX jH1gq3vA==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGPJj-0004t4-8I; Thu, 10 Sep 2020 16:20:59 +0000 Date: Thu, 10 Sep 2020 17:20:59 +0100 From: Christoph Hellwig To: Rich Felker Cc: linux-api@vger.kernel.org, Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vfs: add fchmodat2 syscall Message-ID: <20200910162059.GA18228@infradead.org> References: <20200910142335.GG3265@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910142335.GG3265@brightrain.aerifal.cx> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 10:23:37AM -0400, Rich Felker wrote: > userspace emulation done in libc implementations. No change is made to > the underlying chmod_common(), so it's still possible to attempt > changes via procfs, if desired. And that is the goddamn problem. We need to fix that _first_. After that we can add sugarcoating using new syscalls if needed.