diff options
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 6994f8f7b6..38e55acc43 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -542,22 +542,15 @@ __stat64 (const char *file, struct stat64 *buf) } libc_hidden_def (__stat64) -/* This function is called by the dynamic linker (rtld.c) to check - whether debugging malloc is allowed even for SUID binaries. This - stub will always fail, which means that malloc-debugging is always - disabled for SUID binaries. */ +/* This function is called by the dynamic linker (rtld.c) to check for + existence of /etc/ld.so.preload. This stub will always fail, which + means that /etc/ld.so.preload is unsupported. */ check_no_hidden(__access); int weak_function __access (const char *file, int type) { return __hurd_fail (ENOSYS); } -check_no_hidden(__access_noerrno); -int weak_function -__access_noerrno (const char *file, int type) -{ - return -1; -} int __rtld_execve (const char *file_name, char *const argv[], |