Home
last modified time | relevance | path

Searched refs:PROC_PARENT (Results 1 – 25 of 49) sorted by relevance

12

/openbsd/sbin/iked/
H A Dproc.c160 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 Dcontrol.c54 { "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 Dtypes.h146 PROC_PARENT = 0, enumerator
H A Dvroute.c269 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 Dproc.c112 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 Dsnmpd.c139 int proc_id = PROC_PARENT, proc_instance = 0; in main()
/openbsd/usr.sbin/relayd/
H A Dproc.c112 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 Dcontrol.c358 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 Dcheck_script.c58 if (proc_compose(env->sc_ps, PROC_PARENT, IMSG_SCRIPT, &scr, in check_script()
H A Dpfe_route.c84 proc_compose(env->sc_ps, PROC_PARENT, in sync_routes()
H A Dconfig.c40 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 Dproc.c112 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 Dlogger.c51 { "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 Dcontrol.c267 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 Dconfig.c46 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 Dproc.c111 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 Dcontrol.c56 { "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 Dvmm.c55 { "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 Dproc.h79 PROC_PARENT = 0, enumerator
H A Dvm_agentx.c94 { "parent", PROC_PARENT, vm_agentx_dispatch_parent },
524 if (proc_compose_imsg(&(env->vmd_ps), PROC_PARENT, -1, in vm_agentx_vminfo()
H A Dpriv.c46 { "parent", PROC_PARENT, priv_dispatch_parent }
247 proc_compose_imsg(ps, PROC_PARENT, -1, in priv_dispatch_parent()
H A Dvmd.c617 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 Ddispatcher.c173 config_peer(PROC_PARENT); in dispatcher()
H A Dsmtpd.c637 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 Dconfig.c314 else if (proc == PROC_PARENT) in config_peer()

12