32 #ifdef HAVE_SYS_TIME_H
35 #ifdef HAVE_SYS_RESOURCE_H
36 #include <sys/resource.h>
45 #if APR_HAVE_SYS_TYPES_H
46 #include <sys/types.h>
69 #define DEFAULT_USER "#-1"
72 #define DEFAULT_GROUP "#-1"
86 #if defined(RLIMIT_CPU) || defined(RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_NPROC) || defined(RLIMIT_AS)
89 const char * arg2,
int type);
106 #define ap_unixd_killpg(x, y) (killpg ((x), (y)))
107 #define ap_os_killpg(x, y) (killpg ((x), (y)))
109 #define ap_unixd_killpg(x, y) (kill (-(x), (y)))
110 #define ap_os_killpg(x, y) (kill (-(x), (y)))
#define AP_DECLARE_HOOK(ret, name, args)
Definition: ap_hooks.h:74
Apache Listeners Library.
APR Global Locking Routines.
APR Process Locking Routines.
APR Thread and Process Library.
ap_unix_identity_t * get_suexec_identity(const request_rec *r)
apr_status_t ap_unixd_accept(void **accepted, ap_listen_rec *lr, apr_pool_t *ptrans)
ap_unixd_mpm_retained_data * ap_unixd_mpm_get_retained_data(void)
apr_status_t ap_unixd_set_proc_mutex_perms(apr_proc_mutex_t *pmutex)
apr_status_t ap_unixd_set_global_mutex_perms(apr_global_mutex_t *gmutex)
AP_DECLARE_DATA unixd_config_rec ap_unixd_config
void ap_unixd_mpm_set_signals(apr_pool_t *pconf, int once_process)
request_rec * r
Definition: mod_dav.h:518
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define AP_DECLARE_DATA
Definition: macros.h:15
#define AP_DECLARE(x)
Definition: macros.h:1
Apache scoreboard library.
int ap_generation_t
Definition: scoreboard.h:78
Apache's listeners record.
Definition: ap_listen.h:54
uid_t uid
Definition: unixd.h:57
int userdir
Definition: unixd.h:59
gid_t gid
Definition: unixd.h:58
int volatile is_ungraceful
Definition: unixd.h:120
int was_graceful
Definition: unixd.h:124
int volatile restart_pending
Definition: unixd.h:119
int module_loads
Definition: unixd.h:123
int max_buckets
Definition: unixd.h:131
void * baton
Definition: unixd.h:114
int volatile mpm_state
Definition: unixd.h:117
ap_generation_t my_generation
Definition: unixd.h:122
int volatile shutdown_pending
Definition: unixd.h:118
Definition: apr_arch_global_mutex.h:23
Definition: apr_arch_proc_mutex.h:27
Definition: http_config.h:288
A structure that represents the current request.
Definition: httpd.h:856
const char * group_name
Definition: unixd.h:77
uid_t user_id
Definition: unixd.h:78
const char * chroot_dir
Definition: unixd.h:81
const char * user_name
Definition: unixd.h:76
int suexec_enabled
Definition: unixd.h:80
const char * suexec_disabled_reason
Definition: unixd.h:82
gid_t group_id
Definition: unixd.h:79