diff options
author | Diomidis Spinellis <dds@FreeBSD.org> | 2005-10-04 14:58:58 +0000 |
---|---|---|
committer | Diomidis Spinellis <dds@FreeBSD.org> | 2005-10-04 14:58:58 +0000 |
commit | 1e3090039d20412312d4a7b92be75dba844f265c (patch) | |
tree | 82685873578b707cf6eb13849ba4c48bb438c702 /lib/libbsnmp | |
parent | 86c5d92d71654c064678dd03a664dd07d688e581 (diff) | |
download | src-1e3090039d20412312d4a7b92be75dba844f265c.tar.gz src-1e3090039d20412312d4a7b92be75dba844f265c.zip |
Update the vnode's access time after an mmap operation on it.
Before this change a copy operation with cp(1) would not update the
file access times.
According to the POSIX mmap(2) documentation: 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.
Notes
Notes:
svn path=/head/; revision=150926
Diffstat (limited to 'lib/libbsnmp')
0 files changed, 0 insertions, 0 deletions