Yes. Ptrace does a sort of fakey reparenting of traced processes, which won't
work correctly with init, since it's its own parent.
Notice that init *is* currently allowed to do a PTRACE_TRACEME, which would
almost certainly cause the system to fail spectacularly. It's not really a
security problem, since init can do anything anyway, but it does annoy my
aesthetic sensibilities a bit. (The patch I sent to fix this wasn't
incorporated.)
-- Mike Coleman, mkc@mathdogs.com http://www.mathdogs.com problem solving, expert software development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/