  	(void) close(0);
  	(void) close(1);
 -- 
-2.11.0
+2.7.4
 

From 7893e1ce0c7b3ca0f2d23d024eee5af01e95c187 Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com>
Date: Tue, 27 Mar 2018 22:10:15 -0700
Subject: [PATCH] dhclient: Add option to die when the parent process exits

 1 file changed, 10 insertions(+)

diff --git a/client/dhclient.c b/client/dhclient.c
index 825ab00..592c69e 100644
--- a/client/dhclient.c
+++ b/client/dhclient.c
@@ -40,6 +40,7 @@
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <limits.h>
+#include <sys/prctl.h>
 
 TIME default_lease_time = 43200; /* 12 hours... */
 TIME max_lease_time = 86400; /* 24 hours... */
@@ -58,6 +59,8 @@ int dhcp_max_agent_option_packet_length = 0;
 
 int interfaces_requested = 0;
 
