Leif Neland wrote:

> How is that done?
> Will gdb not attach to init, or will init not let gdb attach?

The kernel won't let GDB attach.  Look at the code for ptrace()...

                /* can't trace init when securelevel > 0 */
                if (securelevel > 0 && p->p_pid == 1)
                        return EPERM;

Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to