HomeFreeBSD

sched_getaffinity(3): more compatibility with Linux

Description

sched_getaffinity(3): more compatibility with Linux

Report EINVAL instead of EDEADLK when impossible cpu mask is set.

Noted by: dchagin
Reviewed by: dchagin (previous version), markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D35045

Details

Provenance
kibAuthored on Apr 24 2022, 10:10 PM
Reviewer
dchagin
Differential Revision
D35045: sched_getaffinity(3): more compatibility with Linux
Parents
rG0a736f0a6aeb: ASAN: reduce verbosity
Branches
Unknown
Tags
Unknown