From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Ayer Subject: Re: [PATCH 1/2] vfs: Add fchmodat4 syscall: fchmodat with flag argument Date: Tue, 21 Jan 2014 10:57:35 -0800 Message-ID: <20140121105735.56cc4ec41a6f20719a70d19e@andrewayer.name> References: <1326419626-22568-1-git-send-email-agwa@andrewayer.name> <1326419626-22568-2-git-send-email-agwa@andrewayer.name> <52DE2208.9040908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Florian Weimer , Alexander Viro Return-path: In-Reply-To: <52DE2208.9040908@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 21 Jan 2014 08:30:16 +0100 Florian Weimer wrote: > On 01/13/2012 02:53 AM, Andrew Ayer wrote: > > This adds a 4 argument version of fchmodat (fchmodat4) that > > supports a flag argument, as specified by POSIX. It supports > > the same two flags as fchownat: AT_SYMLINK_NOFOLLOW and AT_EMPTY_PATH. > > I don't think it's possible to emulate AT_EMPTY_PATH in user space, so I > wonder if this could be applied, and if not, why. Thanks. The original patch no longer applies because there were some minor changes to fs/open.c. I'll fix up the patch and send it in. I too would very much like to see this applied, or to know why it can't be. Thanks, Andrew