Skip to contentSkip to conversation

useless asm/page.h exported to userspace for some architectures

DISCUSSION Mike Frysinger 3 participants 3 messages Jan 4, 2007 – Jan 7, 2007

lore
Share & tools
lore
#0 lore raw

most architectures (pretty much everyone but like x86/x86_64/s390) export empty asm/page.h headers ... considering how useless these are, why bother exporting them at all ? clearly userspace is unable to rely on it across architectures, so by making it available to the two most common (x86/x86_64), applications crop up that build "fine" on them but fail just about everywhere else
-mike

#1 lore raw
Quoted 6 lines · Mike Frysinger

most architectures (pretty much everyone but like x86/x86_64/s390) export empty asm/page.h headers ... considering how useless these are, why bother exporting them at all ? clearly userspace is unable to rely on it across architectures, so by making it available to the two most common (x86/x86_64), applications crop up that build "fine" on them but fail just about everywhere else

It should not be exported to userspace at all. Care to submit a patch?

#2 lore raw
Quoted 9 lines · Christoph Hellwig
Quoted 6 lines · Mike Frysinger

most architectures (pretty much everyone but like x86/x86_64/s390) export empty asm/page.h headers ... considering how useless these are, why bother exporting them at all ? clearly userspace is unable to rely on it across architectures, so by making it available to the two most common (x86/x86_64), applications crop up that build "fine" on them but fail just about everywhere else

It should not be exported to userspace at all. Care to submit a patch?

I think we can kill off <asm/elf.h> too -- the only interesting parts are in <asm/auxvec.h>, aren't they?

Signature · 1 line
dwmw2