HomeFreeBSD

kern_procctl.c: use td->td_proc instead of curproc

Description

kern_procctl.c: use td->td_proc instead of curproc

Suggested by: markj
Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32513

Details

Provenance
kibAuthored on Oct 18 2021, 9:07 PM
Reviewer
emaste
Differential Revision
D32513: procctl: require debug privileges over the target for most of the _CTL commands
Parents
rGf5bb6e5a6d48: procctl: actually require debug privileges over target
Branches
Unknown
Tags
Unknown