1a38107941725211e7c3f051f7a8f5e12199f03acmaeder/* Licensed to the Apache Software Foundation (ASF) under one or more
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * contributor license agreements. See the NOTICE file distributed with
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * this work for additional information regarding copyright ownership.
9eb6a481980d81a55898ba418fba72fc3c09d8c8Dominik Luecke * The ASF licenses this file to You under the Apache License, Version 2.0
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * (the "License"); you may not use this file except in compliance with
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu * the License. You may obtain a copy of the License at
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke *
2eeec5240b424984e3ee26296da1eeab6c6d739eChristian Maeder * http://www.apache.org/licenses/LICENSE-2.0
b72a390042c19e630cf221494b60c9df2a60d187Dominik Luecke *
b72a390042c19e630cf221494b60c9df2a60d187Dominik Luecke * Unless required by applicable law or agreed to in writing, software
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke * distributed under the License is distributed on an "AS IS" BASIS,
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder * See the License for the specific language governing permissions and
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder * limitations under the License.
2af38fde95f93562f2124ec615fba0e509c8202eDominik Luecke */
cf04ba46b9eb495d334466e24e082e391055ca7bDominik Luecke
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder#define INCL_DOS
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder#define INCL_DOSERRORS
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder#include <os2.h>
501e4e6b8288a5b73d7d4b8d8b80817f9bf8e60fJonathan von Schroeder#include "ap_config.h"
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke#include "httpd.h"
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke#include "http_log.h"
da955132262baab309a50fdffe228c9efe68251dCui Jian#include "os.h"
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder#include <sys/time.h>
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder#include <sys/signal.h>
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder#include <ctype.h>
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder#include <string.h>
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder#include "apr_strings.h"
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder
16e124196c6b204769042028c74f533509c9b5d3Christian MaederAP_DECLARE(apr_status_t) ap_os_create_privileged_process(
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder const request_rec *r,
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder apr_proc_t *newproc, const char *progname,
202df46772cac2ee2e8627ba196a5faebb6f9a05Christian Maeder const char * const *args,
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder const char * const *env,
f90884915ff10ae83f59e709c68824de834e64f5Dominik Luecke apr_procattr_t *attr, apr_pool_t *p)
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder{
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke return apr_proc_create(newproc, progname, args, env, attr, p);
fcac596b16bb10f475066c323b9b1ca44db2b755Dominik Luecke}
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder