diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-01-11 23:32:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-11 23:54:56 +0100 |
commit | c0a3a20b6c4b5229ef5d26fd9b1c4b1957632aa7 (patch) | |
tree | 3809e683c054ba7e285db493aad31132e7ea9681 /mm | |
parent | kernel/audit.c: avoid negative sleep durations (diff) | |
download | linux-c0a3a20b6c4b5229ef5d26fd9b1c4b1957632aa7.tar.xz linux-c0a3a20b6c4b5229ef5d26fd9b1c4b1957632aa7.zip |
linux/audit.h: move ptrace.h include to kernel header
While the kernel internals want pt_regs (and so it includes
linux/ptrace.h), the user version of audit.h does not need it. So move
the include out of the uapi version.
This avoids issues where people want the audit defines and userland
ptrace api. Including both the kernel ptrace and the userland ptrace
headers can easily lead to failure.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Eric Paris <eparis@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions