This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: A patch for _syscall[0-6]
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: A patch for _syscall[0-6]
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 09 Mar 2001 15:01:29 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010309145039.A30536@lucon.org>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"H . J . Lu" <hjl@lucon.org> writes:
> I was told _syscall[0-6] in <asm/unistd.h> were not for user space
> applications. But many user space Linux systam packages use them. Here
> is a patch to provide them in <sys/syscall.h>.
The programs should be converted instead to using the much more
portable syscall() function. There is absolutely no reason to add these definitions since it would only manifest these misuses.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------