Date: Thu, 14 Sep 2000 11:27:51 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Leif Neland <leifn@neland.dk> Cc: Paul Herman <pherman@frenchfries.net>, Vivek Khera <khera@kciLink.com>, freebsd-current@FreeBSD.ORG Subject: Re: call for testers: init securelevel patch Message-ID: <20000914112751.H77593@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.BSF.4.21.0009140652020.32667-100000@arnold.neland.dk> References: <Pine.BSF.4.21.0009081717590.315-100000@bagabeedaboo.security.at12.de> <Pine.BSF.4.21.0009140652020.32667-100000@arnold.neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000914112751.H77593>