privsep_proc
caproc(struct privsep *ps, struct privsep_proc *p)
ca_run(struct privsep *ps, struct privsep_proc *p, void *arg)
ca_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
ca_dispatch_ikev2(int fd, struct privsep_proc *p, struct imsg *imsg)
ca_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg)
void ca_run(struct privsep *, struct privsep_proc *, void *);
int ca_dispatch_parent(int, struct privsep_proc *, struct imsg *);
int ca_dispatch_ikev2(int, struct privsep_proc *, struct imsg *);
int ca_dispatch_control(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
control_dispatch_ikev2(int fd, struct privsep_proc *p, struct imsg *imsg)
control_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg)
void control_run(struct privsep *, struct privsep_proc *, void *);
int control_dispatch_ikev2(int, struct privsep_proc *, struct imsg *);
int control_dispatch_ca(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
control(struct privsep *ps, struct privsep_proc *p)
control_run(struct privsep *ps, struct privsep_proc *p, void *arg)
parent_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg)
int parent_dispatch_ca(int, struct privsep_proc *, struct imsg *);
parent_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg)
int parent_dispatch_control(int, struct privsep_proc *, struct imsg *);
int parent_dispatch_ikev2(int, struct privsep_proc *, struct imsg *);
parent_dispatch_ikev2(int fd, struct privsep_proc *p, struct imsg *imsg)
static struct privsep_proc procs[] = {
void ikev2(struct privsep *, struct privsep_proc *);
void caproc(struct privsep *, struct privsep_proc *);
void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_run(struct privsep *, struct privsep_proc *,
struct privsep_proc *, unsigned int,
void (*)(struct privsep *, struct privsep_proc *, void *), void *);
proc_getid(struct privsep_proc *, unsigned int, const char *);
struct privsep_proc *proc;
int (*p_cb)(int, struct privsep_proc *,
struct privsep_proc *);
void control(struct privsep *, struct privsep_proc *);
static struct privsep_proc procs[] = {
ikev2(struct privsep *ps, struct privsep_proc *p)
ikev2_run(struct privsep *ps, struct privsep_proc *p, void *arg)
ikev2_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
ikev2_dispatch_cert(int fd, struct privsep_proc *p, struct imsg *imsg)
ikev2_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg)
void ikev2_run(struct privsep *, struct privsep_proc *, void *);
int ikev2_dispatch_parent(int, struct privsep_proc *, struct imsg *);
int ikev2_dispatch_cert(int, struct privsep_proc *, struct imsg *);
int ikev2_dispatch_control(int, struct privsep_proc *, struct imsg *);
proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p = NULL;
proc_setup(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc)
void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
void proc_shutdown(struct privsep_proc *);
proc_shutdown(struct privsep_proc *p)
int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
struct privsep_proc *p = arg;
proc_run(struct privsep *ps, struct privsep_proc *p,
struct privsep_proc *procs, unsigned int nproc,
void (*run)(struct privsep *, struct privsep_proc *, void *), void *arg)
proc_getid(struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
struct privsep_proc *p = iev->proc;
proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
proc_dispatch_null(int fd, struct privsep_proc *p, struct imsg *imsg)
struct privsep_proc *p;
parent_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg)
parent_dispatch_logger(int fd, struct privsep_proc *p, struct imsg *imsg)
int parent_dispatch_server(int, struct privsep_proc *,
int parent_dispatch_logger(int, struct privsep_proc *,
static struct privsep_proc procs[] = {
struct privsep_proc *proc;
int (*p_cb)(int, struct privsep_proc *,
struct privsep_proc *);
void server(struct privsep *, struct privsep_proc *);
proc_getid(struct privsep_proc *, unsigned int, const char *);
void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_run(struct privsep *, struct privsep_proc *,
struct privsep_proc *, unsigned int,
void (*)(struct privsep *, struct privsep_proc *, void *), void *);
void logger(struct privsep *, struct privsep_proc *);
logger_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
logger_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg)
int logger_dispatch_parent(int, struct privsep_proc *,
int logger_dispatch_server(int, struct privsep_proc *,
void logger_init(struct privsep *, struct privsep_proc *p, void *);
static struct privsep_proc procs[] = {
logger(struct privsep *ps, struct privsep_proc *p)
logger_init(struct privsep *ps, struct privsep_proc *p, void *arg)
proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p = NULL;
proc_setup(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc)
void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
void proc_shutdown(struct privsep_proc *);
proc_shutdown(struct privsep_proc *p)
struct privsep_proc *p = arg;
int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
proc_run(struct privsep *ps, struct privsep_proc *p,
struct privsep_proc *procs, unsigned int nproc,
void (*run)(struct privsep *, struct privsep_proc *, void *), void *arg)
proc_getid(struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
struct privsep_proc *p = iev->proc;
proc_dispatch_null(int fd, struct privsep_proc *p, struct imsg *imsg)
proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
server_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
server_dispatch_logger(int fd, struct privsep_proc *p, struct imsg *imsg)
server_init(struct privsep *ps, struct privsep_proc *p, void *arg)
int server_dispatch_parent(int, struct privsep_proc *,
int server_dispatch_logger(int, struct privsep_proc *,
void server_init(struct privsep *, struct privsep_proc *p, void *);
static struct privsep_proc procs[] = {
server(struct privsep *ps, struct privsep_proc *p)
ca_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
ca_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg)
void ca_init(struct privsep *, struct privsep_proc *p, void *);
int ca_dispatch_parent(int, struct privsep_proc *, struct imsg *);
int ca_dispatch_relay(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
ca(struct privsep *ps, struct privsep_proc *p)
ca_init(struct privsep *ps, struct privsep_proc *p, void *arg)
hce_dispatch_pfe(int fd, struct privsep_proc *p, struct imsg *imsg)
void hce_init(struct privsep *, struct privsep_proc *p, void *);
hce_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
hce_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg)
int hce_dispatch_parent(int, struct privsep_proc *, struct imsg *);
int hce_dispatch_pfe(int, struct privsep_proc *, struct imsg *);
int hce_dispatch_relay(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
hce(struct privsep *ps, struct privsep_proc *p)
hce_init(struct privsep *ps, struct privsep_proc *p, void *arg)
pfe_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg)
pfe_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
pfe_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg)
void pfe_init(struct privsep *, struct privsep_proc *p, void *);
int pfe_dispatch_parent(int, struct privsep_proc *, struct imsg *);
int pfe_dispatch_hce(int, struct privsep_proc *, struct imsg *);
int pfe_dispatch_relay(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
pfe(struct privsep *ps, struct privsep_proc *p)
pfe_init(struct privsep *ps, struct privsep_proc *p, void *arg)
proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p = NULL;
proc_setup(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc)
void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
void proc_shutdown(struct privsep_proc *);
proc_shutdown(struct privsep_proc *p)
struct privsep_proc *p = arg;
int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
proc_run(struct privsep *ps, struct privsep_proc *p,
struct privsep_proc *procs, unsigned int nproc,
void (*run)(struct privsep *, struct privsep_proc *, void *), void *arg)
proc_getid(struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
struct privsep_proc *p = iev->proc;
proc_dispatch_null(int fd, struct privsep_proc *p, struct imsg *imsg)
proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
relay(struct privsep *ps, struct privsep_proc *p)
relay_dispatch_pfe(int fd, struct privsep_proc *p, struct imsg *imsg)
relay_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg)
relay_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
relay_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg)
relay_init(struct privsep *ps, struct privsep_proc *p, void *arg)
int relay_dispatch_parent(int, struct privsep_proc *,
int relay_dispatch_pfe(int, struct privsep_proc *,
int relay_dispatch_ca(int, struct privsep_proc *,
int relay_dispatch_hce(int, struct privsep_proc *,
void relay_init(struct privsep *, struct privsep_proc *p, void *);
static struct privsep_proc procs[] = {
parent_dispatch_pfe(int fd, struct privsep_proc *p, struct imsg *imsg)
parent_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg)
parent_dispatch_relay(int fd, struct privsep_proc *p, struct imsg *imsg)
parent_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg)
int parent_dispatch_pfe(int, struct privsep_proc *, struct imsg *);
int parent_dispatch_hce(int, struct privsep_proc *, struct imsg *);
int parent_dispatch_relay(int, struct privsep_proc *,
int parent_dispatch_ca(int, struct privsep_proc *,
static struct privsep_proc procs[] = {
int (*p_cb)(int, struct privsep_proc *,
struct privsep_proc *);
void pfe(struct privsep *, struct privsep_proc *);
void hce(struct privsep *, struct privsep_proc *);
void relay(struct privsep *, struct privsep_proc *);
void ca(struct privsep *, struct privsep_proc *);
proc_getid(struct privsep_proc *, unsigned int, const char *);
void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_run(struct privsep *, struct privsep_proc *,
struct privsep_proc *, unsigned int,
void (*)(struct privsep *, struct privsep_proc *, void *), void *);
struct privsep_proc *proc;
proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p = NULL;
proc_setup(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc)
void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
void proc_shutdown(struct privsep_proc *);
proc_shutdown(struct privsep_proc *p)
struct privsep_proc *p = arg;
int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
proc_run(struct privsep *ps, struct privsep_proc *p,
struct privsep_proc *procs, unsigned int nproc,
void (*run)(struct privsep *, struct privsep_proc *, void *), void *arg)
proc_getid(struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
struct privsep_proc *p = iev->proc;
proc_dispatch_null(int fd, struct privsep_proc *p, struct imsg *imsg)
proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
snmpd_dispatch_snmpe(int fd, struct privsep_proc *p, struct imsg *imsg)
int snmpd_dispatch_snmpe(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
struct privsep_proc *proc;
int (*p_cb)(int, struct privsep_proc *,
struct privsep_proc *);
void snmpe(struct privsep *, struct privsep_proc *);
proc_getid(struct privsep_proc *, unsigned int, const char *);
void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_run(struct privsep *, struct privsep_proc *,
struct privsep_proc *, u_int,
void (*)(struct privsep *, struct privsep_proc *, void *), void *);
int traphandler_priv_recvmsg(struct privsep_proc *, struct imsg *);
snmpe_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
void snmpe_init(struct privsep *, struct privsep_proc *, void *);
int snmpe_dispatch_parent(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
snmpe(struct privsep *ps, struct privsep_proc *p)
snmpe_init(struct privsep *ps, struct privsep_proc *p, void *arg)
traphandler_priv_recvmsg(struct privsep_proc *p, struct imsg *imsg)
traphandler_fork_handler(struct privsep_proc *p, struct imsg *imsg)
int traphandler_priv_recvmsg(struct privsep_proc *, struct imsg *);
int traphandler_fork_handler(struct privsep_proc *, struct imsg *);
int control_dispatch_vmd(int, struct privsep_proc *, struct imsg *);
void control_run(struct privsep *, struct privsep_proc *, void *);
static struct privsep_proc procs[] = {
control(struct privsep *ps, struct privsep_proc *p)
control_run(struct privsep *ps, struct privsep_proc *p, void *arg)
control_dispatch_vmd(int fd, struct privsep_proc *p, struct imsg *imsg)
int priv_dispatch_parent(int, struct privsep_proc *, struct imsg *);
void priv_run(struct privsep *, struct privsep_proc *, void *);
static struct privsep_proc procs[] = {
priv(struct privsep *ps, struct privsep_proc *p)
priv_run(struct privsep *ps, struct privsep_proc *p, void *arg)
priv_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nprocs,
struct privsep_proc *p = NULL;
proc_setup(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc)
proc_shutdown(struct privsep_proc *p)
struct privsep_proc *p = arg;
proc_run(struct privsep *ps, struct privsep_proc *p,
struct privsep_proc *procs, unsigned int nproc,
void (*run)(struct privsep *, struct privsep_proc *, void *), void *arg)
void proc_exec(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_setup(struct privsep *, struct privsep_proc *, unsigned int);
void proc_shutdown(struct privsep_proc *);
struct privsep_proc *p = iev->proc;
int proc_dispatch_null(int, struct privsep_proc *, struct imsg *);
proc_getid(struct privsep_proc *procs, unsigned int nproc,
proc_dispatch_null(int fd, struct privsep_proc *p, struct imsg *imsg)
struct privsep_proc *p;
proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
struct privsep_proc *p;
int (*p_cb)(int, struct privsep_proc *,
struct privsep_proc *);
void proc_init(struct privsep *, struct privsep_proc *, unsigned int, int,
void proc_run(struct privsep *, struct privsep_proc *,
struct privsep_proc *, unsigned int,
void (*)(struct privsep *, struct privsep_proc *, void *), void *);
proc_getid(struct privsep_proc *, unsigned int, const char *);
void control(struct privsep *, struct privsep_proc *);
struct privsep_proc *proc;
vm_agentx_run(struct privsep *ps, struct privsep_proc *p, void *arg)
vm_agentx_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
void vm_agentx_run(struct privsep *, struct privsep_proc *, void *);
int vm_agentx_dispatch_parent(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
vm_agentx(struct privsep *ps, struct privsep_proc *p)
vmd_dispatch_vmm(int fd, struct privsep_proc *p, struct imsg *imsg)
vmd_dispatch_agentx(int fd, struct privsep_proc *p, struct imsg *imsg)
vmd_dispatch_priv(int fd, struct privsep_proc *p, struct imsg *imsg)
int vmd_dispatch_control(int, struct privsep_proc *, struct imsg *);
int vmd_dispatch_vmm(int, struct privsep_proc *, struct imsg *);
int vmd_dispatch_agentx(int, struct privsep_proc *, struct imsg *);
int vmd_dispatch_priv(int, struct privsep_proc *, struct imsg *);
static struct privsep_proc procs[] = {
static struct privsep_proc *proc_priv = &procs[0];
vmd_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg)
void priv(struct privsep *, struct privsep_proc *);
void vmm(struct privsep *, struct privsep_proc *);
void vm_agentx(struct privsep *, struct privsep_proc *);
vmm_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
int vmm_dispatch_parent(int, struct privsep_proc *, struct imsg *);
void vmm_run(struct privsep *, struct privsep_proc *, void *);
static struct privsep_proc procs[] = {
vmm(struct privsep *ps, struct privsep_proc *p)
vmm_run(struct privsep *ps, struct privsep_proc *p, void *arg)