From 546cdde776e88635b9faf9996d753a5eccaf9bfa Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 12 Feb 2021 18:49:16 +0100 Subject: [PATCH] Kernel: clock_nanosleep's 'flags' is not a bitset This had the interesting effect that most, but not all, non-zero values were interpreted as an absolute value. --- Kernel/Syscalls/clock.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Kernel/Syscalls/clock.cpp b/Kernel/Syscalls/clock.cpp index c28552953d..557d9376ce 100644 --- a/Kernel/Syscalls/clock.cpp +++ b/Kernel/Syscalls/clock.cpp @@ -76,7 +76,17 @@ int Process::sys$clock_nanosleep(Userspace