* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
/dev/full permissions to Linux.
This commit is contained in:
parent
015566ed00
commit
27f8495dd5
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
|
||||||
|
/dev/full permissions to Linux.
|
||||||
|
|
||||||
2013-10-22 Christopher Faylor <me.cygwin2013@cgf.cx>
|
2013-10-22 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than
|
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than
|
||||||
|
|
|
@ -1250,9 +1250,6 @@ fhandler_base::fstat (struct stat *buf)
|
||||||
case FH_PIPER:
|
case FH_PIPER:
|
||||||
buf->st_mode = S_IFIFO | S_IRUSR;
|
buf->st_mode = S_IFIFO | S_IRUSR;
|
||||||
break;
|
break;
|
||||||
case FH_FULL:
|
|
||||||
buf->st_mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
|
buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue