mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Kernel: Mark sys$emuctl() as not needing the big lock
This syscall doesn't do anything at all, and definitely doesn't need the big lock. :^)
This commit is contained in:
parent
b4fefedd1d
commit
09e644f0ba
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ enum class NeedsBigProcessLock {
|
|||
S(disown, NeedsBigProcessLock::Yes) \
|
||||
S(dump_backtrace, NeedsBigProcessLock::No) \
|
||||
S(dup2, NeedsBigProcessLock::No) \
|
||||
S(emuctl, NeedsBigProcessLock::Yes) \
|
||||
S(emuctl, NeedsBigProcessLock::No) \
|
||||
S(execve, NeedsBigProcessLock::Yes) \
|
||||
S(exit, NeedsBigProcessLock::Yes) \
|
||||
S(exit_thread, NeedsBigProcessLock::Yes) \
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Kernel {
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$emuctl()
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
return ENOSYS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue