diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-03-19 10:54:55 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-03-19 10:54:55 +0000 |
commit | c7ee75cd2e3e59d920c2539e70ce65358568f6fc (patch) | |
tree | 8e1460a8591ad030d66adebb3d97d928defa29fd | |
parent | 94b03f2380794f20fdc53873b6b03994a37c9579 (diff) | |
download | newlib-c7ee75cd2e3e59d920c2539e70ce65358568f6fc.zip newlib-c7ee75cd2e3e59d920c2539e70ce65358568f6fc.tar.gz newlib-c7ee75cd2e3e59d920c2539e70ce65358568f6fc.tar.bz2 |
* libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
_PC_POSIX_SECURITY constants for Cygwin.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6797a0c..1768d47 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and + _PC_POSIX_SECURITY constants for Cygwin. + Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de> * libc/sys/cygwin/crt0.c: Add copyright hint. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 9741daf..2da9879 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -228,6 +228,12 @@ extern const unsigned _cygwin_X_OK; # define _PC_ASYNC_IO 9 # define _PC_PRIO_IO 10 # define _PC_SYNC_IO 11 +#ifdef __CYGWIN__ +/* Ask for POSIX permission bits support. */ +# define _PC_POSIX_PERMISSIONS 90 +/* Ask for full POSIX permission support including uid/gid settings. */ +# define _PC_POSIX_SECURITY 91 +#endif /* FIXME: This is temporary until winsup gets sorted out. */ #ifdef __CYGWIN__ |