mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel: Make sys$pipe() not take the big lock
This system call mainly accesses the file descriptor table, and this is already guarded by MutexProtected.
This commit is contained in:
parent
0b58fd5aef
commit
307932857e
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ namespace Kernel {
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$pipe(int pipefd[2], int flags)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this)
|
||||
TRY(require_promise(Pledge::stdio));
|
||||
|
||||
// Reject flags other than O_CLOEXEC, O_NONBLOCK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue