From a5c314221f0de1ba5cab590ba47a515fcd517d90 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Sat, 26 Sep 2009 09:39:17 -0600 Subject: [PATCH] doc: mention more cygwin 1.7 status * doc/posix-functions/access.texi (access): Mention cygwin 1.5 bug. * doc/posix-functions/execl.texi (execl): Likewise. * doc/posix-functions/execle.texi (execle): Likewise. * doc/posix-functions/execlp.texi (execlp): Likewise. * doc/posix-functions/execv.texi (execv): Likewise. * doc/posix-functions/execve.texi (execve): Likewise. * doc/posix-functions/execvp.texi (execvp): Likewise. * doc/glibc-functions/canonicalize_file_name.texi (canonicalize_file_name): Cygwin 1.7 now provides this. * doc/glibc-functions/euidaccess.texi (euidaccess): Likewise. * doc/posix-functions/fchmodat.texi (fchmodat): Mention limitation on AT_SYMLINK_NOFOLLOW. Signed-off-by: Eric Blake --- ChangeLog | 17 +++++++++++++++++ doc/glibc-functions/canonicalize_file_name.texi | 5 +++-- doc/glibc-functions/euidaccess.texi | 5 +++-- doc/posix-functions/access.texi | 8 ++++++++ doc/posix-functions/execl.texi | 3 +++ doc/posix-functions/execle.texi | 3 +++ doc/posix-functions/execlp.texi | 3 +++ doc/posix-functions/execv.texi | 3 +++ doc/posix-functions/execve.texi | 3 +++ doc/posix-functions/execvp.texi | 3 +++ doc/posix-functions/fchmodat.texi | 7 +++++++ 11 files changed, 56 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76978025e..385f04877 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2009-09-26 Eric Blake + + doc: mention more cygwin 1.7 status + * doc/posix-functions/access.texi (access): Mention cygwin 1.5 + bug. + * doc/posix-functions/execl.texi (execl): Likewise. + * doc/posix-functions/execle.texi (execle): Likewise. + * doc/posix-functions/execlp.texi (execlp): Likewise. + * doc/posix-functions/execv.texi (execv): Likewise. + * doc/posix-functions/execve.texi (execve): Likewise. + * doc/posix-functions/execvp.texi (execvp): Likewise. + * doc/glibc-functions/canonicalize_file_name.texi + (canonicalize_file_name): Cygwin 1.7 now provides this. + * doc/glibc-functions/euidaccess.texi (euidaccess): Likewise. + * doc/posix-functions/fchmodat.texi (fchmodat): Mention limitation + on AT_SYMLINK_NOFOLLOW. + 2009-09-24 Eric Blake test-linkat: make test more robust diff --git a/doc/glibc-functions/canonicalize_file_name.texi b/doc/glibc-functions/canonicalize_file_name.texi index 5d17e26c3..91ccaa773 100644 --- a/doc/glibc-functions/canonicalize_file_name.texi +++ b/doc/glibc-functions/canonicalize_file_name.texi @@ -7,8 +7,9 @@ Gnulib module: canonicalize-lgpl Portability problems fixed by Gnulib: @itemize @item -This function is missing on all non-glibc platforms: -MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, Interix 3.5, BeOS. +This function is missing on many non-glibc platforms: +MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. @item This function fails to detect trailing slashes on non-directories on some platforms: diff --git a/doc/glibc-functions/euidaccess.texi b/doc/glibc-functions/euidaccess.texi index 1eb156f18..5e3939170 100644 --- a/doc/glibc-functions/euidaccess.texi +++ b/doc/glibc-functions/euidaccess.texi @@ -7,8 +7,9 @@ Gnulib module: euidaccess Portability problems fixed by Gnulib: @itemize @item -This function is missing on all non-glibc platforms: -MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, Interix 3.5, BeOS. +This function is missing on many non-glibc platforms: +MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. @end itemize Portability problems not fixed by Gnulib: diff --git a/doc/posix-functions/access.texi b/doc/posix-functions/access.texi index cddfc54f4..8da410d03 100644 --- a/doc/posix-functions/access.texi +++ b/doc/posix-functions/access.texi @@ -12,4 +12,12 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +This function uses the effective id instead of the real id on some +platforms: +Cygwin 1.5.x. +@item +There is an inherent race between calling this function and performing +some action based on the results; you should think twice before +trusting this function in a set-uid or set-gid program. @end itemize diff --git a/doc/posix-functions/execl.texi b/doc/posix-functions/execl.texi index 6fe090936..05b6244cc 100644 --- a/doc/posix-functions/execl.texi +++ b/doc/posix-functions/execl.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/execle.texi b/doc/posix-functions/execle.texi index 86ddff6ae..a7d5cf909 100644 --- a/doc/posix-functions/execle.texi +++ b/doc/posix-functions/execle.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/execlp.texi b/doc/posix-functions/execlp.texi index c0ae315b4..b14b7bb8d 100644 --- a/doc/posix-functions/execlp.texi +++ b/doc/posix-functions/execlp.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/execv.texi b/doc/posix-functions/execv.texi index 717232478..c45583f1e 100644 --- a/doc/posix-functions/execv.texi +++ b/doc/posix-functions/execv.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/execve.texi b/doc/posix-functions/execve.texi index 0ef8eeaba..a78f656bf 100644 --- a/doc/posix-functions/execve.texi +++ b/doc/posix-functions/execve.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/execvp.texi b/doc/posix-functions/execvp.texi index f37da9048..bbac6b990 100644 --- a/doc/posix-functions/execvp.texi +++ b/doc/posix-functions/execvp.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, a script without executable permission is still run: +Cygwin 1.5.x. @end itemize diff --git a/doc/posix-functions/fchmodat.texi b/doc/posix-functions/fchmodat.texi index ffed0b9bb..3808f9357 100644 --- a/doc/posix-functions/fchmodat.texi +++ b/doc/posix-functions/fchmodat.texi @@ -17,4 +17,11 @@ But the replacement function is not safe to be used in libraries and is not mult Portability problems not fixed by Gnulib: @itemize +@item +Some platforms do not allow changing the access bits on symbolic +links. POSIX states that @code{fchmodat(@dots{},AT_SYMLINK_NOFOLLOW)} +may fail with @code{EOPNOTSUPP} when called on a symlink, but some +platforms, as well as the gnulib replacement, fail for any use of +AT_SYMLINK_NOFOLLOW even if the target was not a symlink: +glibc, Cygwin. @end itemize -- 2.11.0