mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +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:
parent
55814f6e0e
commit
4306422f29
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ ErrorOr<FlatPtr> Process::sys$clock_gettime(clockid_t clock_id, Userspace<timesp
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$clock_settime(clockid_t clock_id, Userspace<timespec const*> user_ts)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::settime));
|
||||
|
||||
if (!is_superuser())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue