This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

[PATCH] creat+open syscalls in linux/wordsize-64/syscalls.list


Hi!

After the 2007-11-10 change which added dummy
linux/wordsize-64/{open,creat}64.c files a lot, but not all, 64-bit
arches added creat/open syscall entries to their syscalls.list.
Those that have not done that (sparc64, partially alpha) are broken,
and it is IMHO much better to just list them all in one place.

2008-03-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open
	and creat system calls.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system
	call.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat
	system calls.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.

--- libc/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list	31 Mar 2006 21:46:50 -0000	1.2
+++ libc/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -15,3 +15,5 @@ setrlimit	-	setrlimit	i:ip	__setrlimit	s
 readahead	-	readahead	i:iii	__readahead	readahead
 sendfile	-	sendfile	i:iipi	sendfile	sendfile64
 sync_file_range	-	sync_file_range	i:iiii	sync_file_range
+creat		-	creat		Ci:si	__libc_creat	creat creat64
+open		-	open		Ci:siv	__libc_open	__open open __open64 open64
--- libc/sysdeps/unix/sysv/linux/alpha/syscalls.list	15 Feb 2005 00:12:18 -0000	1.65
+++ libc/sysdeps/unix/sysv/linux/alpha/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -17,8 +17,6 @@ sigstack	-	sigstack	2	sigstack
 vfork		-	vfork		0	__vfork		vfork
 
 getpriority	-	getpriority	i:ii	__getpriority	getpriority
-open		-	open		Ci:siv	__libc_open	__open open !__libc_open64 __open64 open64
-open64		open	-
 
 # proper socket implementations:
 accept		-	accept		Ci:iBN	__libc_accept	__accept accept
--- libc/sysdeps/unix/sysv/linux/ia64/syscalls.list	10 Nov 2007 19:35:15 -0000	1.40
+++ libc/sysdeps/unix/sysv/linux/ia64/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -4,9 +4,6 @@ umount2		-	umount		2	__umount2	umount2
 
 getpriority	-	getpriority	i:ii	__getpriority	getpriority
 
-creat		-	creat		Ci:si	__libc_creat	creat creat64
-open		-	open		Ci:siv	__libc_open	__open open __open64 open64
-
 # semaphore and shm system calls
 msgctl		-	msgctl		i:iip	__msgctl	msgctl
 msgget		-	msgget		i:ii	__msgget	msgget
--- libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list	24 Nov 2007 03:23:29 -0000	1.10
+++ libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -1,5 +1,3 @@
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 
-creat		-	creat		Ci:si	__libc_creat	creat creat64
 getrlimit	-	ugetrlimit	i:ip	__getrlimit	getrlimit getrlimit64
-open		-	open		Ci:siv	__libc_open	__open open __open64 open64
--- libc/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list	23 Nov 2007 15:20:51 -0000	1.21
+++ libc/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -2,9 +2,6 @@
 
 vfork		-	vfork		0	__vfork		vfork
 
-creat		-	creat		Ci:si	__libc_creat	creat creat64
-open		-	open		Ci:siv	__libc_open	__open open __open64 open64
-
 # semaphore and shm system calls
 msgctl		-	msgctl		i:iip	__msgctl	msgctl
 msgget		-	msgget		i:ii	__msgget	msgget
--- libc/sysdeps/unix/sysv/linux/x86_64/syscalls.list	10 Nov 2007 19:35:15 -0000	1.26
+++ libc/sysdeps/unix/sysv/linux/x86_64/syscalls.list	27 Mar 2008 16:06:54 -0000
@@ -1,13 +1,11 @@
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 
 arch_prctl	EXTRA	arch_prctl	i:ii	__arch_prctl	arch_prctl
-creat		-	creat		Ci:si	__libc_creat	creat creat64
 modify_ldt	EXTRA	modify_ldt	i:ipi	__modify_ldt	modify_ldt
 msgctl		-	msgctl		i:iip	__msgctl	msgctl
 msgget		-	msgget		i:ii	__msgget	msgget
 msgrcv		-	msgrcv		Ci:ibnii __msgrcv	msgrcv
 msgsnd		-	msgsnd		Ci:ibni	__msgsnd	msgsnd
-open		-	open		Ci:siv	__libc_open	__open open __open64 open64
 shmat		-	shmat		i:ipi	__shmat		shmat
 shmctl		-	shmctl		i:iip	__shmctl	shmctl
 shmdt		-	shmdt		i:s	__shmdt		shmdt

	Jakub


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