Bug 11359 - Compile error in arch/x86/kernel/ptrace.c
Summary: Compile error in arch/x86/kernel/ptrace.c
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Other
Classification: Unclassified
Component: Loadable Security Modules (LSM) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Other/LSM
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 06:51 UTC by François Valenduc
Modified: 2008-08-17 10:59 UTC (History)
0 users

See Also:
Kernel Version: 2.6.27-rc3-git4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description François Valenduc 2008-08-17 06:51:19 UTC
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.
Comment 1 Ingo Molnar 2008-08-17 07:27:20 UTC
>            Summary: Compile error in arch/x86/kernel/ptrace.c

solved by:

  http://lkml.org/lkml/2008/8/16/277

	Ingo
Comment 2 François Valenduc 2008-08-17 10:59:13 UTC
This patch indeed solves the problem.

Note You need to log in before you can comment on or make changes to this bug.