glibc/sysdeps/mach
Adhemerval Zanella afcf3cd8eb New internal function __access_noerrno
Implement an internal version of __access called __access_noerrno that
avoids setting errno.  This is useful to check accessibility of files
very early on in process startup i.e. before TLS setup.  This allows
tunables to replace MALLOC_CHECK_ safely (i.e. check existence of
/etc/suid-debug to enable/disable MALLOC_CHECK) and at the same time
initialize very early so that it can override IFUNCs.

Checked on x86_64.

	* hurd/hurd.h (__hurd_fail_noerrno): New function.
	* include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
	__access_noerrno.
	* io/access.c (__access_noerrno): New function.
	* sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
	(hurd_fail_seterrno): Likewise.
	(access_common): Likewise.
	(__access_noerrno): Likewise.
	* sysdeps/nacl/access.c (__access_noerrno): Likewise.
	* sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
	* sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
	macro.
2016-11-16 15:53:58 -02:00
..
hurd New internal function __access_noerrno 2016-11-16 15:53:58 -02:00
i386 hurd: Fix stack pointer corruption in syscall 2016-09-22 02:43:39 +02:00
sys Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
_strerror.c
adjtime.c
configure
configure.ac
getloadavg.c
getpagesize.c
getsysstats.c
gettimeofday.c
libc-lock.h
Makefile
mprotect.c
msync.c
munmap.c
nanosleep.c
pagecopy.h
readonly-area.c
sched_yield.c
sleep.c
strerror_l.c
Subdirs
sysdep.h
thread_state.h
usleep.c
xpg-strerror.c