[1.7] bugs in faccessat

Eric Blake ebb9@byu.net
Thu Sep 3 19:09:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 9/3/2009 9:58 AM:
> faccessat has at least two, and probably three bugs.

Here's a fix for 1 (typo) and 3 (check for EINVAL in more places), but not
for 2 (euidaccess, and the followup request of lchmod).

2009-09-03  Eric Blake  <ebb9@byu.net>

	* syscalls.cc (faccessat): Fix typo, reject bad flags.
	(fchmodat, fchownat, fstatat, utimensat, linkat, unlinkat): Reject
	bad flags.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqgFEkACgkQ84KuGfSFAYBE9ACfYroQbQizKsx4/tSYwB8EYoMf
qvEAnizvKp4IlNCOJcuESiy+X+/CwcK/
=86aK
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch19
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090903/e3abbf51/attachment.ksh>


More information about the Cygwin-patches mailing list