mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
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.
This commit is contained in:
parent
8165346ae4
commit
7543c34d07
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue