mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
Kernel: Don't consider kernel memory regions for syscall origin check
We should never enter the syscall handler from a kernel address.
This commit is contained in:
parent
d71f64b97f
commit
c6b7b98b64
3 changed files with 6 additions and 6 deletions
|
@ -188,6 +188,7 @@ public:
|
|||
}
|
||||
|
||||
static Region* find_region_from_vaddr(Space&, VirtualAddress);
|
||||
static Region* find_user_region_from_vaddr(Space&, VirtualAddress);
|
||||
|
||||
void dump_kernel_regions();
|
||||
|
||||
|
@ -215,7 +216,6 @@ private:
|
|||
static void flush_tlb_local(VirtualAddress, size_t page_count = 1);
|
||||
static void flush_tlb(const PageDirectory*, VirtualAddress, size_t page_count = 1);
|
||||
|
||||
static Region* user_region_from_vaddr(Space&, VirtualAddress);
|
||||
static Region* kernel_region_from_vaddr(VirtualAddress);
|
||||
|
||||
static Region* find_region_from_vaddr(VirtualAddress);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue