/openbsd/sbin/iked/ |
H A D | proc.c | 160 if (dst == PROC_PARENT) in proc_connect() 176 if (src == PROC_PARENT || dst == PROC_PARENT) in proc_connect() 189 if (dst == PROC_PARENT) in proc_connect() 218 if (proc_id == PROC_PARENT) { in proc_init() 219 privsep_process = PROC_PARENT; in proc_init() 232 if (dst == PROC_PARENT) in proc_init() 236 pa = &ps->ps_pipes[PROC_PARENT][0]; in proc_init() 244 pb->pp_pipes[PROC_PARENT][0] = fds[1]; in proc_init() 307 ps->ps_title[PROC_PARENT] = "parent"; in proc_setup() 380 if (privsep_process != PROC_PARENT) in proc_kill() [all …]
|
H A D | control.c | 54 { "parent", PROC_PARENT, NULL }, 309 proc_forward_imsg(&env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg() 317 proc_forward_imsg(&env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
|
H A D | types.h | 146 PROC_PARENT = 0, enumerator
|
H A D | vroute.c | 269 return (proc_composev(&env->sc_ps, PROC_PARENT, in vroute_setaddr() 337 return (proc_composev(&env->sc_ps, PROC_PARENT, in vroute_setdns() 570 return (proc_composev(&env->sc_ps, PROC_PARENT, type, iov, iovcnt)); in vroute_setroute()
|
/openbsd/usr.sbin/snmpd/ |
H A D | proc.c | 112 fd = ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0]; in proc_exec() 113 ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0] = -1; in proc_exec() 153 if (dst == PROC_PARENT) in proc_connect() 169 if (src == PROC_PARENT || dst == PROC_PARENT) in proc_connect() 190 if (proc_id == PROC_PARENT) { in proc_init() 191 privsep_process = PROC_PARENT; in proc_init() 204 if (dst == PROC_PARENT) in proc_init() 208 pa = &ps->ps_pipes[PROC_PARENT][0]; in proc_init() 216 pb->pp_pipes[PROC_PARENT][0] = fds[1]; in proc_init() 279 ps->ps_title[PROC_PARENT] = "parent"; in proc_setup() [all …]
|
H A D | snmpd.c | 139 int proc_id = PROC_PARENT, proc_instance = 0; in main()
|
/openbsd/usr.sbin/relayd/ |
H A D | proc.c | 112 fd = ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0]; in proc_exec() 113 ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0] = -1; in proc_exec() 153 if (dst == PROC_PARENT) in proc_connect() 169 if (src == PROC_PARENT || dst == PROC_PARENT) in proc_connect() 190 if (proc_id == PROC_PARENT) { in proc_init() 191 privsep_process = PROC_PARENT; in proc_init() 204 if (dst == PROC_PARENT) in proc_init() 208 pa = &ps->ps_pipes[PROC_PARENT][0]; in proc_init() 216 pb->pp_pipes[PROC_PARENT][0] = fds[1]; in proc_init() 279 ps->ps_title[PROC_PARENT] = "parent"; in proc_setup() [all …]
|
H A D | control.c | 358 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg() 382 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
|
H A D | check_script.c | 58 if (proc_compose(env->sc_ps, PROC_PARENT, IMSG_SCRIPT, &scr, in check_script()
|
H A D | pfe_route.c | 84 proc_compose(env->sc_ps, PROC_PARENT, in sync_routes()
|
H A D | config.c | 40 if (privsep_process == PROC_PARENT) { in config_init() 50 ps->ps_what[PROC_PARENT] = CONFIG_ALL; in config_init() 300 if (privsep_process != PROC_PARENT) in config_getcfg() 301 proc_compose(env->sc_ps, PROC_PARENT, IMSG_CFG_DONE, NULL, 0); in config_getcfg()
|
/openbsd/usr.sbin/httpd/ |
H A D | proc.c | 112 fd = ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0]; in proc_exec() 113 ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0] = -1; in proc_exec() 153 if (dst == PROC_PARENT) in proc_connect() 169 if (src == PROC_PARENT || dst == PROC_PARENT) in proc_connect() 190 if (proc_id == PROC_PARENT) { in proc_init() 191 privsep_process = PROC_PARENT; in proc_init() 204 if (dst == PROC_PARENT) in proc_init() 208 pa = &ps->ps_pipes[PROC_PARENT][0]; in proc_init() 216 pb->pp_pipes[PROC_PARENT][0] = fds[1]; in proc_init() 279 ps->ps_title[PROC_PARENT] = "parent"; in proc_setup() [all …]
|
H A D | logger.c | 51 { "parent", PROC_PARENT, logger_dispatch_parent }, 120 if (proc_composev(httpd_env->sc_ps, PROC_PARENT, IMSG_LOG_OPEN, in logger_open_file()
|
H A D | control.c | 267 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg() 286 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
|
H A D | config.c | 46 if (privsep_process == PROC_PARENT) in config_init() 49 ps->ps_what[PROC_PARENT] = CONFIG_ALL; in config_init() 154 if (privsep_process != PROC_PARENT) in config_getcfg() 155 proc_compose(env->sc_ps, PROC_PARENT, in config_getcfg()
|
/openbsd/usr.sbin/vmd/ |
H A D | proc.c | 111 fd = ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0]; in proc_exec() 112 ps->ps_pipes[p->p_id][i].pp_pipes[PROC_PARENT][0] = -1; in proc_exec() 152 if (dst == PROC_PARENT) in proc_connect() 168 if (src == PROC_PARENT || dst == PROC_PARENT) in proc_connect() 189 if (proc_id == PROC_PARENT) { in proc_init() 190 privsep_process = PROC_PARENT; in proc_init() 203 if (dst == PROC_PARENT) in proc_init() 207 pa = &ps->ps_pipes[PROC_PARENT][0]; in proc_init() 215 pb->pp_pipes[PROC_PARENT][0] = fds[1]; in proc_init() 278 ps->ps_title[PROC_PARENT] = "vmd"; in proc_setup() [all …]
|
H A D | control.c | 56 { "parent", PROC_PARENT, control_dispatch_vmd } 161 proc_compose(ps, PROC_PARENT, IMSG_VMDOP_DONE, NULL, 0); in control_dispatch_vmd() 229 proc_compose(ps, PROC_PARENT, IMSG_VMDOP_DONE, NULL, 0); in control_init() 437 if (proc_compose_imsg(ps, PROC_PARENT, -1, in control_dispatch_imsg() 450 if (proc_compose_imsg(ps, PROC_PARENT, -1, in control_dispatch_imsg() 478 if (proc_compose_imsg(ps, PROC_PARENT, -1, in control_dispatch_imsg() 489 if (proc_compose_imsg(ps, PROC_PARENT, -1, in control_dispatch_imsg() 505 if (proc_compose_imsg(ps, PROC_PARENT, -1, in control_dispatch_imsg()
|
H A D | vmm.c | 55 { "parent", PROC_PARENT, vmm_dispatch_parent }, 349 if (proc_compose_imsg(ps, PROC_PARENT, -1, cmd, in vmm_dispatch_parent() 354 if (proc_compose_imsg(ps, PROC_PARENT, -1, cmd, in vmm_dispatch_parent() 413 if (proc_compose_imsg(ps, PROC_PARENT, in vmm_sighdlr() 539 if (procs[i].p_id == PROC_PARENT) { in vmm_dispatch_vm() 541 &imsg, PROC_PARENT, -1); in vmm_dispatch_vm() 881 if (proc_compose_imsg(ps, PROC_PARENT, -1, in get_info_vm()
|
H A D | proc.h | 79 PROC_PARENT = 0, enumerator
|
H A D | vm_agentx.c | 94 { "parent", PROC_PARENT, vm_agentx_dispatch_parent }, 524 if (proc_compose_imsg(&(env->vmd_ps), PROC_PARENT, -1, in vm_agentx_vminfo()
|
H A D | priv.c | 46 { "parent", PROC_PARENT, priv_dispatch_parent } 247 proc_compose_imsg(ps, PROC_PARENT, -1, in priv_dispatch_parent()
|
H A D | vmd.c | 617 if (privsep_process != PROC_PARENT) in vmd_sighdlr() 660 enum privsep_procid proc_id = PROC_PARENT; in main() 758 if (proc_id == PROC_PARENT && *argv[0] != '/' && !env->vmd_noaction) in main() 802 if (env->vmd_noaction == 0 && proc_id == PROC_PARENT) { in main() 847 if (env->vmd_noaction == 0 && proc_id == PROC_PARENT) in main()
|
/openbsd/usr.sbin/smtpd/ |
H A D | dispatcher.c | 173 config_peer(PROC_PARENT); in dispatcher()
|
H A D | smtpd.c | 637 smtpd_process = PROC_PARENT; in main() 905 p_parent->proc = PROC_PARENT; in setup_proc() 1880 case PROC_PARENT: in proc_title() 1906 case PROC_PARENT: in proc_name()
|
H A D | config.c | 314 else if (proc == PROC_PARENT) in config_peer()
|