diff options
author | Joel Sherrill <joel@rtems.org> | 2017-08-02 18:26:51 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-09-22 16:45:05 -0500 |
commit | ea4488ae8963767a6f7878e27fcbebd7985cd33a (patch) | |
tree | de2e8f7ba4c480aff3b9376921356aef22897241 /cpukit/posix/src/shmopen.c | |
parent | bsps: Generalize bsp_fdt_map_intr() (diff) | |
download | rtems-ea4488ae8963767a6f7878e27fcbebd7985cd33a.tar.bz2 |
posix shm: Add oflag to Shm_Control
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/shmopen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/posix/src/shmopen.c b/cpukit/posix/src/shmopen.c index 59e9e9da22..8913e19c15 100644 --- a/cpukit/posix/src/shmopen.c +++ b/cpukit/posix/src/shmopen.c @@ -179,6 +179,7 @@ static inline POSIX_Shm_Control *shm_allocate( shm->shm_object.size = 0; shm->shm_object.ops = &_POSIX_Shm_Object_operations; shm->mode = mode & ~rtems_filesystem_umask; + shm->oflag = oflag; shm->uid = geteuid(); shm->gid = getegid(); shm->atime = (time_t) tv.tv_sec; |