Re: 2.6.20-mm1: PTRACE=y, PROC_FS=n compile error

From: Roland McGrath
Date: Wed Feb 21 2007 - 05:16:10 EST

> This causes the following compile error with CONFIG_PTRACE=y,

Bah. I moved ptrace_may_attach to fs/proc/base.c so that CONFIG_PTRACE=n
could just omit kernel/ptrace.c entirely and still get the function for
fs/proc/base.c to use (and because that uses it many more times than ptrace
does). I'd forgotten that procfs could be disabled, since noone ever does.

What do people suggest? It's not a very big function.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at