[all-commits] [llvm/llvm-project] e4085a: [sanitizer] Fix prctl unit test on non-SMT systems
Ulrich Weigand via All-commits
all-commits at lists.llvm.org
Thu Apr 21 10:32:00 PDT 2022
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
[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.
More information about the All-commits