LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] dont export asm/page.h to userspace
@ 2007-01-05  3:28 Mike Frysinger
  2007-01-05  5:13 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2007-01-05  3:28 UTC (permalink / raw)
  To: Christoph Hellwig, Andrew Morton; +Cc: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 160 bytes --]

On 1/4/07, Christoph Hellwig <hch@infradead.org> wrote:
> It should not be exported to userspace at all.  Care to submit a patch?

trivial patch attached
-mike

[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]

[-- Attachment #2: linux-dont-export-asm-page.patch --]
[-- Type: text/x-diff, Size: 325 bytes --]

diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
index a37e95f..642d277 100644
--- a/include/asm-generic/Kbuild.asm
+++ b/include/asm-generic/Kbuild.asm
@@ -32,4 +32,3 @@ unifdef-y += user.h
 # These probably shouldn't be exported
 unifdef-y += shmparam.h
 unifdef-y += elf.h
-unifdef-y += page.h

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

* Re: [patch] dont export asm/page.h to userspace
  2007-01-05  3:28 [patch] dont export asm/page.h to userspace Mike Frysinger
@ 2007-01-05  5:13 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2007-01-05  5:13 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: Christoph Hellwig, linux-kernel

On Thu, 4 Jan 2007 22:28:30 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> On 1/4/07, Christoph Hellwig <hch@infradead.org> wrote:
> > It should not be exported to userspace at all.  Care to submit a patch?
> 
> trivial patch attached
> -mike
> 
> 
> [application/pgp-signature (828B)]
> 
> [linux-dont-export-asm-page.patch  text/x-diff (326B)]
> diff --git a/include/asm-generic/Kbuild.asm b/include/asm-generic/Kbuild.asm
> index a37e95f..642d277 100644
> --- a/include/asm-generic/Kbuild.asm
> +++ b/include/asm-generic/Kbuild.asm
> @@ -32,4 +32,3 @@ unifdef-y += user.h
>  # These probably shouldn't be exported
>  unifdef-y += shmparam.h
>  unifdef-y += elf.h
> -unifdef-y += page.h

box:/usr/src/25> make headers_check
  CHK     include/linux/version.h
  CHK     include/linux/compile.h
  CHK     include/linux/utsrelease.h
make[1]: `scripts/unifdef' is up to date.
  REMOVE  include/asm/page.h
  REMOVE  include/asm/.check.page.h
  CHECK   include/asm-generic/siginfo.h
  CHECK   include/asm-generic/resource.h
  CHECK   include/asm-generic/statfs.h
  CHECK   include/asm-generic/signal.h
  CHECK   include/asm-generic/mman.h
  CHECK   include/asm-generic/ipc.h
  CHECK   include/asm-generic/ioctl.h
  CHECK   include/asm-generic/fcntl.h
  CHECK   include/asm-generic/errno.h
  CHECK   include/asm-generic/errno-base.h
  CHECK   include/asm/vm86.h
  CHECK   include/asm/user.h
/usr/src/devel/usr/include/asm/user.h requires asm/page.h, which does not exist in exported headers
make[2]: *** [/usr/src/devel/usr/include/asm/.check.user.h] Error 1
make[1]: *** [asm-i386] Error 2
make: *** [headers_check] Error 2

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

end of thread, other threads:[~2007-01-05  5:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05  3:28 [patch] dont export asm/page.h to userspace Mike Frysinger
2007-01-05  5:13 ` Andrew Morton

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).