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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238837 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? 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 flag 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? -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238837-227-y9qfcaGuCV>
