From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Weimer Subject: Re: [PATCH 1/2] vfs: Add fchmodat4 syscall: fchmodat with flag argument Date: Tue, 21 Jan 2014 08:30:16 +0100 Message-ID: <52DE2208.9040908@redhat.com> References: <1326419626-22568-1-git-send-email-agwa@andrewayer.name> <1326419626-22568-2-git-send-email-agwa@andrewayer.name> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Andrew Ayer , Alexander Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17988 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841AbaAUHaW (ORCPT ); Tue, 21 Jan 2014 02:30:22 -0500 In-Reply-To: <1326419626-22568-2-git-send-email-agwa@andrewayer.name> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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. -- Florian Weimer / Red Hat Product Security Team