Date: Fri, 12 Jul 2019 18:53:53 +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-y9qfcaGuCV@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 Conrad Meyer <cem@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cem@freebsd.org --- Comment #2 from Conrad Meyer <cem@freebsd.org> --- If P_SYSTEM is removed from pid 1, is there *any* other process using it?=20 Looks like anything created with kproc_create(), which kind of makes sense,= but we could/should also prevent debugging P_KPROC processes anyway (and that f= lag is also set). I'm not sure that debugging pid 1 without this flag set actually functions correctly; init is pretty special. Have you tried using gdb on it with this patch? --=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-y9qfcaGuCV>