[Bug 238837] init: Remove P_SYSTEM flag from PID 1 to allow easier debugging of init(8)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 12 18:53:56 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238837
Conrad Meyer <cem at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cem at freebsd.org
--- Comment #2 from Conrad Meyer <cem at 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.
More information about the freebsd-bugs
mailing list