aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/mman
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-09 22:02:59 +0000
committerRoland McGrath <roland@gnu.org>1996-06-09 22:02:59 +0000
commit6d9756c910a07bb353af4d6908f88c1ddea15916 (patch)
tree772439fa7e24f4af9a9917a3c961108a246e96fe /sysdeps/unix/mman
parent9dd2fc5d87269219f3beb91462505b93ed24a552 (diff)
downloadglibc-6d9756c910a07bb353af4d6908f88c1ddea15916.zip
glibc-6d9756c910a07bb353af4d6908f88c1ddea15916.tar.gz
glibc-6d9756c910a07bb353af4d6908f88c1ddea15916.tar.bz2
* elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.cvs/libc-960610
* sysdeps/mach/mprotect.c: Define with __ name and weak alias. * sysdeps/stub/mprotect.c: Likewise. * sysdeps/unix/mman/syscalls.list (mprotect): Likewise. * sysdeps/generic/sys/mman.h: Declare __mprotect. * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
Diffstat (limited to 'sysdeps/unix/mman')
-rw-r--r--sysdeps/unix/mman/syscalls.list2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/mman/syscalls.list b/sysdeps/unix/mman/syscalls.list
index be0a57f..6375f59 100644
--- a/sysdeps/unix/mman/syscalls.list
+++ b/sysdeps/unix/mman/syscalls.list
@@ -2,6 +2,6 @@
madvise - madvise 3 madvise
mmap - mmap 5 __mmap mmap
-mprotect - mprotect 3 mprotect
+mprotect - mprotect 3 __mprotect mprotect
msync - msync 2 msync
munmap - munmap 2 __munmap munmap