Lines Matching defs:mode
52 priv_mode mode;
56 priv_mode mode;
72 /* inherit the mode if it's not set; the rest won't be inherited */
76 ret->mode = (add->mode == PRIV_UNSET) ? base->mode : add->mode;
87 /* By default, run in secure vhost mode.
106 cfg->mode = PRIV_UNSET;
119 cfg->mode = PRIV_UNSET;
127 ret->mode = (add->mode == PRIV_UNSET) ? base->mode : add->mode;
145 if ((cfg->mode == PRIV_SECURE) ||
146 ((cfg->mode == PRIV_SELECTIVE) && (dcfg->mode == PRIV_SECURE))) {
175 /* secure mode: fork a process to handle the request */
189 fork_req = (cfg->mode == PRIV_SECURE);
192 ap_set_module_config(r->request_config, &privileges_module, &cfg->mode);
195 if ((cfg->mode == PRIV_SELECTIVE)) {
205 if ((cfg->mode != PRIV_SELECTIVE)) {
212 fork_req = (dcfg->mode == PRIV_SECURE);
491 priv_mode mode = PRIV_UNSET;
493 mode = PRIV_FAST;
496 mode = PRIV_SECURE;
499 mode = PRIV_SELECTIVE;
505 cfg->mode = mode;
506 if ((mode == PRIV_UNSET) || (mode == PRIV_SELECTIVE)) {
514 cfg->mode = mode;
515 if (mode == PRIV_UNSET) {
565 "Run in enhanced security mode (default ON)"),