Home
last modified time | relevance | path

Searched refs:sc_ps (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/usr.sbin/relayd/
H A Dconfig.c36 struct privsep *ps = env->sc_ps; in config_init()
381 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_gettable()
422 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_gethost()
483 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getrdr()
510 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getvirt()
566 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getrt()
605 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getroute()
727 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getproto()
796 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getrule()
1128 env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance, in config_getrelaytable()
[all …]
H A Dpfe.c153 proc_compose(env->sc_ps, PROC_RELAY, in pfe_dispatch_hce()
270 proc_compose_imsg(env->sc_ps, PROC_RELAY, cnl.proc, in pfe_dispatch_relay()
446 proc_compose_imsg(env->sc_ps, PROC_RELAY, proc, in show_sessions()
535 proc_compose(env->sc_ps, PROC_HCE, IMSG_TABLE_DISABLE, in disable_table()
571 proc_compose(env->sc_ps, PROC_HCE, IMSG_TABLE_ENABLE, in enable_table()
619 proc_compose(env->sc_ps, PROC_HCE, IMSG_HOST_DISABLE, in disable_host()
674 proc_compose(env->sc_ps, PROC_HCE, IMSG_HOST_ENABLE, in enable_host()
739 control_imsg_forward(env->sc_ps, &imsg); in pfe_sync()
752 control_imsg_forward(env->sc_ps, &imsg); in pfe_sync()
762 control_imsg_forward(env->sc_ps, &imsg); in pfe_sync()
[all …]
H A Dcontrol.c226 struct privsep *ps = env->sc_ps; in control_dispatch_imsg()
358 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
361 proc_compose(env->sc_ps, PROC_HCE, in control_dispatch_imsg()
382 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
383 proc_forward_imsg(env->sc_ps, &imsg, PROC_HCE, -1); in control_dispatch_imsg()
384 proc_forward_imsg(env->sc_ps, &imsg, PROC_RELAY, -1); in control_dispatch_imsg()
H A Drelayd.c182 env->sc_ps = ps; in main()
248 proc_kill(env->sc_ps); in main()
254 proc_kill(env->sc_ps); in main()
309 proc_compose_imsg(env->sc_ps, id, -1, IMSG_CFG_DONE, -1, in parent_configure()
368 proc_compose(env->sc_ps, id, IMSG_CTL_START, NULL, 0); in parent_configure_done()
378 proc_kill(env->sc_ps); in parent_shutdown()
379 control_cleanup(&env->sc_ps->ps_csock); in parent_shutdown()
382 free(env->sc_ps); in parent_shutdown()
1886 proc_compose_imsg(env->sc_ps, PROC_RELAY, -1, IMSG_TLSTICKET_REKEY, in parent_tls_ticket_rekey()
H A Dhce.c138 proc_compose(env->sc_ps, PROC_PFE, IMSG_SYNC, NULL, 0); in hce_launch_checks()
248 proc_compose(env->sc_ps, PROC_PFE, IMSG_HOST_STATUS, &st, sizeof(st)); in hce_notify_done()
H A Dca.c274 if (proc_composev_imsg(env->sc_ps, PROC_RELAY, cko.cko_proc, in ca_dispatch_relay()
299 struct privsep *ps = env->sc_ps; in rsae_send_imsg()
H A Drelay.c361 proc_compose(env->sc_ps, PROC_PFE, IMSG_SESS_PUBLISH, s, sizeof(*s)); in relay_session_publish()
367 proc_compose(env->sc_ps, PROC_PFE, IMSG_SESS_UNPUBLISH, in relay_session_unpublish()
419 proc_compose(env->sc_ps, PROC_PFE, IMSG_STATISTICS, in relay_statistics()
1096 struct privsep *ps = env->sc_ps; in relay_accept()
1222 proc_compose(env->sc_ps, PROC_PFE, IMSG_NATLOOK, in relay_accept()
1470 struct privsep *ps = env->sc_ps; in relay_bindanyreq()
1481 proc_compose(env->sc_ps, PROC_PARENT, IMSG_BINDANY, in relay_bindanyreq()
1804 proc_compose_imsg(env->sc_ps, PROC_PFE, -1, IMSG_KILLSTATES, -1, in relay_close()
1949 proc_compose(env->sc_ps, p->p_id, in relay_dispatch_pfe()
1953 proc_compose(env->sc_ps, p->p_id, IMSG_CTL_END, in relay_dispatch_pfe()
H A Dcheck_script.c58 if (proc_compose(env->sc_ps, PROC_PARENT, IMSG_SCRIPT, &scr, in check_script()
H A Drelay_udp.c213 struct privsep *ps = env->sc_ps; in relay_udp_server()
318 proc_compose(env->sc_ps, PROC_PFE, in relay_udp_server()
H A Dpfe_route.c84 proc_compose(env->sc_ps, PROC_PARENT, in sync_routes()
/openbsd/sbin/iked/
H A Diked.c172 ps = &env->sc_ps; in main()
250 proc_kill(&env->sc_ps); in parent_configure()
256 proc_kill(&env->sc_ps); in parent_configure()
436 proc_forward_imsg(&env->sc_ps, imsg, PROC_IKEV2, -1); in parent_dispatch_ca()
466 proc_compose(&env->sc_ps, PROC_IKEV2, type, NULL, 0); in parent_dispatch_control()
475 proc_forward_imsg(&env->sc_ps, imsg, PROC_IKEV2, -1); in parent_dispatch_control()
476 proc_forward_imsg(&env->sc_ps, imsg, PROC_CERT, -1); in parent_dispatch_control()
514 proc_kill(&env->sc_ps); in parent_shutdown()
H A Dconfig.c500 proc_compose(&env->sc_ps, PROC_IKEV2, type, NULL, 0); in config_setcoupled()
524 proc_compose(&env->sc_ps, PROC_CERT, type, NULL, 0); in config_setmode()
658 proc_compose_imsg(&env->sc_ps, id, -1, in config_setsocket()
728 proc_compose_imsg(&env->sc_ps, PROC_IKEV2, -1, in config_setpfkey()
837 if (proc_composev(&env->sc_ps, id, IMSG_CFG_FLOW, in config_setflow()
951 proc_compose(&env->sc_ps, id, IMSG_COMPILE, NULL, 0); in config_setcompile()
971 proc_compose(&env->sc_ps, PROC_IKEV2, IMSG_CTL_STATIC, in config_setstatic()
973 proc_compose(&env->sc_ps, PROC_CERT, IMSG_CTL_STATIC, in config_setstatic()
1140 ca_getkey(&env->sc_ps, &id, imsg->hdr.type); in config_getkey()
1148 proc_compose(&env->sc_ps, PROC_IKEV2, IMSG_CFG_RADAUTH, in config_setradauth()
[all …]
H A Dcontrol.c309 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()
320 proc_forward_imsg(&env->sc_ps, &imsg, PROC_IKEV2, -1); in control_dispatch_imsg()
324 proc_forward_imsg(&env->sc_ps, &imsg, PROC_IKEV2, -1); in control_dispatch_imsg()
327 proc_forward_imsg(&env->sc_ps, &imsg, PROC_CERT, -1); in control_dispatch_imsg()
H A Docsp.c238 ret = proc_composev_imsg(&env->sc_ps, PROC_CERT, -1, in ocsp_connect_finish()
247 ret = proc_composev_imsg(&env->sc_ps, PROC_CERT, -1, in ocsp_connect_finish()
322 ret = proc_composev(&env->sc_ps, PROC_PARENT, IMSG_OCSP_FD, in ocsp_validate_cert()
615 ret = proc_composev(&env->sc_ps, PROC_IKEV2, cmd, iov, iovcnt); in ocsp_validate_finish()
H A Dca.c341 proc_compose(&env->sc_ps, PROC_PARENT, imsg->hdr.type, NULL, 0); in ca_dispatch_parent()
404 proc_compose_imsg(&env->sc_ps, PROC_CONTROL, -1, in ca_dispatch_control()
454 if (proc_composev(&env->sc_ps, procid, IMSG_CERT, iov, iovcnt) == -1) in ca_setcert()
480 ret = proc_composev(&env->sc_ps, PROC_IKEV2, IMSG_SCERT, iov, iovcnt); in ca_setscert()
527 if (proc_composev(&env->sc_ps, procid, IMSG_CERTREQ, iov, iovcnt) == -1) in ca_setreq()
594 if (proc_composev(&env->sc_ps, id, IMSG_AUTH, iov, iovcnt) == -1) in ca_setauth()
700 ret = proc_composev(&env->sc_ps, PROC_IKEV2, cmd, iov, iovcnt); in ca_getcert()
1084 (void)proc_composev(&env->sc_ps, PROC_IKEV2, IMSG_CERTREQ, in ca_reload()
1135 (void)proc_composev(&env->sc_ps, PROC_IKEV2, IMSG_CERTREQ, iov, iovcnt); in ca_reload()
1368 proc_compose_imsg(&env->sc_ps, PROC_CONTROL, -1, in ca_store_info()
/openbsd/usr.sbin/httpd/
H A Dconfig.c42 struct privsep *ps = env->sc_ps; in config_init()
87 struct privsep *ps = env->sc_ps; in config_purge()
113 struct privsep *ps = env->sc_ps; in config_setreset()
164 struct privsep *ps = env->sc_ps; in config_setserver()
257 struct privsep *ps = env->sc_ps; in config_settls()
360 struct privsep *ps = env->sc_ps; in config_setserver_fcgiparams()
435 struct privsep *ps = env->sc_ps; in config_getserver_auth()
453 struct privsep *ps = env->sc_ps; in config_getserver_config()
623 struct privsep *ps = env->sc_ps; in config_getserver()
709 struct privsep *ps = env->sc_ps; in config_gettls()
[all …]
H A Dcontrol.c267 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
275 0, env->sc_ps->ps_instance + 1, -1, in control_dispatch_imsg()
286 proc_forward_imsg(env->sc_ps, &imsg, PROC_PARENT, -1); in control_dispatch_imsg()
287 proc_forward_imsg(env->sc_ps, &imsg, PROC_SERVER, -1); in control_dispatch_imsg()
290 control_imsg_forward(env->sc_ps, &imsg); in control_dispatch_imsg()
H A Dhttpd.c179 env->sc_ps = ps; in main()
247 proc_kill(env->sc_ps); in main()
253 proc_kill(env->sc_ps); in main()
320 proc_compose(env->sc_ps, id, IMSG_CFG_DONE, &cf, sizeof(cf)); in parent_configure()
384 proc_compose(env->sc_ps, id, IMSG_CTL_START, NULL, 0); in parent_configure_done()
394 proc_kill(env->sc_ps); in parent_shutdown()
395 control_cleanup(&env->sc_ps->ps_csock); in parent_shutdown()
396 if (env->sc_ps->ps_csock.cs_name != NULL) in parent_shutdown()
397 (void)unlink(env->sc_ps->ps_csock.cs_name); in parent_shutdown()
399 free(env->sc_ps); in parent_shutdown()
[all …]
H A Dlogger.c120 if (proc_composev(httpd_env->sc_ps, PROC_PARENT, IMSG_LOG_OPEN, in logger_open_file()
190 proc_compose_imsg(httpd_env->sc_ps, PROC_LOGGER, -1, in logger_open_priv()
/openbsd/usr.sbin/snmpd/
H A Dsnmpd.c200 ps = &env->sc_ps; in main()
261 proc_kill(&env->sc_ps); in snmpd_shutdown()
386 if (proc_compose_imsg(&env->sc_ps, PROC_SNMPE, -1, in snmpd_backend()
/openbsd/sys/arch/hppa/include/
H A Dsignal.h52 unsigned long sc_ps; /* psl to restore */ member
/openbsd/sys/arch/alpha/include/
H A Dsignal.h53 long sc_ps; /* ps to restore */ member
/openbsd/sys/arch/powerpc64/include/
H A Dsignal.h54 __register_t sc_ps; member
/openbsd/sys/arch/i386/include/
H A Dsignal.h85 #define sc_ps sc_eflags macro
/openbsd/sys/dev/pci/
H A Dcs4280.c122 char *sc_ps, *sc_pe, *sc_pn; member
674 sc->sc_pn = sc->sc_ps; in cs4280_intr()
1276 sc->sc_ps = (char *)start; in cs4280_trigger_output()
1281 sc->sc_pn = sc->sc_ps; in cs4280_trigger_output()
1283 sc->sc_pn = sc->sc_ps + CS4280_DCHUNK; in cs4280_trigger_output()
1287 sc->sc_pn = sc->sc_ps + CS4280_ICHUNK; in cs4280_trigger_output()

12