From: Roy Marples Date: Mon, 22 Jun 2020 16:31:58 +0000 (+0100) Subject: privsep: init more fd -1 X-Git-Tag: v9.1.3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01bc8b277abe5fca1898a3a36ec773303f75336;p=thirdparty%2Fdhcpcd.git privsep: init more fd -1 --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index cc9ebcbe..a7324a57 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1858,9 +1858,7 @@ main(int argc, char **argv) #endif #ifdef PRIVSEP ctx.ps_root_fd = ctx.ps_data_fd = -1; -#ifdef PRIVSEP_COMTROLLER - ctx.ps_ctl_fd = -1; -#endif + ctx.ps_inet_fd = ctx.ps_control_fd = -1; TAILQ_INIT(&ctx.ps_processes); #endif rt_init(&ctx);