asm/user.h gone AWOL?

David Woodhouse dwmw2 at infradead.org
Tue Apr 22 10:56:40 UTC 2008


On Tue, 2008-04-22 at 03:19 -0700, Roland McGrath wrote:
> The change has nothing whatsoever to do with a.out support or lack thereof.
> It has to do with userland using userland headers (sys/user.h, a.out.h, etc.).
> It stopped installing asm/elf.h too, and not because ELF is going out of style.

Indeed. You'll note I signed off on the original removal :)

But looking at it again today, I was concerned for a while that we might
have been a little overzealous in removing <asm/user.h> -- looking at
what was removed, I didn't immediately spot that all the instances of
<asm/user.h> were essentially the same, because the regs definitions
mess it up a bit, as do the types used. It looked like it might have
been one of the Linux-defined structures which is actually _reasonable_
to export to userspace via kernel headers.

... hm... actually, they're _not_ the same. SH, i386, x86_64 and m68k
have an extra FP state pointer after u_ar0 -- and m68k, Blackfin and
H8300 all have 'int reserved' before u_ar0. The SPARC version is fairly
different, too.

-- 
dwmw2




More information about the fedora-devel-list mailing list