Re: [PATCH 1/2] Implement fchmodat4 syscall

2015-05-12 Thread Michael Kerrisk
[expanding CC] On Mon, May 11, 2015 at 4:07 AM, William Orr wrote: > Adds fchmodat4 which more closely matches POSIX by taking 4 arguments, > including the flags argument. flags are the same as fchownat(2), implementing > both AT_SYMLINK_NOFOLLOW and AT_EMPTY_PATH > > Based heavily off of Andrew

[PATCH 1/2] Implement fchmodat4 syscall

2015-05-10 Thread William Orr
Adds fchmodat4 which more closely matches POSIX by taking 4 arguments, including the flags argument. flags are the same as fchownat(2), implementing both AT_SYMLINK_NOFOLLOW and AT_EMPTY_PATH Based heavily off of Andrew Ayer's patch from 2012. --- fs/open.c| 19 +--