From: Mike Frysinger Date: Fri, 11 Jan 2013 22:32:13 +0000 (-0800) Subject: linux/audit.h: move ptrace.h include to kernel header X-Git-Tag: v3.8-rc4~32^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a3a20b6c4b5229ef5d26fd9b1c4b1957632aa7;p=pandora-kernel.git 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 Cc: Eric Paris Cc: Al Viro Reviewed-by: Kees Cook Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed