Home
last modified time | relevance | path

Searched refs:privsep_proc (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/usr.sbin/vmd/
H A Dproc.h44 struct privsep_proc *proc;
125 struct privsep_proc { struct
128 int (*p_cb)(int, struct privsep_proc *, argument
131 struct privsep_proc *); argument
153 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int, argument
158 void proc_run(struct privsep *, struct privsep_proc *,
159 struct privsep_proc *, unsigned int,
160 void (*)(struct privsep *, struct privsep_proc *, void *), void *);
184 proc_getid(struct privsep_proc *, unsigned int, const char *);
188 void control(struct privsep *, struct privsep_proc *);
H A Dproc.c45 void proc_shutdown(struct privsep_proc *);
48 int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
51 proc_getid(struct privsep_proc *procs, unsigned int nproc, in proc_getid()
54 struct privsep_proc *p; in proc_getid()
74 struct privsep_proc *p; in proc_exec()
179 struct privsep_proc *p = NULL; in proc_init()
460 proc_shutdown(struct privsep_proc *p) in proc_shutdown()
477 struct privsep_proc *p = arg; in proc_sig_handler()
497 proc_run(struct privsep *ps, struct privsep_proc *p, in proc_run() argument
498 struct privsep_proc *procs, unsigned int nproc, in proc_run()
[all …]
H A Dcontrol.c52 int control_dispatch_vmd(int, struct privsep_proc *, struct imsg *);
53 void control_run(struct privsep *, struct privsep_proc *, void *);
55 static struct privsep_proc procs[] = {
60 control(struct privsep *ps, struct privsep_proc *p) in control()
66 control_run(struct privsep *ps, struct privsep_proc *p, void *arg) in control_run()
80 control_dispatch_vmd(int fd, struct privsep_proc *p, struct imsg *imsg) in control_dispatch_vmd()
H A Dvm_agentx.c38 void vm_agentx_run(struct privsep *, struct privsep_proc *, void *);
39 int vm_agentx_dispatch_parent(int, struct privsep_proc *, struct imsg *);
93 static struct privsep_proc procs[] = {
98 vm_agentx(struct privsep *ps, struct privsep_proc *p) in vm_agentx()
119 vm_agentx_run(struct privsep *ps, struct privsep_proc *p, void *arg) in vm_agentx_run()
132 vm_agentx_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in vm_agentx_dispatch_parent()
H A Dpriv.c42 int priv_dispatch_parent(int, struct privsep_proc *, struct imsg *);
43 void priv_run(struct privsep *, struct privsep_proc *, void *);
45 static struct privsep_proc procs[] = {
50 priv(struct privsep *ps, struct privsep_proc *p) in priv()
56 priv_run(struct privsep *ps, struct privsep_proc *p, void *arg) in priv_run()
75 priv_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in priv_dispatch_parent()
H A Dvmm.c45 int vmm_dispatch_parent(int, struct privsep_proc *, struct imsg *);
46 void vmm_run(struct privsep *, struct privsep_proc *, void *);
54 static struct privsep_proc procs[] = {
59 vmm(struct privsep *ps, struct privsep_proc *p) in vmm()
65 vmm_run(struct privsep *ps, struct privsep_proc *p, void *arg) in vmm_run()
95 vmm_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in vmm_dispatch_parent()
H A Dvmd.h486 void priv(struct privsep *, struct privsep_proc *);
497 void vmm(struct privsep *, struct privsep_proc *);
566 void vm_agentx(struct privsep *, struct privsep_proc *);
/openbsd/usr.sbin/snmpd/
H A Dsnmpd.h101 struct privsep_proc *proc;
149 struct privsep_proc { struct
152 int (*p_cb)(int, struct privsep_proc *, argument
155 struct privsep_proc *); argument
450 void snmpe(struct privsep *, struct privsep_proc *);
487 proc_getid(struct privsep_proc *, unsigned int, const char *);
488 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
493 void proc_run(struct privsep *, struct privsep_proc *,
494 struct privsep_proc *, u_int,
495 void (*)(struct privsep *, struct privsep_proc *, void *), void *);
[all …]
H A Dproc.c46 void proc_shutdown(struct privsep_proc *);
49 int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
52 proc_getid(struct privsep_proc *procs, unsigned int nproc, in proc_getid()
55 struct privsep_proc *p; in proc_getid()
75 struct privsep_proc *p; in proc_exec()
180 struct privsep_proc *p = NULL; in proc_init()
461 proc_shutdown(struct privsep_proc *p) in proc_shutdown()
478 struct privsep_proc *p = arg; in proc_sig_handler()
498 proc_run(struct privsep *ps, struct privsep_proc *p, in proc_run() argument
499 struct privsep_proc *procs, unsigned int nproc, in proc_run()
[all …]
H A Dtraphandler.c42 int traphandler_priv_recvmsg(struct privsep_proc *, struct imsg *);
43 int traphandler_fork_handler(struct privsep_proc *, struct imsg *);
250 traphandler_priv_recvmsg(struct privsep_proc *p, struct imsg *imsg) in traphandler_priv_recvmsg()
273 traphandler_fork_handler(struct privsep_proc *p, struct imsg *imsg) in traphandler_fork_handler()
H A Dsnmpd.c39 int snmpd_dispatch_snmpe(int, struct privsep_proc *, struct imsg *);
45 static struct privsep_proc procs[] = {
290 snmpd_dispatch_snmpe(int fd, struct privsep_proc *p, struct imsg *imsg) in snmpd_dispatch_snmpe()
H A Dsnmpe.c46 void snmpe_init(struct privsep *, struct privsep_proc *, void *);
47 int snmpe_dispatch_parent(int, struct privsep_proc *, struct imsg *);
64 static struct privsep_proc procs[] = {
69 snmpe(struct privsep *ps, struct privsep_proc *p) in snmpe()
88 snmpe_init(struct privsep *ps, struct privsep_proc *p, void *arg) in snmpe_init()
136 snmpe_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in snmpe_dispatch_parent()
/openbsd/usr.sbin/httpd/
H A Dlogger.c33 int logger_dispatch_parent(int, struct privsep_proc *,
35 int logger_dispatch_server(int, struct privsep_proc *,
42 void logger_init(struct privsep *, struct privsep_proc *p, void *);
50 static struct privsep_proc procs[] = {
56 logger(struct privsep *ps, struct privsep_proc *p) in logger()
69 logger_init(struct privsep *ps, struct privsep_proc *p, void *arg) in logger_init()
281 logger_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in logger_dispatch_parent()
307 logger_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg) in logger_dispatch_server()
H A Dproc.c46 void proc_shutdown(struct privsep_proc *);
49 int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
52 proc_getid(struct privsep_proc *procs, unsigned int nproc, in proc_getid()
55 struct privsep_proc *p; in proc_getid()
75 struct privsep_proc *p; in proc_exec()
180 struct privsep_proc *p = NULL; in proc_init()
465 proc_shutdown(struct privsep_proc *p) in proc_shutdown()
485 struct privsep_proc *p = arg; in proc_sig_handler()
505 proc_run(struct privsep *ps, struct privsep_proc *p, in proc_run() argument
506 struct privsep_proc *procs, unsigned int nproc, in proc_run()
[all …]
H A Dhttpd.h172 struct privsep_proc *proc;
262 struct privsep_proc { struct
265 int (*p_cb)(int, struct privsep_proc *, argument
268 struct privsep_proc *); argument
623 void server(struct privsep *, struct privsep_proc *);
786 proc_getid(struct privsep_proc *, unsigned int, const char *);
787 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
792 void proc_run(struct privsep *, struct privsep_proc *,
793 struct privsep_proc *, unsigned int,
794 void (*)(struct privsep *, struct privsep_proc *, void *), void *);
[all …]
H A Dserver.c49 int server_dispatch_parent(int, struct privsep_proc *,
51 int server_dispatch_logger(int, struct privsep_proc *,
55 void server_init(struct privsep *, struct privsep_proc *p, void *);
79 static struct privsep_proc procs[] = {
85 server(struct privsep *ps, struct privsep_proc *p) in server()
384 server_init(struct privsep *ps, struct privsep_proc *p, void *arg) in server_init()
1351 server_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in server_dispatch_parent()
1399 server_dispatch_logger(int fd, struct privsep_proc *p, struct imsg *imsg) in server_dispatch_logger()
/openbsd/usr.sbin/relayd/
H A Dhce.c32 void hce_init(struct privsep *, struct privsep_proc *p, void *);
37 int hce_dispatch_parent(int, struct privsep_proc *, struct imsg *);
38 int hce_dispatch_pfe(int, struct privsep_proc *, struct imsg *);
39 int hce_dispatch_relay(int, struct privsep_proc *, struct imsg *);
44 static struct privsep_proc procs[] = {
51 hce(struct privsep *ps, struct privsep_proc *p) in hce()
62 hce_init(struct privsep *ps, struct privsep_proc *p, void *arg) in hce_init()
285 hce_dispatch_pfe(int fd, struct privsep_proc *p, struct imsg *imsg) in hce_dispatch_pfe()
340 hce_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in hce_dispatch_parent()
373 hce_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg) in hce_dispatch_relay()
H A Dproc.c46 void proc_shutdown(struct privsep_proc *);
49 int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
52 proc_getid(struct privsep_proc *procs, unsigned int nproc, in proc_getid()
55 struct privsep_proc *p; in proc_getid()
75 struct privsep_proc *p; in proc_exec()
180 struct privsep_proc *p = NULL; in proc_init()
466 proc_shutdown(struct privsep_proc *p) in proc_shutdown()
486 struct privsep_proc *p = arg; in proc_sig_handler()
506 proc_run(struct privsep *ps, struct privsep_proc *p, in proc_run() argument
507 struct privsep_proc *procs, unsigned int nproc, in proc_run()
[all …]
H A Dca.c38 void ca_init(struct privsep *, struct privsep_proc *p, void *);
41 int ca_dispatch_parent(int, struct privsep_proc *, struct imsg *);
42 int ca_dispatch_relay(int, struct privsep_proc *, struct imsg *);
49 static struct privsep_proc procs[] = {
55 ca(struct privsep *ps, struct privsep_proc *p) in ca()
63 ca_init(struct privsep *ps, struct privsep_proc *p, void *arg) in ca_init()
193 ca_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in ca_dispatch_parent()
219 ca_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg) in ca_dispatch_relay()
H A Drelayd.h923 struct privsep_proc *proc;
1056 struct privsep_proc { struct
1059 int (*p_cb)(int, struct privsep_proc *, argument
1062 struct privsep_proc *); argument
1178 void pfe(struct privsep *, struct privsep_proc *);
1204 void hce(struct privsep *, struct privsep_proc *);
1208 void relay(struct privsep *, struct privsep_proc *);
1296 void ca(struct privsep *, struct privsep_proc *);
1424 proc_getid(struct privsep_proc *, unsigned int, const char *);
1431 void proc_run(struct privsep *, struct privsep_proc *,
[all …]
H A Dpfe.c37 void pfe_init(struct privsep *, struct privsep_proc *p, void *);
44 int pfe_dispatch_parent(int, struct privsep_proc *, struct imsg *);
45 int pfe_dispatch_hce(int, struct privsep_proc *, struct imsg *);
46 int pfe_dispatch_relay(int, struct privsep_proc *, struct imsg *);
50 static struct privsep_proc procs[] = {
57 pfe(struct privsep *ps, struct privsep_proc *p) in pfe()
82 pfe_init(struct privsep *ps, struct privsep_proc *p, void *arg) in pfe_init()
120 pfe_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg) in pfe_dispatch_hce()
199 pfe_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg) in pfe_dispatch_parent()
252 pfe_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg) in pfe_dispatch_relay()
/openbsd/sbin/iked/
H A Dproc.c48 void proc_shutdown(struct privsep_proc *);
51 int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
54 proc_getid(struct privsep_proc *procs, unsigned int nproc, in proc_getid()
57 struct privsep_proc *p; in proc_getid()
77 struct privsep_proc *p; in proc_exec()
208 struct privsep_proc *p = NULL; in proc_init()
489 proc_shutdown(struct privsep_proc *p) in proc_shutdown()
506 struct privsep_proc *p = arg; in proc_sig_handler()
526 proc_run(struct privsep *ps, struct privsep_proc *p, in proc_run() argument
527 struct privsep_proc *procs, unsigned int nproc, in proc_run()
[all …]
H A Dcontrol.c49 void control_run(struct privsep *, struct privsep_proc *, void *);
50 int control_dispatch_ikev2(int, struct privsep_proc *, struct imsg *);
51 int control_dispatch_ca(int, struct privsep_proc *, struct imsg *);
53 static struct privsep_proc procs[] = {
60 control(struct privsep *ps, struct privsep_proc *p) in control()
66 control_run(struct privsep *ps, struct privsep_proc *p, void *arg) in control_run()
365 control_dispatch_ikev2(int fd, struct privsep_proc *p, struct imsg *imsg) in control_dispatch_ikev2()
380 control_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg) in control_dispatch_ca()
H A Diked.c45 int parent_dispatch_ca(int, struct privsep_proc *, struct imsg *);
46 int parent_dispatch_control(int, struct privsep_proc *, struct imsg *);
47 int parent_dispatch_ikev2(int, struct privsep_proc *, struct imsg *);
53 static struct privsep_proc procs[] = {
429 parent_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg) in parent_dispatch_ca()
449 parent_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg) in parent_dispatch_control()
488 parent_dispatch_ikev2(int fd, struct privsep_proc *p, struct imsg *imsg) in parent_dispatch_ikev2()
H A Diked.h63 struct privsep_proc *proc;
823 struct privsep_proc { struct
826 int (*p_cb)(int, struct privsep_proc *, argument
829 struct privsep_proc *); argument
976 void control(struct privsep *, struct privsep_proc *);
1162 void ikev2(struct privsep *, struct privsep_proc *);
1292 void caproc(struct privsep *, struct privsep_proc *);
1320 void proc_run(struct privsep *, struct privsep_proc *,
1321 struct privsep_proc *, unsigned int,
1322 void (*)(struct privsep *, struct privsep_proc *, void *), void *);
[all …]

12