Home
last modified time | relevance | path

Searched refs:DHCPCD_FORKED (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Dprivsep.c132 (errno != EPERM || ctx->options & DHCPCD_FORKED)) in ps_dropprivs()
140 (errno != EPERM || ctx->options & DHCPCD_FORKED)) in ps_dropprivs()
419 ctx->options |= DHCPCD_FORKED; in ps_startprocess()
639 forked = ctx->options & DHCPCD_FORKED; in ps_managersandbox()
640 ctx->options &= ~DHCPCD_FORKED; in ps_managersandbox()
643 ctx->options |= DHCPCD_FORKED; in ps_managersandbox()
695 ctx->options & DHCPCD_FORKED || in ps_stop()
931 if (ctx->options & DHCPCD_FORKED && in ps_sendpsmmsg()
H A Ddhcpcd.c1446 if (sig != SIGCHLD && ctx->options & DHCPCD_FORKED) { in dhcpcd_signal_cb()
1834 ctx->options |= DHCPCD_FORKED; in dhcpcd_readdump()
1859 if (ctx->options & DHCPCD_FORKED) { in dhcpcd_fork_cb()
1877 if (ctx->options & DHCPCD_FORKED) { in dhcpcd_fork_cb()
2284 ctx.options |= DHCPCD_FORKED; /* pretend child process */ in main()
2325 ctx.options |= DHCPCD_FORKED; /* avoid socket unlink */ in main()
2374 ctx.options &= ~DHCPCD_FORKED; in main()
2438 ctx.options |= DHCPCD_FORKED; /* A lie */ in main()
2445 ctx.options |= DHCPCD_FORKED | DHCPCD_LAUNCHER; in main()
2498 if (ctx.options & DHCPCD_FORKED) in main()
[all …]
H A Dprivsep.h109 (((ctx)->options & (DHCPCD_PRIVSEP | DHCPCD_FORKED)) == DHCPCD_PRIVSEP)
H A Dif-options.h100 #define DHCPCD_FORKED (1ULL << 36) macro
H A Dcontrol.c515 } else if (ctx->options & DHCPCD_FORKED) in control_stop()
H A Dif-options.c59 #define IN_CONFIG_BLOCK(ifo) ((ifo)->options & DHCPCD_FORKED)
60 #define SET_CONFIG_BLOCK(ifo) ((ifo)->options |= DHCPCD_FORKED)
61 #define CLEAR_CONFIG_BLOCK(ifo) ((ifo)->options &= ~DHCPCD_FORKED)
H A Dprivsep-root.c973 if (ctx->options & DHCPCD_FORKED) in ps_root_stop()