about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-04-19 23:25:40 +0000
committerRoland McGrath <roland@gnu.org>2001-04-19 23:25:40 +0000
commitd81b986bea1bdfbf3a27131df9decbf09882654a (patch)
treecde4bb8e03a78bd69401d89661cf659abe0aa541 /sysdeps/unix
parent5017b2c845c235542b3101b9cf648f72b9f6ed3e (diff)
downloadglibc-d81b986bea1bdfbf3a27131df9decbf09882654a.tar.gz
glibc-d81b986bea1bdfbf3a27131df9decbf09882654a.tar.xz
glibc-d81b986bea1bdfbf3a27131df9decbf09882654a.zip
* sysdeps/mach/hurd/mlock.c: New file.
	* sysdeps/mach/hurd/munlock.c: New file.
	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.

	* misc/Makefile (routines): Add mlock munlock mlockall munlockall.
	* sysdeps/generic/mlock.c: New file.
	* sysdeps/generic/munlock.c: New file.
	* sysdeps/generic/mlockall.c: New file.
	* sysdeps/generic/munlockall.c: New file.
	* sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
	* sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
	mlockall, munlockall): Change caller field to - from EXTRA.
	Don't use __ names; not used (and not declared in include/sys/mman.h).
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 2f72679452..7ca6e48c8c 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -23,13 +23,13 @@ klogctl		EXTRA	syslog		i:isi	klogctl
 lchown		-	lchown		i:sii	__lchown	lchown
 madvise		-	madvise		i:pii	posix_madvise	madvise
 mincore		-	mincore		i:anV	mincore
-mlock		EXTRA	mlock		i:bn	__mlock	mlock
-mlockall	EXTRA	mlockall	i:i	__mlockall	mlockall
+mlock		-	mlock		i:bn	mlock
+mlockall	-	mlockall	i:i	mlockall
 mmap		-	mmap		b:aniiii	__mmap		mmap
 mount		EXTRA	mount		i:sssip	__mount	mount
 mremap		EXTRA	mremap		b:aini	__mremap	mremap
-munlock		EXTRA	munlock		i:ai	__munlock	munlock
-munlockall	EXTRA	munlockall	i:	__munlockall	munlockall
+munlock		-	munlock		i:ai	munlock
+munlockall	-	munlockall	i:	munlockall
 nanosleep	-	nanosleep	i:pp	__libc_nanosleep	__nanosleep nanosleep
 nfsservctl	EXTRA	nfsservctl	i:ipp	nfsservctl
 pause		-	pause		i:	__libc_pause	pause