diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-08 16:39:58 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-09 16:43:00 +0100 |
commit | 7b3642d08c11db7b02f205a8b649b5ffcc609bf2 (patch) | |
tree | 19aa2864b9710d836c17754959a9dd014b5caab3 /Kernel/Syscalls/lseek.cpp | |
parent | 09e644f0ba6c6cc637bb00863bbce12b8ab03850 (diff) | |
download | serenity-7b3642d08c11db7b02f205a8b649b5ffcc609bf2.zip |
Kernel: Mark sys$lseek() 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/Syscalls/lseek.cpp')
-rw-r--r-- | Kernel/Syscalls/lseek.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/lseek.cpp b/Kernel/Syscalls/lseek.cpp index 2422dce950..52e15bef50 100644 --- a/Kernel/Syscalls/lseek.cpp +++ b/Kernel/Syscalls/lseek.cpp @@ -11,7 +11,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$lseek(int fd, Userspace<off_t*> userspace_offset, int whence) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) + VERIFY_NO_PROCESS_BIG_LOCK(this); TRY(require_promise(Pledge::stdio)); auto description = TRY(open_file_description(fd)); off_t offset; |