Kernel/LibC: Cleanup, fix and implement a lot of signal code

This patch implements sigsets and some of their usages
This commit is contained in:
2024-08-01 17:01:18 +03:00
parent 838d31fa41
commit 6de350ce9d
7 changed files with 180 additions and 45 deletions

View File

@@ -40,7 +40,6 @@ __BEGIN_DECLS
O(SYS_DUP, dup) \
O(SYS_DUP2, dup2) \
O(SYS_KILL, kill) \
O(SYS_SIGNAL, signal) \
O(SYS_TCSETPGRP, tcsetpgrp) \
O(SYS_GET_PID, getpid) \
O(SYS_GET_PGID, getpgid) \
@@ -84,6 +83,9 @@ __BEGIN_DECLS
O(SYS_REALPATH, realpath) \
O(SYS_TTYNAME, ttyname) \
O(SYS_ACCESS, access) \
O(SYS_SIGACTION, sigaction) \
O(SYS_SIGPENDING, sigpending) \
O(SYS_SIGPROCMASK, sigprocmask) \
enum Syscall
{