* sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy implementation for use by the dynamic linker.

2000-09-29  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/dl-sysdep.c (__access): New function.  Dummy
	implementation for use by the dynamic linker.
This commit is contained in:
Mark Kettenis 2000-09-29 21:40:26 +00:00
parent 1df99b5f25
commit ce1131e5e5
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-09-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
implementation for use by the dynamic linker.
2000-09-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by

View File

@ -654,6 +654,17 @@ __xstat (int vers, const char *file, struct stat *buf)
return 0;
}
/* 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. */
int weak_function
__access (const char *file, int type)
{
errno = ENOSYS;
return -1;
}
pid_t weak_function
__getpid ()
{