mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:57:44 +00:00
Kernel: Mark sys$chmod() 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
aa381c4a67
commit
b4fefedd1d
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ namespace Kernel {
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$chmod(Userspace<Syscall::SC_chmod_params const*> user_params)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::fattr));
|
||||
auto params = TRY(copy_typed_from_user(user_params));
|
||||
auto path = TRY(get_syscall_path_argument(params.path));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue