Merge frame pinning into themis-synch

This commit is contained in:
sBubshait
2024-12-05 23:56:25 +00:00
parent fc088a19ac
commit 1efa1fef9a

View File

@@ -472,7 +472,7 @@ syscall_mmap (int fd, void *addr)
off_t read_bytes = file_size - ofs < PGSIZE ? file_size - ofs : PGSIZE; off_t read_bytes = file_size - ofs < PGSIZE ? file_size - ofs : PGSIZE;
off_t zero_bytes = PGSIZE - read_bytes; off_t zero_bytes = PGSIZE - read_bytes;
if (page_insert (file, ofs, addr + ofs, read_bytes, zero_bytes, true, if (page_insert_file (file, ofs, addr + ofs, read_bytes, zero_bytes, true,
PAGE_FILE) == NULL) PAGE_FILE) == NULL)
return MMAP_FAILURE; return MMAP_FAILURE;
} }