diff options
-rw-r--r-- | nldev.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ init_netlink_socket(void) if (bind(fd, (void *)&nls, sizeof(nls))) edie("bind"); + fcntl(fd, F_SETFD, FD_CLOEXEC); return fd; } |
index : ncopa/nldev | ||
fork of http://git.r-36.net/nldev/ | gitolite |
aboutsummaryrefslogtreecommitdiffstats |
-rw-r--r-- | nldev.c | 1 |
@@ -126,6 +126,7 @@ init_netlink_socket(void) if (bind(fd, (void *)&nls, sizeof(nls))) edie("bind"); + fcntl(fd, F_SETFD, FD_CLOEXEC); return fd; } |