HomeFreeBSD

cpuset: Fix the KASAN and KMSAN builds

Description

cpuset: Fix the KASAN and KMSAN builds

Rename the "copyin" and "copyout" fields of struct cpuset_copy_cb to
something less generic, since sanitizers define interceptors for
copyin() and copyout() using #define.

Reported by: syzbot+2db5d644097fc698fb6f@syzkaller.appspotmail.com
Fixes: 47a57144af25 ("cpuset: Byte swap cpuset for compat32 on big endian architectures")
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on May 20 2022, 2:11 PM
Parents
rGb3fa36efe797: pf tests: extend ethernet dummynet test
Branches
Unknown
Tags
Unknown