Refactor page_type to rename PAGE_FILE to PAGE_EXECUTABLE as mmap and executables are now separate

This commit is contained in:
sBubshait
2024-12-06 16:22:26 +00:00
parent c1bc70adad
commit 7f058ffc90
3 changed files with 3 additions and 3 deletions

View File

@@ -715,7 +715,7 @@ load_segment (struct file *file, off_t ofs, uint8_t *upage,
/* Add the page metadata to the SPT to be lazy loaded later on */
if (page_insert_file (file, ofs, upage, page_read_bytes, page_zero_bytes,
writable, PAGE_FILE) == NULL)
writable, PAGE_EXECUTABLE) == NULL)
return false;
/* Advance. */