HomeFreeBSD

swap_pager: Zero swap info before exporting to userspace

Description

swap_pager: Zero swap info before exporting to userspace

Otherwise padding bytes are leaked.

Reported by: KMSAN
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on May 12 2021, 1:42 PM
Parents
rGcd497bd40bb6: truss: Decode FreeBSD 11 mknod(2) and mknodat(2)
Branches
Unknown
Tags
Unknown