lkml.org 
[lkml]   [2003]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [LTP] Re: Same syscall is defined to different numbers on 3 different archs(was Re: Makefile issue)
Paul Larson wrote:
> 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.

Well yes, if the syscall is correctly implemented in the library,
there's no problem.

> Besides, I don't think having a
> /proc/syscalls would be any better than having to do ifdefs or use
> kernel headers.

#ifdef may be hard pressed to identify a specific kernel with a
specific patch. Kernel headers are obviously a solution (although
this violates the "user space must never include kernel headers"
pseudo-rule), but add the problem of needing to identify the
"current" source tree, which is a configuration step almost always
requiring manual intervention.

My suggestion for /proc/syscalls isn't entirely serious, but it
would be nice if we could eventually solve this problem ...

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.036 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site