summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index 2e24c7ec29..e8163a4465 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -114,6 +114,16 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
return current->sys$readlink((const char*)arg1, (char*)arg2, (size_t)arg3);
case Syscall::PosixTtynameR:
return current->sys$ttyname_r((int)arg1, (char*)arg2, (size_t)arg3);
+ case Syscall::PosixSetsid:
+ return current->sys$setsid();
+ case Syscall::PosixGetsid:
+ return current->sys$getsid((pid_t)arg1);
+ case Syscall::PosixSetpgid:
+ return current->sys$setpgid((pid_t)arg1, (pid_t)arg2);
+ case Syscall::PosixGetpgid:
+ return current->sys$getpgid((pid_t)arg1);
+ case Syscall::PosixGetpgrp:
+ return current->sys$getpgrp();
default:
kprintf("<%u> int0x80: Unknown function %x requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3);
break;