mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-12 05:48:39 +08:00
[PATCH] hdrinstall: remove asm/io.h from user visibility
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 <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
e035cc35e5
commit
52fa259b5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user