* sendfile change
@ 2002-06-07 4:38 Andreas Jaeger
2002-06-07 4:44 ` Jakub Jelinek
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Jaeger @ 2002-06-07 4:38 UTC (permalink / raw)
To: GNU libc hacker
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.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sendfile change
2002-06-07 4:38 sendfile change Andreas Jaeger
@ 2002-06-07 4:44 ` Jakub Jelinek
2002-06-07 4:51 ` Jakub Jelinek
2002-06-07 4:54 ` Andreas Jaeger
0 siblings, 2 replies; 6+ messages in thread
From: Jakub Jelinek @ 2002-06-07 4:44 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
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).
Jakub
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sendfile change
2002-06-07 4:44 ` Jakub Jelinek
@ 2002-06-07 4:51 ` Jakub Jelinek
2002-06-07 5:44 ` Andreas Jaeger
2002-06-07 12:31 ` Roland McGrath
2002-06-07 4:54 ` Andreas Jaeger
1 sibling, 2 replies; 6+ messages in thread
From: Jakub Jelinek @ 2002-06-07 4:51 UTC (permalink / raw)
To: Ulrich Drepper, aj; +Cc: Glibc hackers
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 <jakub@redhat.com>
* 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sendfile change
2002-06-07 4:44 ` Jakub Jelinek
2002-06-07 4:51 ` Jakub Jelinek
@ 2002-06-07 4:54 ` Andreas Jaeger
1 sibling, 0 replies; 6+ messages in thread
From: Andreas Jaeger @ 2002-06-07 4:54 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: GNU libc hacker
Jakub Jelinek <jakub@redhat.com> writes:
> 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).
Sorry, I missed your email.
All these changes look very fragile, I'd hope we had a cleaner
solution...
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sendfile change
2002-06-07 4:51 ` Jakub Jelinek
@ 2002-06-07 5:44 ` Andreas Jaeger
2002-06-07 12:31 ` Roland McGrath
1 sibling, 0 replies; 6+ messages in thread
From: Andreas Jaeger @ 2002-06-07 5:44 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Ulrich Drepper, Glibc hackers
Jakub Jelinek <jakub@redhat.com> writes:
> 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 <jakub@redhat.com>
>
> * 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.
Thanks, I've committed this version now.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sendfile change
2002-06-07 4:51 ` Jakub Jelinek
2002-06-07 5:44 ` Andreas Jaeger
@ 2002-06-07 12:31 ` Roland McGrath
1 sibling, 0 replies; 6+ messages in thread
From: Roland McGrath @ 2002-06-07 12:31 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Ulrich Drepper, aj, Glibc hackers
Sorry for the hassle. I'll be sure to test the linux build next time.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-06-07 19:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07 4:38 sendfile change Andreas Jaeger
2002-06-07 4:44 ` Jakub Jelinek
2002-06-07 4:51 ` Jakub Jelinek
2002-06-07 5:44 ` Andreas Jaeger
2002-06-07 12:31 ` Roland McGrath
2002-06-07 4:54 ` Andreas Jaeger
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).