unix
[Operating System Specific]


モジュール

 Unix Event MPM
 Unix Prefork
 Unix Worker MPM

データ構造

struct  ap_unix_identity_t
struct  unixd_config_rec

マクロ定義

#define PLATFORM   "Unix"
#define AP_NEED_SET_MUTEX_PERMS   1
#define DEFAULT_USER   "#-1"
#define DEFAULT_GROUP   "#-1"
#define unixd_killpg(x, y)   (kill (-(x), (y)))
#define ap_os_killpg(x, y)   (kill (-(x), (y)))
#define UNIX_DAEMON_COMMANDS

関数

ap_unix_identity_t * get_suexec_identity (const request_rec *r)
int unixd_setup_child (void)
void unixd_pre_config (apr_pool_t *ptemp)
const char * unixd_set_user (cmd_parms *cmd, void *dummy, const char *arg)
const char * unixd_set_group (cmd_parms *cmd, void *dummy, const char *arg)
apr_status_t unixd_set_proc_mutex_perms (apr_proc_mutex_t *pmutex)
apr_status_t unixd_set_global_mutex_perms (apr_global_mutex_t *gmutex)
apr_status_t unixd_accept (void **accepted, ap_listen_rec *lr, apr_pool_t *ptrans)

変数

AP_DECLARE_DATA unixd_config_rec unixd_config

マクロ定義

#define UNIX_DAEMON_COMMANDS

値:

AP_INIT_TAKE1("User", unixd_set_user, NULL, RSRC_CONF, \
  "Effective user id for this server"), \
AP_INIT_TAKE1("Group", unixd_set_group, NULL, RSRC_CONF, \
  "Effective group id for this server")


関数

apr_status_t unixd_set_proc_mutex_perms ( apr_proc_mutex_t pmutex  ) 

One of the functions to set mutex permissions should be called in the parent process on platforms that switch identity when the server is started as root. If the child init logic is performed before switching identity (e.g., MPM setup for an accept mutex), it should only be called for SysV semaphores. Otherwise, it is safe to call it for all mutex types.


Apacheに対してSun Jul 19 22:05:29 2009に生成されました。  doxygen 1.4.7