mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
Add tcsetpgrp()+tcgetpgrp().
One more step on the path to being able to ^C a runaway process. :^)
This commit is contained in:
parent
d8f0dd6f3b
commit
621217ffeb
Notes:
sideshowbarker
2024-07-19 18:34:27 +09:00
Author: https://github.com/awesomekling
Commit: 621217ffeb
11 changed files with 72 additions and 4 deletions
|
@ -124,6 +124,10 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
|
|||
return current->sys$getpgid((pid_t)arg1);
|
||||
case Syscall::PosixGetpgrp:
|
||||
return current->sys$getpgrp();
|
||||
case Syscall::PosixTcgetpgrp:
|
||||
return current->sys$tcgetpgrp((int)arg1);
|
||||
case Syscall::PosixTcsetpgrp:
|
||||
return current->sys$tcsetpgrp((int)arg1, (pid_t)arg2);
|
||||
default:
|
||||
kprintf("<%u> int0x80: Unknown function %x requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue