]> sourceware.org Git - glibc.git/commit
Fix hurd __access_noerrno implementation.
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 18 Nov 2016 18:41:00 +0000 (16:41 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 18 Nov 2016 18:49:08 +0000 (16:49 -0200)
commite92bd6e362470aa0a79cfb19a512944f0761184b
treec890d3d7f2a9680c4f9d6ac9d9b7f1e7b7328784
parentc73c7fc07c001f2a907a9c6d50c57d377ce0351f
Fix hurd __access_noerrno implementation.

This patch fixes some hurd bits from commit afcf3cd8eb that added the
__access_noerrno internal symbol.  It basically removes the nonrequired
__hurd_fail_noerrno (since the 'err' argument is ignored) and fixes
a typo for EACCES.

However, as stated on maillist [1] this __access_noerrno may still be
unsafe to run during initialization of tunables on the Hurd.  The
access_common calls __hurd_file_name_lookup, which calls
__hurd_file_name_lookup_retry, which can set errno.

[1] https://sourceware.org/ml/libc-alpha/2016-11/msg00646.html
ChangeLog
hurd/hurd.h
include/unistd.h
sysdeps/mach/hurd/access.c
This page took 0.043222 seconds and 5 git commands to generate.