Actions
Bug #332
closedmmap fails to update atime
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
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
Updated by corecode almost 16 years ago
originally committed in 8e7ceff7f24f4bd5eae767c8c091e696d490dd58
better fix in a6e41612e54fa7b0a616c8f8d14446bab206d030
Actions