Bug #332

mmap fails to update atime

Added by corecode over 6 years ago. Updated over 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Hey,

it seems mmap() fails to update the atime of files correctly, as mandated by SUSv3:

> The st_atime field of the mapped file may be marked for update at any time between the mmap() call and the corresponding munmap() call. The initial read or write reference to a mapped region shall cause the file's st_atime field to be marked for update if it has not already been marked for update.

more details follow.

cheers
simon


Related todos

History

Updated by corecode over 4 years ago

originally committed in 8e7ceff7f24f4bd5eae767c8c091e696d490dd58
better fix in a6e41612e54fa7b0a616c8f8d14446bab206d030

Also available in: Atom PDF