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

(cherry picked from commit 4a3e51335e86cee02569c04b9f1e95ca9abcb170)

Details

Provenance
markjAuthored on May 20 2022, 2:11 PM
jhibbitsCommitted on May 23 2022, 10:11 PM
Parents
rG01f281d0ee52: Fix the build after 47a57144
Branches
Unknown
Tags
Unknown