summaryrefslogtreecommitdiff
path: root/threadproc/os2
diff options
context:
space:
mode:
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2005-01-16 07:30:46 +0000
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2005-01-16 07:30:46 +0000
commit6489c816b5a63e87891fc62834802468056858d6 (patch)
tree0a9b23290364285a9658c3df99c4bfa3d929a60e /threadproc/os2
parentdae8ad5c39d3a9b323a4952b02f1175b5dd25287 (diff)
downloadlibapr-6489c816b5a63e87891fc62834802468056858d6.tar.gz
Added apr_procattr_user_set and apr_procattr_group_set to allow setting uid/gid for newly created processes using apr_proc_create.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125349 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r--threadproc/os2/proc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c
index 4edb45221..7fa9dc7c2 100644
--- a/threadproc/os2/proc.c
+++ b/threadproc/os2/proc.c
@@ -601,3 +601,16 @@ APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize)
{
return APR_ENOTIMPL;
}
+
+APR_DECLARE(apr_status_t) apr_procattr_user_set(apr_procattr_t *attr,
+ const char *username,
+ const char *password)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_procattr_group_set(apr_procattr_t *attr,
+ const char *groupname)
+{
+ return APR_ENOTIMPL;
+}