This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove more overridden entries from sysdeps/unix/sysv/syscalls.list

sysdeps/unix/sysv/ is only used with the Linux kernel.  The only thing
left there other than the linux/ subdirectory is syscalls.list.  In
that syscalls.list, two syscall entries will never actually be used
because they are overridden by sysdeps/unix/sysv/linux/: ulimit is
overridden by sysdeps/unix/sysv/linux/ulimit.c (I missed that when
preparing my previous patch
<> to remove
syscalls overridden by .c files in sysdeps/unix/sysv/linux/), and
pause is overridden by an entry in
sysdeps/unix/sysv/linux/syscalls.list.  I propose this patch to remove
these unused syscall entries.  Tested x86_64, including verifying that
the built shared libraries were identical before and after the patch.

(The other three syscall entries are actually used with the Linux
kernel on at least some architectures.)

2012-05-08  Joseph Myers  <>

	* sysdeps/unix/sysv/syscalls.list (pause): Remove.
	(ulimit): Likewise.

diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
index fded7ad..5ff702a 100644
--- a/sysdeps/unix/sysv/syscalls.list
+++ b/sysdeps/unix/sysv/syscalls.list
@@ -1,7 +1,5 @@
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 alarm		-	alarm		i:i	alarm
-pause		-	pause		Ci:	pause
 stime		-	stime		i:p	stime
-ulimit		-	ulimit		i:ii	ulimit
 utime		-	utime		i:sP	utime

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]