Kernel: Remove SYS_SLEEP and cleanup SYS_NANOSLEEP

`sleep` is now implemented in terms of `nanosleep`. `nanosleep` is now
more precise and handles overflow when calculating wakeup time. I don't
think anything was depending on this, but I could see a program sleeping
for max time to block until signal.
This commit is contained in:
2026-06-30 20:11:26 +03:00
parent 20663b533b
commit d241975ce1
7 changed files with 45 additions and 48 deletions

View File

@@ -16,7 +16,6 @@ __BEGIN_DECLS
O(SYS_RENAMEAT, renameat) \
O(SYS_FORK, fork) \
O(SYS_EXEC, exec) \
O(SYS_SLEEP, sleep) \
O(SYS_WAIT, wait) \
O(SYS_READ_DIR, readdir) \
O(SYS_SET_UID, setuid) \