HomeFreeBSD

Retire procfs-based process debugging.

Description

Retire procfs-based process debugging.

Modern debuggers and process tracers use ptrace() rather than procfs
for debugging. ptrace() has a supserset of functionality available
via procfs and new debugging features are only added to ptrace().
While the two debugging services share some fields in struct proc,
they each use dedicated fields and separate code. This results in
extra complexity to support a feature that hasn't been enabled in the
default install for several years.

PR: 244939 (exp-run)
Reviewed by: kib, mjg (earlier version)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D23837

Details

Provenance
jhbAuthored on
Reviewer
kib
Differential Revision
D23837: Retire procfs-based process debugging.
Parents
rS359529: MFC r359094:
Branches
Unknown
Tags
Unknown