From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3573 invoked by alias); 27 Mar 2008 16:17:05 -0000 Received: (qmail 3544 invoked by uid 22791); 27 Mar 2008 16:17:03 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Mar 2008 16:16:44 +0000 Received: from sunsite.mff.cuni.cz (localhost.localdomain [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id m2RGOvnG018745; Thu, 27 Mar 2008 17:24:57 +0100 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.8/8.13.8/Submit) id m2RGOvds018744; Thu, 27 Mar 2008 17:24:57 +0100 Date: Thu, 27 Mar 2008 16:17:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] creat+open syscalls in linux/wordsize-64/syscalls.list Message-ID: <20080327162456.GY3726@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00008.txt.bz2 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 * 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