From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16563 invoked by alias); 7 Jun 2002 11:51:32 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 16545 invoked from network); 7 Jun 2002 11:51:28 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 7 Jun 2002 11:51:28 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id g57BpMq22192; Fri, 7 Jun 2002 13:51:22 +0200 Date: Fri, 07 Jun 2002 04:51:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , aj@suse.de Cc: Glibc hackers Subject: Re: sendfile change Message-ID: <20020607135121.P20867@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20020607134403.O20867@sunsite.ms.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020607134403.O20867@sunsite.ms.mff.cuni.cz>; from jakub@redhat.com on Fri, Jun 07, 2002 at 01:44:03PM +0200 X-SW-Source: 2002-06/txt/msg00011.txt.bz2 On Fri, Jun 07, 2002 at 01:44:03PM +0200, Jakub Jelinek wrote: > On Fri, Jun 07, 2002 at 01:37:03PM +0200, Andreas Jaeger wrote: > > > > Roland, > > > > since your sendfile changes I cannot build glibc on i686-linux > > anymore. Now I have both sendfile in the io and misc subdirs: > > > > $ ll */sendfile* > > -rw-r--r-- 1 aj users 964 Jun 7 13:30 io/sendfile.o > > -rw-r--r-- 1 aj users 1188 Jun 7 13:30 io/sendfile.os > > -rw-r--r-- 1 aj users 1135 Jun 7 13:30 io/sendfile64.d > > -rw-r--r-- 1 aj users 8788 Jun 7 13:30 io/sendfile64.o > > -rw-r--r-- 1 aj users 8836 Jun 7 13:30 io/sendfile64.os > > -rw-r--r-- 1 aj users 964 Jun 7 13:29 misc/sendfile.o > > -rw-r--r-- 1 aj users 1188 Jun 7 13:29 misc/sendfile.os > > > > sendfile is a syscall on i686-linux. > > See the mail I've posted today (the patch will need > some adjustements, since I haven't noticed some Roland's changes, I'll > update it ASAP). Here is the updated patch: 2002-06-07 Jakub Jelinek * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New. * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA. (sendfile64): Likewise. * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise. --- libc/sysdeps/unix/sysv/linux/alpha/sendfile64.c.jj Thu Jun 6 23:34:31 2002 +++ libc/sysdeps/unix/sysv/linux/alpha/sendfile64.c Thu Jun 6 23:34:23 2002 @@ -0,0 +1 @@ +/* sendfile64 is alias of sendfile syscall. */ --- libc/sysdeps/unix/sysv/linux/alpha/syscalls.list.jj Wed Jun 5 10:35:28 2002 +++ libc/sysdeps/unix/sysv/linux/alpha/syscalls.list Thu Jun 6 23:28:39 2002 @@ -29,7 +29,7 @@ setrlimit - setrlimit 2 __setrlimit setr ftruncate - ftruncate 2 __ftruncate ftruncate __ftruncate64 ftruncate64 truncate - truncate 2 truncate truncate64 readahead EXTRA readahead 3 __readahead readahead -sendfile EXTRA sendfile i:iipi sendfile sendfile64 +sendfile - sendfile i:iipi sendfile sendfile64 # these are actually common with the x86: sys_ustat ustat ustat 2 __syscall_ustat --- libc/sysdeps/unix/sysv/linux/ia64/syscalls.list.jj Wed Jun 5 10:35:29 2002 +++ libc/sysdeps/unix/sysv/linux/ia64/syscalls.list Thu Jun 6 23:32:09 2002 @@ -16,7 +16,7 @@ truncate - truncate 2 truncate truncate6 getrlimit - getrlimit 2 __getrlimit getrlimit getrlimit64 setrlimit - setrlimit 2 __setrlimit setrlimit setrlimit64 readahead EXTRA readahead 3 __readahead readahead -sendfile EXTRA sendfile i:iipi sendfile sendfile64 +sendfile - sendfile i:iipi sendfile sendfile64 # semaphore and shm system calls msgctl - msgctl i:iip __msgctl msgctl --- libc/sysdeps/unix/sysv/linux/ia64/sendfile64.c.jj Thu Jun 6 23:34:31 2002 +++ libc/sysdeps/unix/sysv/linux/ia64/sendfile64.c Thu Jun 6 23:34:23 2002 @@ -0,0 +1 @@ +/* sendfile64 is alias of sendfile syscall. */ --- libc/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list.jj Wed Jun 5 10:27:57 2002 +++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list Thu Jun 6 23:32:51 2002 @@ -12,7 +12,7 @@ ftruncate - ftruncate 2 __ftruncate ftru truncate - truncate 2 truncate truncate64 mmap - mmap 6 __mmap mmap __mmap64 mmap64 readahead EXTRA readahead 3 __readahead readahead -sendfile EXTRA sendfile i:iipi sendfile sendfile64 +sendfile - sendfile i:iipi sendfile sendfile64 # Override select.S in parent directory: select - select 5 __select select --- libc/sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c.jj Thu Jun 6 23:34:31 2002 +++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c Thu Jun 6 23:34:23 2002 @@ -0,0 +1 @@ +/* sendfile64 is alias of sendfile syscall. */ --- libc/sysdeps/unix/sysv/linux/x86_64/syscalls.list.jj Wed Jun 5 10:35:35 2002 +++ libc/sysdeps/unix/sysv/linux/x86_64/syscalls.list Thu Jun 6 23:33:11 2002 @@ -15,7 +15,7 @@ setrlimit - setrlimit i:ip __setrlimit s ftruncate - ftruncate i:ii __ftruncate ftruncate ftruncate64 __ftruncate64 truncate - truncate i:si truncate truncate64 readahead EXTRA readahead i:iipi __readahead readahead -sendfile EXTRA sendfile i:iip sendfile sendfile64 +sendfile - sendfile i:iip sendfile sendfile64 # semaphore and shm system calls msgctl - msgctl i:iip __msgctl msgctl --- libc/sysdeps/unix/sysv/linux/x86_64/sendfile64.c.jj Thu Jun 6 23:34:31 2002 +++ libc/sysdeps/unix/sysv/linux/x86_64/sendfile64.c Thu Jun 6 23:34:23 2002 @@ -0,0 +1 @@ +/* sendfile64 is alias of sendfile syscall. */ --- libc/sysdeps/unix/sysv/linux/syscalls.list.jj Wed Jun 5 10:27:54 2002 +++ libc/sysdeps/unix/sysv/linux/syscalls.list Thu Jun 6 23:28:17 2002 @@ -48,8 +48,8 @@ sched_setp - sched_setparam i:ip __sched sched_sets - sched_setscheduler i:iip __sched_setscheduler sched_setscheduler sched_yield - sched_yield i: __sched_yield sched_yield select - _newselect i:iPPPP __select select -sendfile EXTRA sendfile i:iipi sendfile -sendfile64 EXTRA sendfile64 i:iipi sendfile64 +sendfile - sendfile i:iipi sendfile +sendfile64 - sendfile64 i:iipi sendfile64 setfsgid EXTRA setfsgid i:i setfsgid setfsuid EXTRA setfsuid i:i setfsuid setpgid - setpgid i:ii __setpgid setpgid Jakub