All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kenny Root <kroot@google.com>
To: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrew Ayer <agwa@andrewayer.name>
Subject: Re: [PATCH 0/2 RESEND] POSIX-compliant version of fchmodat with flag argument
Date: Tue, 18 Sep 2012 13:39:38 -0700	[thread overview]
Message-ID: <20120918203853.GA25180@google.com> (raw)
In-Reply-To: <1326419626-22568-1-git-send-email-agwa@andrewayer.name>

On Thu, Jan 12, 2012 at 05:53:44PM -0800, Andrew Ayer wrote:
> Besides the POSIX-compliance, this patch will make it possible to
> ensure, in a race-free way, that you do not follow symlinks when
> chmodding. Previously, you could open a file with O_NOFOLLOW and fchmod
> it, but this only worked if you had read or write permissions on the
> file.  Now you can open the file with O_PATH|O_NOFOLLOW and do fchmodat
> with AT_EMPTY_PATH.

Alexander, this patch solves a particular problem in a useful way. I
find it useful and I would be happy to see it included in mainline.

Thanks,
Kenny

      parent reply	other threads:[~2012-09-18 20:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13  1:53 [PATCH 0/2 RESEND] POSIX-compliant version of fchmodat with flag argument Andrew Ayer
2012-01-13  1:53 ` [PATCH 1/2] vfs: Add fchmodat4 syscall: " Andrew Ayer
2014-01-21  7:30   ` Florian Weimer
2014-01-21 18:57     ` Andrew Ayer
2014-01-21 18:58       ` [PATCH] vfs: Add version of " Andrew Ayer
2012-01-13  1:53 ` [PATCH 2/2] x86: Hook up new fchmodat4 syscall Andrew Ayer
2012-09-18 20:39 ` Kenny Root [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120918203853.GA25180@google.com \
    --to=kroot@google.com \
    --cc=agwa@andrewayer.name \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.