[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
Sat Jul 13 03:27:19 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238837

--- Comment #3 from WHR <msl0000023508 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list