HomeFreeBSD

sys_procctl(): zero the data buffer once, on syscall entry

Description

sys_procctl(): zero the data buffer once, on syscall entry

and remove zeroing of it from specific functions. This way it is
guaranteed that we do not leak kernel data.

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 16 2021, 6:28 PM
Reviewer
emaste
Differential Revision
D32513: procctl: require debug privileges over the target for most of the _CTL commands
Parents
rG56d5323b4d7d: sys_procctl(): use table data to do copyin/copyout
Branches
Unknown
Tags
Unknown