[PATCH 0/3] Some O_PATH fixes

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 28 17:06:00 GMT 2020


On Jan 27 13:21, Ken Brown wrote:
> Ken Brown (3):
>   Cygwin: fhandler_base::fstat_fs: accomodate the O_PATH flag
>   Cygwin: fhandler_disk_file::fstatvfs: refactor
>   Cygwin: FIFO::fstatvfs: use our handle if O_PATH is set
> 
>  winsup/cygwin/fhandler.h            |  1 +
>  winsup/cygwin/fhandler_disk_file.cc | 24 +++++++++++++++++-------
>  winsup/cygwin/fhandler_fifo.cc      |  8 ++++++++
>  3 files changed, 26 insertions(+), 7 deletions(-)
> 
> -- 
> 2.21.0

Patches are looking good to me.

As outlined on IRC, I found a problem with the ACLs created on new
FIFOs and frixed that (I think).  However, Cygwin doesn't actually
return the real permissions in stat(), only the constant perms 0666,
kind of like for symlinks.  I didn't have time to look into that yet,
but it would be great if we could fix that, too.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20200128/a2dce018/attachment.sig>


More information about the Cygwin-patches mailing list