summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2014-01-25 20:07:44 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2014-01-25 20:07:44 +0000
commit44f8985c30628aeefcdac7c6f171ed82e1ae9dbd (patch)
treebddda00b7f8dc7b4a1df801ebf4e79cb1dee476b /shmem
parent16cbc41470193fc28ab84f01ddfcd3d85f7881b2 (diff)
downloadlibapr-44f8985c30628aeefcdac7c6f171ed82e1ae9dbd.tar.gz
FIXME comment...
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1561383 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/unix/shm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c
index d771382ef..9ec33bbae 100644
--- a/shmem/unix/shm.c
+++ b/shmem/unix/shm.c
@@ -308,6 +308,7 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
}
#endif /* APR_USE_SHMEM_MMAP_TMP */
#if APR_USE_SHMEM_MMAP_SHM
+ /* FIXME: SysV uses 0600... should we? */
tmpfd = shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, 0644);
if (tmpfd == -1) {
return errno;
@@ -534,6 +535,7 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m,
#if APR_USE_SHMEM_MMAP_SHM
const char *shm_name = make_shm_open_safe_name(filename, pool);
+ /* FIXME: SysV uses 0600... should we? */
tmpfd = shm_open(shm_name, O_RDWR, 0644);
if (tmpfd == -1) {
return errno;