Kernel: add default signal actions

This commit is contained in:
Bananymous
2023-07-21 18:02:35 +03:00
parent 70f89ed1fc
commit 8063700d7b
3 changed files with 74 additions and 15 deletions

View File

@@ -158,6 +158,10 @@ namespace Kernel
userspace_info_t m_userspace_info;
ExitStatus m_exit_status;
vaddr_t m_signal_handlers[_SIGMAX + 1] { };
uint64_t m_signal_mask { (1ull << SIGCHLD) | (1ull << SIGURG) };
static_assert(_SIGMAX < 64);
BAN::UniqPtr<PageTable> m_page_table;
BAN::RefPtr<TTY> m_tty;
};