diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-04-09 23:05:32 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-09 23:46:02 +0200 |
commit | 1474b18070b92bafec3cb1dd8ffef9f26aa17ca1 (patch) | |
tree | aac87eaca7a51dcf156086001c83cf1c343dd23c /Kernel/Syscalls | |
parent | fa360f7d88b25f8ba83a726ac4e435a905fd4f78 (diff) | |
download | serenity-1474b18070b92bafec3cb1dd8ffef9f26aa17ca1.zip |
Kernel: Remove big lock from sys$link
This syscall doesn't access any unprotected shared data.
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/link.cpp b/Kernel/Syscalls/link.cpp index a2b23589d1..48a937568c 100644 --- a/Kernel/Syscalls/link.cpp +++ b/Kernel/Syscalls/link.cpp @@ -12,7 +12,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$link(Userspace<Syscall::SC_link_params const*> user_params) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) + VERIFY_NO_PROCESS_BIG_LOCK(this) TRY(require_promise(Pledge::cpath)); auto params = TRY(copy_typed_from_user(user_params)); auto old_path = TRY(try_copy_kstring_from_user(params.old_path)); |