Re: RFD: x32 ABI system call numbers

From: richard -rw- weinberger
Date: Sun Sep 04 2011 - 15:32:18 EST


On Sun, Sep 4, 2011 at 8:40 PM, H.J. Lu <hjl.tools@xxxxxxxxx> wrote:
> #define __NR_x32__sysctl

Do we really want sysctl?

Some quotes from it's man-page:
"Do not use this system call! See NOTES."

"Glibc does not provide a wrapper for this system call; call it using
syscall(2).

Or rather... don't call it: use of this system call has long been
discouraged, and it is so unloved that it
is likely to disappear in a future kernel version. Remove it from
your programs now; use the /proc/sys
interface instead."

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