HomeFreeBSD

Always set p_oppid when attaching to an existing process via procfs

Description

Always set p_oppid when attaching to an existing process via procfs
tracing. This matches the behavior of ptrace(PT_ATTACH). Also,
the procfs detach request assumes p_oppid is always set.

Reviewed by: kib
MFC after: 2 weeks

Details

Provenance
jhbAuthored on
Reviewer
kib
Parents
rS283280: MFC r282212:
Branches
Unknown
Tags
Unknown