mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Split cpuset_getaffinity() into a two counterparts, where the
user_cpuset_getaffinity() is intended to operate on the cpuset_t from
user va, while kern_cpuset_getaffinity() expects the cpuset from kernel
va.
Accordingly, the code that clears the high bits is moved to the
user_cpuset_getaffinity(). Linux sched_getaffinity() syscall returns
the size of set copied to the user-space and then glibc wrapper clears
the high bits.
MFC after: 2 weeks
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| freebsd32.h | ||
| freebsd32_capability.c | ||
| freebsd32_ioctl.c | ||
| freebsd32_ioctl.h | ||
| freebsd32_ipc.h | ||
| freebsd32_misc.c | ||
| freebsd32_misc.h | ||
| freebsd32_proto.h | ||
| freebsd32_signal.h | ||
| freebsd32_syscall.h | ||
| freebsd32_syscalls.c | ||
| freebsd32_sysent.c | ||
| freebsd32_systrace_args.c | ||
| freebsd32_util.h | ||
| Makefile | ||
| syscalls.conf | ||
| syscalls.master | ||