diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-08 16:36:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-09 16:43:00 +0100 |
commit | b4fefedd1db89fd664fde000be5d012474f9773a (patch) | |
tree | 06ed93e51558abc5cebac7c3f9f2ee10d87571d5 /Kernel/API/Syscall.h | |
parent | aa381c4a677ba2504ad06587b9978bc03d1ffead (diff) | |
download | serenity-b4fefedd1db89fd664fde000be5d012474f9773a.zip |
Kernel: Mark sys$chmod() as not needing the big lock
This syscall doesn't access any data that was implicitly protected by
the big lock.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 27492b2f48..0d8d4c2679 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -49,7 +49,7 @@ enum class NeedsBigProcessLock { S(beep, NeedsBigProcessLock::No) \ S(bind, NeedsBigProcessLock::Yes) \ S(chdir, NeedsBigProcessLock::No) \ - S(chmod, NeedsBigProcessLock::Yes) \ + S(chmod, NeedsBigProcessLock::No) \ S(chown, NeedsBigProcessLock::Yes) \ S(clock_gettime, NeedsBigProcessLock::No) \ S(clock_nanosleep, NeedsBigProcessLock::No) \ |