diff options
author | Rob Landley <rob@landley.net> | 2017-09-21 15:33:01 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-09-21 15:33:01 -0500 |
commit | eb95221609892a20cf4d15d6ee5769a082ad8026 (patch) | |
tree | 5d9bf2792dadea602eb39edcfb5d24dcf8d61f49 | |
parent | d3e68149128fe4b28bf56202e87c8ec3b48c6a3b (diff) | |
download | toybox-eb95221609892a20cf4d15d6ee5769a082ad8026.tar.gz |
Add #warning about musl intentionally breaking chrt.
-rw-r--r-- | toys/other/chrt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toys/other/chrt.c b/toys/other/chrt.c index aa0a140d..a1c37a05 100644 --- a/toys/other/chrt.c +++ b/toys/other/chrt.c @@ -31,6 +31,10 @@ GLOBALS( long pid; ) +#ifndef _POSIX_PRIORITY_SCHEDULING +#warning "musl-libc intentionally broke sched_get_priority_min() and friends in commit 1e21e78bf7a5 because its maintainer didn't like those Linux system calls" +#endif + char *polnames[] = { "SCHED_OTHER", "SCHED_FIFO", "SCHED_RR", "SCHED_BATCH", 0, "SCHED_IDLE", "SCHED_DEADLINE" |