Skip to content

Commit

Permalink
[PATCH] hdrinstall: remove asm/io.h from user visibility
Browse files Browse the repository at this point in the history
There's no excuse for userspace abusing this kernel header -- the kernel's
headers are not intended to provide a library of helper routines for
userspace.  Using <asm/io.h> from userspace is broken on most architectures
anyway.  Just say 'no'.

Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dwmw2 authored and Linus Torvalds committed Jul 15, 2006
1 parent e035cc3 commit 52fa259
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/asm-generic/Kbuild.asm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ unifdef-y += a.out.h auxvec.h byteorder.h errno.h fcntl.h ioctl.h \
sigcontext.h siginfo.h signal.h socket.h sockios.h stat.h \
statfs.h termbits.h termios.h timex.h types.h unistd.h user.h

# These really shouldn't be exported
unifdef-y += io.h

# These probably shouldn't be exported
unifdef-y += elf.h page.h

0 comments on commit 52fa259

Please sign in to comment.