From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] creat+open syscalls in linux/wordsize-64/syscalls.list
Date: Thu, 27 Mar 2008 16:17:00 -0000 [thread overview]
Message-ID: <20080327162456.GY3726@sunsite.mff.cuni.cz> (raw)
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
reply other threads:[~2008-03-27 16:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080327162456.GY3726@sunsite.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).