summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-21 05:42:26 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-21 05:42:26 +0000
commit88973dbf41a6ba0899f60e133e63e0d12a1ec497 (patch)
treed666fdfd7f8ef840c2ce4a50566e92f3d13bc38c /ace
parentea093df39332f50c49b05815a3c4722f9bf3f2b8 (diff)
downloadATCD-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.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/OS.i b/ace/OS.i
index a6a7b86d700..804489334f4 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -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;
}