From: Randy Dunlap <[EMAIL PROTECTED]>

CONFIG_PTRACE needs PROC_FS; with CONFIG_PROC_FS=n (x86_64):

  LD      .tmp_vmlinux1
kernel/built-in.o: In function `ptrace_start':
ptrace.c:(.text+0x300f9): undefined reference to `ptrace_may_attach'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
---
 init/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.21-rc3-mm2.orig/init/Kconfig
+++ linux-2.6.21-rc3-mm2/init/Kconfig
@@ -688,7 +688,7 @@ config UTRACE
 config PTRACE
        bool "Legacy ptrace system call interface"
        default y
-       depends on UTRACE
+       depends on UTRACE && PROC_FS
        help
          Enable the ptrace system call.
          This is traditionally used by debuggers like GDB,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to