linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* useless asm/page.h exported to userspace for some architectures
@ 2007-01-04  7:00 Mike Frysinger
  2007-01-04 17:42 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2007-01-04  7:00 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: useless asm/page.h exported to userspace for some architectures
  2007-01-04  7:00 useless asm/page.h exported to userspace for some architectures Mike Frysinger
@ 2007-01-04 17:42 ` Christoph Hellwig
  2007-01-07 15:29   ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2007-01-04 17:42 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: linux-kernel

On Thu, Jan 04, 2007 at 02:00:20AM -0500, Mike Frysinger wrote:
> 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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: useless asm/page.h exported to userspace for some architectures
  2007-01-04 17:42 ` Christoph Hellwig
@ 2007-01-07 15:29   ` David Woodhouse
  0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2007-01-07 15:29 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Mike Frysinger, linux-kernel

On Thu, 2007-01-04 at 17:42 +0000, Christoph Hellwig wrote:
> On Thu, Jan 04, 2007 at 02:00:20AM -0500, Mike Frysinger wrote:
> > 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?

-- 
dwmw2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-07 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-04  7:00 useless asm/page.h exported to userspace for some architectures Mike Frysinger
2007-01-04 17:42 ` Christoph Hellwig
2007-01-07 15:29   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).