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
- call for testers: init securelevel patch Paul Herman
- Re: call for testers: init securelevel patch Vivek Khera
- Re: call for testers: init securelevel patch Zach N. Heilig
- Re: call for testers: init securelevel patch Bruce Evans
- Re: call for testers: init securelevel pa... Vivek Khera
- Re: call for testers: init secureleve... Bruce Evans
- Re: call for testers: init secureleve... Paul Herman
- Re: call for testers: init secur... Leif Neland
- Re: call for testers: init s... Ben Smithurst
- Re: call for testers: init secureleve... Karsten W. Rohrbach
- Re: call for testers: init securelevel patch Paul Herman
