1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

Kernel: Mark sys$clock_settime() as not needing the big log

This syscall ends up disabling interrupts while changing the time,
and the clock is a global resource anyway, so preventing threads in the
same process from running wouldn't solve anything.
This commit is contained in:
Andreas Kling 2022-04-04 00:12:57 +02:00
parent 55814f6e0e
commit 4306422f29
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ enum class NeedsBigProcessLock {
S(chown, NeedsBigProcessLock::Yes) \
S(clock_gettime, NeedsBigProcessLock::No) \
S(clock_nanosleep, NeedsBigProcessLock::No) \
S(clock_settime, NeedsBigProcessLock::Yes) \
S(clock_settime, NeedsBigProcessLock::No) \
S(close, NeedsBigProcessLock::Yes) \
S(connect, NeedsBigProcessLock::Yes) \
S(create_inode_watcher, NeedsBigProcessLock::Yes) \