Question OS-VM-0074
HardWhat does mapping a file with mmap() and the MAP_PRIVATE flag give a process?
- A.
Exclusive locking of the file
- B.
A read-only view that can never change
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Virtual Memory question
What does mapping a file with mmap() and the MAP_PRIVATE flag give a process?
Exclusive locking of the file
A read-only view that can never change
Sign up free to see the answer and a step-by-step explanation.
A copy of the file on another disk
A copy-on-write view: the process can change its pages, but the changes are not written back to the file