[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.
Loading
Please sign in to comment