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]

Move remaining syscalls from sysdeps/unix/sysv/syscalls.list tosysdeps/unix/sysv/linux/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.  The
remaining three syscalls there are actually used with the Linux kernel
for at least some architectures.

I propose this patch to move these syscalls into
sysdeps/unix/sysv/linux/syscalls.list, so that sysdeps/unix/sysv/
becomes purely a container for the "linux" subdirectory.  Tested
x86_64, including verifying that the built shared libraries were
identical before and after the patch.

2012-05-08  Joseph Myers  <>

	* sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
	(stime): Likewise.
	(utime): Likewise.
	* sysdeps/unix/sysv/syscalls.list: Remove file.

diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index f6e6653..eef6d82 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -1,6 +1,7 @@
 # File name	Caller	Syscall name	Args	Strong name	Weak names
 adjtimex	adjtime	adjtimex	i:p	__adjtimex	adjtimex ntp_adjtime __adjtimex_internal
+alarm		-	alarm		i:i	alarm
 bdflush		EXTRA	bdflush		i:ii	bdflush
 capget		EXTRA	capget		i:pp	capget
 capset		EXTRA	capset		i:pp	capset
@@ -71,12 +72,14 @@ setfsuid	EXTRA	setfsuid	i:i	setfsuid
 setpgid		-	setpgid		i:ii	__setpgid	setpgid
 sigaltstack	-	sigaltstack	i:PP	__sigaltstack	sigaltstack
 splice		EXTRA	splice		Ci:iPiPii	splice
+stime		-	stime		i:p	stime
 sysinfo		EXTRA	sysinfo		i:p	sysinfo
 swapon		-	swapon		i:si	__swapon	swapon
 swapoff		-	swapoff		i:s	__swapoff	swapoff
 tee		EXTRA	tee		Ci:iiii	tee
 unshare		EXTRA	unshare		i:i	unshare
 uselib		EXTRA	uselib		i:s	uselib
+utime		-	utime		i:sP	utime
 vmsplice	EXTRA	vmsplice	Ci:iPii	vmsplice
 wait4		-	wait4		i:iWiP	__wait4		wait4
diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
deleted file mode 100644
index 5ff702a..0000000
--- a/sysdeps/unix/sysv/syscalls.list
+++ /dev/null
@@ -1,5 +0,0 @@
-# File name	Caller	Syscall name	# args	Strong name	Weak names
-alarm		-	alarm		i:i	alarm
-stime		-	stime		i:p	stime
-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]