From 3b2f172d481f33ca9c50e2b76909a4ecf46d5f03 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 11 Nov 2018 00:20:53 +0100 Subject: A bunch of compat work (mostly stubs but some real implementations, too.) Another pass at getting bash-1.14.7 to build. Not that many symbols remain. --- Kernel/Syscall.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Kernel/Syscall.cpp') diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp index 2356e33a8e..d702e8d4c1 100644 --- a/Kernel/Syscall.cpp +++ b/Kernel/Syscall.cpp @@ -161,6 +161,18 @@ static DWORD handle(RegisterDump& regs, DWORD function, DWORD arg1, DWORD arg2, return 0; case Syscall::SC_sigprocmask: return current->sys$sigprocmask((int)arg1, (const Unix::sigset_t*)arg2, (Unix::sigset_t*)arg3); + case Syscall::SC_pipe: + return current->sys$pipe((int*)arg1); + case Syscall::SC_killpg: + return current->sys$killpg((int)arg1, (int)arg2); + case Syscall::SC_setuid: + return current->sys$setuid((uid_t)arg1); + case Syscall::SC_setgid: + return current->sys$setgid((gid_t)arg1); + case Syscall::SC_alarm: + return current->sys$alarm((unsigned)arg1); + case Syscall::SC_access: + return current->sys$access((const char*)arg1, (int)arg2); default: kprintf("<%u> int0x80: Unknown function %x requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3); break; -- cgit v1.2.3