diff options
author | Manoj Kasichainula <manoj@apache.org> | 2000-10-23 17:30:57 +0200 |
---|---|---|
committer | Manoj Kasichainula <manoj@apache.org> | 2000-10-23 17:30:57 +0200 |
commit | b1fb90877e90fcf1a55f1ec129e31de12bf938e2 (patch) | |
tree | 9cfcad3f96739acbead64dbbf874ddbd80748d59 /include/ap_mpm.h | |
parent | London Sun. (diff) | |
download | apache2-b1fb90877e90fcf1a55f1ec129e31de12bf938e2.tar.xz apache2-b1fb90877e90fcf1a55f1ec129e31de12bf938e2.zip |
Add back suexec support.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r-- | include/ap_mpm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h index 174fb0365c..945b647d7c 100644 --- a/include/ap_mpm.h +++ b/include/ap_mpm.h @@ -141,4 +141,23 @@ AP_DECLARE(int) ap_graceful_stop_signalled(void); AP_DECLARE(void) ap_start_shutdown(void); +/** + * Spawn a process with privileges that another module has requested + * @param r The request_rec of the current request + * @param newproc The resulting process handle. + * @param progname The program to run + * @param const_args the arguments to pass to the new program. The first + * one should be the program name. + * @param env The new environment apr_table_t for the new process. This + * should be a list of NULL-terminated strings. + * @param attr the procattr we should use to determine how to create the new + * process + * @param p The pool to use. + */ +extern apr_status_t ap_os_create_privileged_process(const request_rec *r, + apr_proc_t *newproc, const char *progname, + char *const *args, char **env, + apr_procattr_t *attr, apr_pool_t *p); + + #endif |