case SYS_GETUID: ret = Threads_GetUID(); break;
case SYS_GETGID: ret = Threads_GetGID(); break;
+ // -- Set User/Group IDs
+ case SYS_SETUID: Log("Setting User ID to %i", Regs->Arg1); break;
+ case SYS_SETGID: Log("Setting Group ID to %i", Regs->Arg1); break;
+
// -- Send Message
case SYS_SENDMSG:
ret = Proc_SendMessage(&err, Regs->Arg1, Regs->Arg2, (void*)Regs->Arg3);
SYSCALL0 getuid, SYS_GETUID
SYSCALL0 getgid, SYS_GETGID
-SYSCALL0 setuid, SYS_SETUID
-SYSCALL0 setgid, SYS_SETGID
+SYSCALL1 setuid, SYS_SETUID
+SYSCALL1 setgid, SYS_SETGID
SYSCALL1 SysSetName, SYS_SETNAME
SYSCALL2 SysGetName, SYS_GETNAME