From f7bb349f452a437ce25a6f28e2a697ee778be019 Mon Sep 17 00:00:00 2001 From: mturk Date: Sat, 7 Feb 2009 09:05:54 +0000 Subject: Add object perms set macros and implement them for shm and mutex git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@741862 13f79535-47bb-0310-9956-ffa450edef68 --- include/apr_shm.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/apr_shm.h') diff --git a/include/apr_shm.h b/include/apr_shm.h index 2b1d50f6d..e830b96e1 100644 --- a/include/apr_shm.h +++ b/include/apr_shm.h @@ -25,6 +25,7 @@ #include "apr.h" #include "apr_pools.h" #include "apr_errno.h" +#include "apr_perms_set.h" #ifdef __cplusplus extern "C" { @@ -132,6 +133,11 @@ APR_DECLARE(void *) apr_shm_baseaddr_get(const apr_shm_t *m); */ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m); +/** + * Set shared memory permissions. + */ +APR_PERMS_SET_IMPLEMENT(shm); + /** * Get the pool used by this shared memory segment. */ -- cgit v1.2.1