Update SPT page entry to change type from EXECUTABLE to PAGE_FILE to capture mmaps in addition to executables
This commit is contained in:
@@ -194,7 +194,7 @@ try_fetch_page (void *upage, bool write)
|
||||
/* Load the page into memory based on the type of data it is expecting. */
|
||||
bool success = false;
|
||||
switch (page->type) {
|
||||
case PAGE_EXECUTABLE:
|
||||
case PAGE_FILE:
|
||||
success = page_load (page, page->writable);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user