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 X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 421D2C433E2 for ; Thu, 10 Sep 2020 16:24:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0C6B2075A for ; Thu, 10 Sep 2020 16:24:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="P26BvPCQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726773AbgIJQYb (ORCPT ); Thu, 10 Sep 2020 12:24:31 -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.