[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480093: sys/user.h broken on (at least) hppa



On Wed, May 7, 2008 at 10:24 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Thu, May 08, 2008 at 03:16:38AM +0200, Frank Lichtenheld wrote:
>  > Package: libc6-dev
>  > Version: 2.7-10
>  > Severity: important
>  >
>  > On HPPA sys/user.h only contains "#include <linux/user.h>"
>  > which doesn't do anything useful since linux-libc-dev doesn't
>  > contain user.h (except on arm/armel for whatever reason).
>  >
>  > On i386 sys/user.h actually contains something useful.
>
>  Just curious, but what breaks?
>
>  <sys/user.h> is a somewhat dodgy header; most software should not be
>  using it.  Also, its contents are completely platform-dependent.

I haven't seen anything break on hppa. I've been testing with a recent
kernel that doesn't have a user.h.

I checked in a blank sys/user.h for hppa upstream ports.
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/unix/sysv/linux/hppa/sys/user.h?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=glibc

As far as I know gdb was the only user, and the hppa gdb port didn't use user.h.

Cheers,
Carlos.



Reply to: