mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Kernel: Mark sys$getcwd() as not needing the big lock
This syscall doesn't access any data that was implicitly protected by the big lock.
This commit is contained in:
parent
f630d0f095
commit
7597bef771
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ ErrorOr<FlatPtr> Process::sys$fchdir(int fd)
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$getcwd(Userspace<char*> buffer, size_t size)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::rpath));
|
||||
|
||||
if (size > NumericLimits<ssize_t>::max())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue