mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Implement fchmodat4 system call
@ 2015-05-11  2:07 William Orr
  2015-05-11  2:07 ` [PATCH 1/2] Implement fchmodat4 syscall William Orr
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: William Orr @ 2015-05-11  2:07 UTC (permalink / raw)
  To: linux-kernel

Hey,

Currently, Linux's fchmodat(2) doesn't honor the flags argument. To bring it
more in-line with POSIX and other implementations, this patch adds fchmodat4,
which honors the flags argument, and implements the same flags as fchownat(2).

This makes it possible to chmod a file without following symlinks, without
having to call open(2) on a file with O_NOFOLLOW. This is heavily based off
of Andrew Ayer's work in 2012, and is sent with his permission. Let me know
if this can be applied.

Please CC me, since I'm not subscribed to this list.

Thanks,
William Orr


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-12  8:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11  2:07 [PATCH] Implement fchmodat4 system call William Orr
2015-05-11  2:07 ` [PATCH 1/2] Implement fchmodat4 syscall William Orr
2015-05-12  8:48   ` Michael Kerrisk
2015-05-11  2:07 ` [PATCH 2/2] Define syscall number for fchmodat4 William Orr
2015-05-12  8:49   ` Michael Kerrisk
2015-05-12  8:48 ` [PATCH] Implement fchmodat4 system call Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®