Latest working kernel version: 2.6.27-rc3-git3 Earliest failing kernel version: 2.6.27-rc3-git4 Distribution: Gentoo Hardware Environment: Packard Bell Easynote MB86, SMP, Intel Core2 Duo Software Environment: Problem Description: Steps to reproduce: try to compile the kernel When I compile the last git version of kernel 2.6.27-rc3 (git4), I get the following compile error: In file included from arch/x86/kernel/ptrace.c:19: CC arch/x86/kernel/ptrace.o In file included from arch/x86/kernel/ptrace.c:19: include/linux/security.h: In function ‘security_ptrace_traceme’: include/linux/security.h:1760: erreur: ‘parent’ undeclared (first use in this function) include/linux/security.h:1760: erreur: (Each undeclared identifier is reported only once include/linux/security.h:1760: erreur: for each function it appears in.) After running a bisection, it appears that the commit 5cd9c58fbe9ec92b45b27e131719af4f2bd9eb40 (security: Fix setting of PF_SUPERPRIV by __capable()) is problematic. If I revert it, the kernel can be compiled.
> Summary: Compile error in arch/x86/kernel/ptrace.c solved by: http://lkml.org/lkml/2008/8/16/277 Ingo
This patch indeed solves the problem.