[sanitizer] Fix prctl unit test on non-SMT systems
On systems where the kernel supports the PR_SCHED_CORE interface, but there is no SMT, the prctl call will set errno to ENODEV, which currently causes the test to fail. Fix by accepting ENODEV in addition to EINVAL.
parent
d133538b
Please register or sign in to comment