Date: Sat, 13 Jul 2019 03:27:15 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238837] init: Remove P_SYSTEM flag from PID 1 to allow easier debugging of init(8) Message-ID: <bug-238837-227-hBlTfh5AxA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238837-227@https.bugs.freebsd.org/bugzilla/> References: <bug-238837-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238837 --- Comment #3 from WHR <msl0000023508@gmail.com> --- (In reply to Conrad Meyer from comment #2) I knwon that ptrace(2) can't be used to debug any kernel processes, allowing that would hang or panic the kernel; but process 1 (init(8)) isn't a kernel, but an user process, right? > Have you tried using gdb on it with this patch? Yes, I has been used a 10.3-RELEASE-p29 kernel with this patch applied, for= a long time; I can debug init(8) in gdb(1) any time, without any problem. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238837-227-hBlTfh5AxA>