login
Header Space

 
 

Re: microblaze syscall list

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: John Williams <john.williams@...>
Cc: <monstr@...>, Matthew Wilcox <matthew@...>, Will Newton <will.newton@...>, Linux Kernel list <linux-kernel@...>, <linux-arch@...>, <git@...>, Stephen Neuendorffer <stephen.neuendorffer@...>, John Linn <John.Linn@...>, Ulrich Drepper <drepper@...>
Date: Monday, May 5, 2008 - 10:08 am

On Monday 05 May 2008, John Williams wrote:


Right, glibc-2.3 was from 2002, 2.3.3 was released in 2004, which is
still pretty ancient.
 

For any incompatible change of this sort, you have to do it in the kernel
and libc in parallel. What we're talking about here is much closer to
doing a new glibc port based on microblaze linux-2.6.26 and glibc-2.8+
rather than using the existing glibc-2.3.3 port.

I understand that you care most about uClibc, because that is what
practically anyone is using, but glibc is setting the standard
that uClibc is following.

From what I understand from Uli, he won't add an implementation of
open() based on openat() unless there is any architecture actually
using it, so there is no point in waiting for glibc here.


You're probably right that it's not fair to microblaze to demand that
you do it right when all existing architectures before did the wrong
thing. For me it's just the pain of reviewing the same bugs being copied
in every single new Linux port, so my agenda here is to be able to point
the next guy at microblaze, telling them to copy from you instead of
from x86 or m68k.


I wasn't trying to argue against uClibc at all, there is nothing wrong
with you using it. My point was that the (architecture independent)
uClibc developers should take a look at your list and implement the
syscalls, so that you can easily port applications using them from glibc.


Looking at glibc-2.8, what I found using your method are:

# not in the scope of glibc currently, but may be used elsewhere:
add_key
keyctl
request_key
get_robust_list
set_robust_list
io_cancel
io_destroy
io_getevents
io_setup
io_submit
ioprio_get
ioprio_set
kexec_load
lookup_dcookie

# used under a different name:
newfstat
newlstat
newstat
newuname
pselect7

# used by the kernel itself:
restart_syscall

# obsolete, should not be used anywhere:
sgetmask
ssetmask

All others from your list are referenced in the glibc source somewhere.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Tue Apr 22, 8:13 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Kyle McMartin, (Tue Apr 22, 11:21 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Arnd Bergmann, (Tue Apr 22, 11:38 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Kyle McMartin, (Tue Apr 22, 11:42 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Randy Dunlap, (Tue Apr 22, 11:12 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Adrian Bunk, (Thu Apr 24, 10:51 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Tue Apr 22, 11:16 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Kyle McMartin, (Tue Apr 22, 11:24 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Tue Apr 22, 11:34 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Kyle McMartin, (Tue Apr 22, 11:38 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Wed Apr 23, 10:36 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Sam Ravnborg, (Wed Apr 23, 2:44 pm)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Kyle McMartin, (Wed Apr 23, 11:40 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Wed Apr 23, 11:50 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Mike Frysinger, (Wed Apr 23, 12:05 pm)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Mike Frysinger, (Wed Apr 23, 1:59 pm)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Will Newton, (Thu Apr 24, 5:18 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Arnd Bergmann, (Wed Apr 23, 10:59 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Arnd Bergmann, (Tue Apr 22, 9:15 am)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Michal Simek, (Wed Apr 23, 5:16 pm)
microblaze syscall list, Arnd Bergmann, (Thu Apr 24, 7:11 am)
Re: microblaze syscall list, Michal Simek, (Thu Apr 24, 4:51 pm)
Re: microblaze syscall list, Arnd Bergmann, (Thu Apr 24, 5:37 pm)
Re: microblaze syscall list, Michal Simek, (Thu Apr 24, 2:42 pm)
Re: [microblaze-uclinux] Re: microblaze syscall list, John Williams, (Fri Apr 25, 5:36 am)
Re: [microblaze-uclinux] Re: microblaze syscall list, Matthew Wilcox, (Fri Apr 25, 6:06 am)
Re: [microblaze-uclinux] Re: microblaze syscall list, John Williams, (Sat Apr 26, 10:04 pm)
Re: microblaze syscall list, Michal Simek, (Sun Apr 27, 11:52 am)
Re: microblaze syscall list, Arnd Bergmann, (Sat May 3, 5:57 pm)
Re: microblaze syscall list, Michal Simek, (Sun May 4, 5:12 am)
Re: microblaze syscall list, H. Peter Anvin, (Sun May 4, 6:09 pm)
Re: microblaze syscall list, Michal Simek, (Tue May 6, 4:33 am)
Re: microblaze syscall list, Arnd Bergmann, (Sun May 4, 6:54 pm)
Re: microblaze syscall list, H. Peter Anvin, (Sun May 4, 6:53 pm)
Re: microblaze syscall list, Arnd Bergmann, (Sun May 4, 3:37 pm)
Re: microblaze syscall list, Michal Simek, (Mon May 5, 2:18 am)
Re: microblaze syscall list, Arnd Bergmann, (Sun Apr 27, 4:15 pm)
Re: microblaze syscall list, John Williams, (Sun Apr 27, 8:15 pm)
Re: microblaze syscall list, Arnd Bergmann, (Mon Apr 28, 8:31 am)
Re: microblaze syscall list, Arnd Bergmann, (Thu May 1, 3:17 pm)
Re: microblaze syscall list, John Williams, (Fri May 2, 1:38 am)
Re: microblaze syscall list, Michal Simek, (Fri May 2, 4:18 am)
Re: microblaze syscall list, John Williams, (Fri May 2, 11:49 pm)
Re: microblaze syscall list, Arnd Bergmann, (Sat May 3, 5:16 am)
Re: microblaze syscall list, John Williams, (Sun May 4, 9:09 pm)
Re: microblaze syscall list, Arnd Bergmann, (Mon May 5, 10:08 am)
Re: microblaze syscall list, Ulrich Drepper, (Sat May 3, 11:56 am)
Re: microblaze syscall list, Arnd Bergmann, (Sat May 3, 5:14 pm)
Re: microblaze syscall list, Alan Cox, (Sun Apr 27, 12:50 pm)
Re: [microblaze-uclinux] Re: microblaze syscall list, Geert Uytterhoeven, (Fri Apr 25, 7:32 am)
Re: microblaze syscall list, Arnd Bergmann, (Thu Apr 24, 5:21 pm)
Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS, Mike Frysinger, (Wed Apr 23, 5:38 pm)
speck-geostationary