Re: [PATCH][RFC] global errno considered harmful

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Sun Dec 30 2001 - 20:59:39 EST


On Sun, Dec 30, 2001 at 05:10:41PM -0500, Brian Gerst wrote:

> > As user application are trying to use unistd.h and expect errno to get
> > set properly unistd.h or at least it's syscallX macros will have to be
> > made unusable from userspace or silent breakage of such apps rebuild
> > against new headers will occur.
>
> Userspace should be using glibc's unistd.h. If it's using the kernel's,
> it's broken.

A sufficient number take the unavailability of new syscall in everybody's
glibc as a sufficient excuse for broken code. util-linux as a major
offender comes to mind or also e2fsprogs.

  Ralf
-
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 : Mon Dec 31 2001 - 21:00:25 EST