Kernel/LibC: Implement tcgetpgrp

This commit is contained in:
2024-12-02 03:59:23 +02:00
parent 6346e288ad
commit 6ed1435aeb
4 changed files with 25 additions and 0 deletions

View File

@@ -483,6 +483,11 @@ pid_t getpgid(pid_t pid)
return syscall(SYS_GET_PGID, pid);
}
int tcgetpgrp(int fildes)
{
return syscall(SYS_TCGETPGRP, fildes);
}
int seteuid(uid_t uid)
{
return syscall(SYS_SET_EUID, uid);