Kernel: fix signal handler block mask restoration

This commit is contained in:
2026-05-26 02:17:08 +03:00
parent c0ce647c74
commit becfa228fe
3 changed files with 6 additions and 2 deletions

View File

@@ -10,10 +10,14 @@
#include <kernel/Thread.h>
#include <kernel/Timer/Timer.h>
#include <kernel/UserCopy.h>
#include <sys/syscall.h>
namespace Kernel
{
static_assert(SYS_SIGPROCMASK == 79, "this is hard coded in arch/*/Signal.S");
static_assert(SIG_SETMASK == 3, "this is hard coded in arch/*/Signal.S");
#if ARCH(x86_64)
static constexpr vaddr_t s_user_stack_addr_start = 0x0000700000000000;
#elif ARCH(i686)