[libc-commits] [PATCH] D148069: [LIBC] Implement remainder of posix 'sched.h' minus `SCHED_SPORADIC`
Noah Goldstein via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Apr 12 18:13:25 PDT 2023
goldstein.w.n marked 6 inline comments as done.
goldstein.w.n added inline comments.
================
Comment at: libc/test/src/sched/rr_get_interval_test.cpp:37
+ // We can only set SCHED_RR with CAP_SYS_ADMIN
+ if (getuid() == 0)
+ SetSched(SCHED_RR);
----------------
michaelrj wrote:
> where is `getuid` included from?
Hmm, so it seems the test is not actually building/running. I double checked the cmakelist and it seems right. Any idea whats going on?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148069/new/
https://reviews.llvm.org/D148069
More information about the libc-commits
mailing list