diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-21 05:42:26 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-21 05:42:26 +0000 |
commit | 88973dbf41a6ba0899f60e133e63e0d12a1ec497 (patch) | |
tree | d666fdfd7f8ef840c2ce4a50566e92f3d13bc38c /ace | |
parent | ea093df39332f50c49b05815a3c4722f9bf3f2b8 (diff) | |
download | ATCD-88973dbf41a6ba0899f60e133e63e0d12a1ec497.tar.gz |
(mmap): use ACE_DEFAULT_FILE_PERMS on LynxOS for the shared memory object
Diffstat (limited to 'ace')
-rw-r--r-- | ace/OS.i | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6724,7 +6724,9 @@ ACE_OS::mmap (void *addr, // We do support it by creating a hidden shared memory object, and using // that for the mapping. if (!file_mapping || - (*file_mapping = ::shm_open (name, O_RDWR | O_CREAT | O_TRUNC, 0600)) == -1) + (*file_mapping = ::shm_open (name, + O_RDWR | O_CREAT | O_TRUNC, + ACE_DEFAULT_FILE_PERMS)) == -1) { return MAP_FAILED; } |