fast_io icon indicating copy to clipboard operation
fast_io copied to clipboard

Issue: native_file_loader fails to load file which is above the size of physical memory. Todo: Add a flag to file_loaders for MMAP flags

Open trcrsired opened this issue 2 years ago • 0 comments

It has been reported that native_file_loader failed to load file over the size of physical memory since it uses MMAP_PRIVATE + PROT_WRITE flags. This will force linux kernel to fail if the file size is above the size of physical memory.

It should have some new flags to allow MMAP_SHARED + PROT_READ flags or even PROT_EXEC to allow users to create things like shared libraries manually with the native_file loader.

trcrsired avatar Aug 14 '22 23:08 trcrsired