From f415218afe008ba2de123040781c550f3cf48352 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 28 Oct 2021 23:33:41 +0300 Subject: Kernel+LibC: Implement sigaltstack() This is required for compiling wine for serenity --- Kernel/Memory/Region.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Kernel/Memory') diff --git a/Kernel/Memory/Region.h b/Kernel/Memory/Region.h index 8a86317b40..403e9b743b 100644 --- a/Kernel/Memory/Region.h +++ b/Kernel/Memory/Region.h @@ -172,6 +172,8 @@ public: void set_writable(bool b) { set_access_bit(Access::Write, b); } void set_executable(bool b) { set_access_bit(Access::Execute, b); } + void unsafe_clear_access() { m_access = Region::None; } + void set_page_directory(PageDirectory&); ErrorOr map(PageDirectory&, ShouldFlushTLB = ShouldFlushTLB::Yes); enum class ShouldDeallocateVirtualRange { -- cgit v1.2.3