Re: [LTP] Re: Same syscall is defined to different numbers on 3 different archs(was Re: Makefile issue)

From: Paul Larson (plars@linuxtestproject.org)
Date: Tue Apr 08 2003 - 08:30:50 EST


On Mon, 2003-04-07 at 21:23, Werner Almesberger wrote:
> Andi Kleen wrote:
> > #include </path/to/kernel/source/include/asm-<arch>/unistd.h>
> > (you need the version in the kernel source because many glibc packagers
> > in their infinite wisdom use an old outdated copy of asm/ usually from
> > the last stable kernel only)
>
> Do we need a /proc/syscalls ? :-)
I don't think so. Apps should be accessing things through libraries
anyway. The only reason we don't in some cases like this is that it's
new and not in libs on any distro yet. Besides, I don't think having a
/proc/syscalls would be any better than having to do ifdefs or use
kernel headers.

-Paul Larson



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:15 EST