This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Header files for kernel and glibc
- To: rth@cygnus.com
- Subject: Header files for kernel and glibc
- From: hjl@lucon.org (H.J. Lu)
- Date: Mon, 25 May 1998 22:00:36 -0700 (PDT)
- Cc: torvalds@transmeta.com (Linus Torvalds), libc-hacker@cygnus.com (GNU C Library), drepper@cygnus.com (Ulrich Drepper)
>
> On Mon, May 25, 1998 at 12:01:16PM -0700, Linus Torvalds wrote:
> > I thought glibc had moved away from using kernel header files already.
> > I've talked about this to various people before, and that was one of the
> > advantages with glibc as far as I was concerned.
>
> We're about 95% kernel-header-free.
>
> Most of the problems wind up being in user programs that poke at
> kernel headers behind glibc's back -- like this gdb thing HJ posted
> that started this whole thread.
>
I will fix the glibc x86 header files for <sys/user.h> and
<sys/ptrace.h>. I will add <sys/reg.h> for x86. I will send in
a glibc patch in a day or two.
--
H.J. Lu (hjl@gnu.org)