Kernel: Implement SYS_GET_PID and SYS_TCSETPGID

we don't have consept of process groups yet
This commit is contained in:
Bananymous
2023-07-24 22:27:11 +03:00
parent 1ef0534b69
commit f6ee4b3496
5 changed files with 56 additions and 3 deletions

View File

@@ -104,6 +104,8 @@ namespace Kernel
BAN::ErrorOr<long> sys_raise(int signal);
static BAN::ErrorOr<long> sys_kill(pid_t pid, int signal);
BAN::ErrorOr<long> sys_tcsetpgrp(int fd, pid_t pgid);
BAN::ErrorOr<long> sys_termid(char*) const;
BAN::ErrorOr<long> sys_clock_gettime(clockid_t, timespec*) const;