diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-07 16:44:12 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-08 00:19:49 +0100 |
commit | 7543c34d0712c07ab9ba97549063f03b914124e8 (patch) | |
tree | 7b8a6c47d1c5ae32f98a4321519180acceb6f447 /Kernel/Syscalls/anon_create.cpp | |
parent | 8165346ae4ab1fbc05a5fc3d2f05427dce7f8c90 (diff) | |
download | serenity-7543c34d0712c07ab9ba97549063f03b914124e8.zip |
Kernel: Mark sys$anon_create() as not needing the big lock
This syscall is already safe for no-big-lock since it doesn't access any
unprotected data.
Diffstat (limited to 'Kernel/Syscalls/anon_create.cpp')
-rw-r--r-- | Kernel/Syscalls/anon_create.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/anon_create.cpp b/Kernel/Syscalls/anon_create.cpp index 0b3fb06c70..2c57148f1e 100644 --- a/Kernel/Syscalls/anon_create.cpp +++ b/Kernel/Syscalls/anon_create.cpp @@ -13,7 +13,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$anon_create(size_t size, int options) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); + VERIFY_NO_PROCESS_BIG_LOCK(this); TRY(require_promise(Pledge::stdio)); if (!size) |