Searched refs:privsep (Results 1 - 25 of 43) sorted by relevance

12

/openbsd-current/usr.sbin/vmd/
H A Dproc.h78 /* privsep */
98 struct privsep { struct
131 void (*p_init)(struct privsep *,
136 struct privsep *p_ps;
154 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
156 void proc_kill(struct privsep *);
157 void proc_connect(struct privsep *ps);
159 void proc_run(struct privsep *, struct privsep_proc *,
161 void (*)(struct privsep *, struct privsep_proc *, void *), void *);
170 int proc_compose_imsg(struct privsep *, enu
[all...]
H A Dvmd.h380 struct privsep vmd_ps;
465 int vm_register(struct privsep *, struct vmop_create_params *,
480 void priv(struct privsep *, struct privsep_proc *);
484 int vm_priv_ifconfig(struct privsep *, struct vmd_vm *);
485 int vm_priv_brconfig(struct privsep *, struct vmd_switch *);
491 void vmm(struct privsep *, struct privsep_proc *);
520 int config_setvm(struct privsep *, struct vmd_vm *, uint32_t, uid_t);
521 int config_getvm(struct privsep *, struct imsg *);
522 int config_getdisk(struct privsep *, struct imsg *);
523 int config_getif(struct privsep *, struc
[all...]
H A Dproc.c39 void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
41 void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
42 void proc_open(struct privsep *, int, int);
43 void proc_accept(struct privsep *, int, enum privsep_procid,
45 void proc_close(struct privsep *);
48 void proc_range(struct privsep *, enum privsep_procid, int *, int *);
70 proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
142 proc_connect(struct privsep *ps)
177 proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
242 proc_accept(struct privsep *p
[all...]
H A Dconfig.c72 struct privsep *ps = &env->vmd_ps;
106 struct privsep *ps = &env->vmd_ps;
140 struct privsep *ps = &env->vmd_ps;
158 struct privsep *ps = &env->vmd_ps;
172 struct privsep *ps = &env->vmd_ps;
211 config_setvm(struct privsep *ps, struct vmd_vm *vm, uint32_t peerid, uid_t uid)
560 config_getvm(struct privsep *ps, struct imsg *imsg)
592 config_getdisk(struct privsep *ps, struct imsg *imsg)
624 config_getif(struct privsep *ps, struct imsg *imsg)
655 config_getcdrom(struct privsep *p
[all...]
H A Dcontrol.c58 void control_run(struct privsep *, struct privsep_proc *, void *);
65 control(struct privsep *ps, struct privsep_proc *p)
71 control_run(struct privsep *ps, struct privsep_proc *p, void *arg)
89 struct privsep *ps = p->p_ps;
179 control_init(struct privsep *ps, struct control_sock *cs)
375 struct privsep *ps = cs->cs_env;
H A Dpriv.c50 void priv_run(struct privsep *, struct privsep_proc *, void *);
57 priv(struct privsep *ps, struct privsep_proc *p)
63 priv_run(struct privsep *ps, struct privsep_proc *p, void *arg)
85 struct privsep *ps = p->p_ps;
345 vm_priv_ifconfig(struct privsep *ps, struct vmd_vm *vm)
523 vm_priv_brconfig(struct privsep *ps, struct vmd_switch *vsw)
/openbsd-current/sbin/pflogd/
H A DMakefile12 SRCS= pflogd.c privsep.c privsep_fdpass.c
/openbsd-current/usr.sbin/syslogd/
H A DMakefile4 SRCS= evbuffer_tls.c log.c parsemsg.c privsep.c privsep_fdpass.c ringbuf.c \
/openbsd-current/usr.sbin/snmpd/
H A Dsnmpd.h125 struct privsep { struct
154 void (*p_init)(struct privsep *,
158 struct privsep *p_ps;
427 struct privsep sc_ps;
450 void snmpe(struct privsep *, struct privsep_proc *);
488 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
490 void proc_kill(struct privsep *);
491 void proc_connect(struct privsep *);
493 void proc_run(struct privsep *, struct privsep_proc *,
495 void (*)(struct privsep *, struc
[all...]
H A Dproc.c39 void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
41 void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
42 void proc_open(struct privsep *, int, int);
43 void proc_accept(struct privsep *, int, enum privsep_procid,
45 void proc_close(struct privsep *);
48 void proc_range(struct privsep *, enum privsep_procid, int *, int *);
70 proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
142 proc_connect(struct privsep *ps)
177 proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
242 proc_accept(struct privsep *p
[all...]
H A Dsnmpd.c54 struct privsep *ps = arg;
138 struct privsep *ps;
/openbsd-current/usr.sbin/hostapd/
H A DMakefile4 SRCS= privsep.c apme.c handle.c iapp.c llc.c hostapd.c \
/openbsd-current/usr.sbin/httpd/
H A Dhttpd.h240 struct privsep { struct
272 void (*p_init)(struct privsep *,
275 struct privsep *p_ps;
603 struct privsep *sc_ps;
614 int control_init(struct privsep *, struct control_sock *);
618 void control_imsg_forward(struct privsep *, struct imsg *);
628 void server(struct privsep *, struct privsep_proc *);
792 void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
794 void proc_kill(struct privsep *);
795 void proc_connect(struct privsep *);
[all...]
H A Dproc.c39 void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
41 void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
42 void proc_open(struct privsep *, int, int);
43 void proc_accept(struct privsep *, int, enum privsep_procid,
45 void proc_close(struct privsep *);
48 void proc_range(struct privsep *, enum privsep_procid, int *, int *);
70 proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
142 proc_connect(struct privsep *ps)
177 proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
242 proc_accept(struct privsep *p
[all...]
H A Dconfig.c42 struct privsep *ps = env->sc_ps;
87 struct privsep *ps = env->sc_ps;
113 struct privsep *ps = env->sc_ps;
164 struct privsep *ps = env->sc_ps;
257 struct privsep *ps = env->sc_ps;
360 struct privsep *ps = env->sc_ps;
435 struct privsep *ps = env->sc_ps;
453 struct privsep *ps = env->sc_ps;
623 struct privsep *ps = env->sc_ps;
709 struct privsep *p
[all...]
H A Dlogger.c42 void logger_init(struct privsep *, struct privsep_proc *p, void *);
56 logger(struct privsep *ps, struct privsep_proc *p)
69 logger_init(struct privsep *ps, struct privsep_proc *p, void *arg)
/openbsd-current/sbin/iked/
H A Dproc.c41 void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
43 void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
44 void proc_open(struct privsep *, int, int);
45 void proc_accept(struct privsep *, int, enum privsep_procid,
47 void proc_close(struct privsep *);
50 void proc_range(struct privsep *, enum privsep_procid, int *, int *);
72 proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
144 proc_connect(struct privsep *ps, void (*connected)(struct privsep *))
205 proc_init(struct privsep *p
[all...]
H A Diked.h709 struct privsep { struct
735 void (*ps_connected)(struct privsep *);
743 void (*p_init)(struct privsep *,
747 struct privsep *p_ps;
832 struct privsep sc_ps;
883 void control(struct privsep *, struct privsep_proc *);
884 int control_init(struct privsep *, struct control_sock *);
1055 void ikev2(struct privsep *, struct privsep_proc *);
1174 void caproc(struct privsep *, struct privsep_proc *);
1181 void ca_getkey(struct privsep *, struc
[all...]
H A Dcontrol.c49 void control_run(struct privsep *, struct privsep_proc *, void *);
60 control(struct privsep *ps, struct privsep_proc *p)
66 control_run(struct privsep *ps, struct privsep_proc *p, void *arg)
78 control_init(struct privsep *ps, struct control_sock *cs)
H A Diked.c48 void parent_connected(struct privsep *);
81 struct privsep *ps;
236 parent_connected(struct privsep *ps)
353 struct privsep *ps = arg;
/openbsd-current/usr.sbin/relayd/
H A Dproc.c39 void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
41 void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
42 void proc_open(struct privsep *, int, int);
43 void proc_accept(struct privsep *, int, enum privsep_procid,
45 void proc_close(struct privsep *);
48 void proc_range(struct privsep *, enum privsep_procid, int *, int *);
70 proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
142 proc_connect(struct privsep *ps)
177 proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
242 proc_accept(struct privsep *p
[all...]
H A Drelayd.h1033 struct privsep { struct
1065 void (*p_init)(struct privsep *,
1068 struct privsep *p_ps;
1140 struct privsep *sc_ps;
1152 int control_init(struct privsep *, struct control_sock *);
1156 void control_imsg_forward(struct privsep *ps, struct imsg *);
1182 void pfe(struct privsep *, struct privsep_proc *);
1208 void hce(struct privsep *, struct privsep_proc *);
1212 void relay(struct privsep *, struct privsep_proc *);
1300 void ca(struct privsep *, struc
[all...]
H A Dconfig.c36 struct privsep *ps = env->sc_ps;
140 struct privsep *ps = env->sc_ps;
232 struct privsep *ps = env->sc_ps;
269 struct privsep *ps = env->sc_ps;
309 struct privsep *ps = env->sc_ps;
431 struct privsep *ps = env->sc_ps;
519 struct privsep *ps = env->sc_ps;
614 struct privsep *ps = env->sc_ps;
645 struct privsep *ps = env->sc_ps;
803 config_setrelayfd(struct privsep *p
[all...]
H A Dca.c38 void ca_init(struct privsep *, struct privsep_proc *p, void *);
55 ca(struct privsep *ps, struct privsep_proc *p)
63 ca_init(struct privsep *ps, struct privsep_proc *p, void *arg)
289 * RSA privsep engine (called from unprivileged processes)
299 struct privsep *ps = env->sc_ps;
/openbsd-current/usr.sbin/npppd/npppd/
H A DMakefile13 SRCS+= privsep.c parse.y log.c accept.c control.c

Completed in 330 milliseconds

12