mmap cause of the failure,
One, probably due to fopen the file is read-only, but in the mmap was written PROT_READ | PROT_WRITE (reading and writing)
So you can just delete PROT_WRITE
(Check for a long time ...)
mmap cause of the failure,
One, probably due to fopen the file is read-only, but in the mmap was written PROT_READ | PROT_WRITE (reading and writing)
So you can just delete PROT_WRITE
(Check for a long time ...)