mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 11:09:05 +03:00
Kernel: Mark sys$faccessat as not needing the big lock
This commit is contained in:
parent
c9ee1ad5ae
commit
ca1f8cac66
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ca1f8cac66 Pull-request: https://github.com/SerenityOS/serenity/pull/18188
@ -73,7 +73,7 @@ enum class NeedsBigProcessLock {
|
||||
S(execve, NeedsBigProcessLock::Yes) \
|
||||
S(exit, NeedsBigProcessLock::Yes) \
|
||||
S(exit_thread, NeedsBigProcessLock::Yes) \
|
||||
S(faccessat, NeedsBigProcessLock::Yes) \
|
||||
S(faccessat, NeedsBigProcessLock::No) \
|
||||
S(fchdir, NeedsBigProcessLock::No) \
|
||||
S(fchmod, NeedsBigProcessLock::No) \
|
||||
S(fchown, NeedsBigProcessLock::No) \
|
||||
|
@ -12,7 +12,7 @@ namespace Kernel {
|
||||
|
||||
ErrorOr<FlatPtr> Process::sys$faccessat(Userspace<Syscall::SC_faccessat_params const*> user_params)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::rpath));
|
||||
auto params = TRY(copy_typed_from_user(user_params));
|
||||
auto pathname = TRY(get_syscall_path_argument(params.pathname));
|
||||
|
Loading…
Reference in New Issue
Block a user