summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2017-03-15 14:29:19 -0400
committerGedare Bloom <gedare@rtems.org>2017-05-05 10:34:08 -0400
commit889eb76731ccf087917f3f520aef8471568f9bfa (patch)
tree27ff493a294acfab854313ae1ab914d07665f14d /cpukit/posix/src
parentcpukit: Fix __RTEMS_REVISION__ define (diff)
downloadrtems-889eb76731ccf087917f3f520aef8471568f9bfa.tar.bz2
posix/mman: update atime on shared memory read call
Update #2859.
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r--cpukit/posix/src/shmopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/posix/src/shmopen.c b/cpukit/posix/src/shmopen.c
index 3f3789f7d8..4c86535c6d 100644
--- a/cpukit/posix/src/shmopen.c
+++ b/cpukit/posix/src/shmopen.c
@@ -66,6 +66,7 @@ static ssize_t shm_read( rtems_libio_t *iop, void *buffer, size_t count )
buffer,
count
);
+ _POSIX_Shm_Update_atime( shm );
_POSIX_Shm_Release( shm, &queue_context );
return bytes_read;