]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/tdb.c
Describe avpair in pppd-radius.8
[ppp.git] / pppd / tdb.c
index c6498d651418545e33c4fa0509e203c62e80ddfc..024b50258e7fc82b6e374e8ca402baa8be99df41 100644 (file)
@@ -1134,6 +1134,7 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags,
             if (tdb.fd == -1) {
                goto fail;
             }
+           (void) fcntl(tdb.fd, F_SETFD, FD_CLOEXEC);
         }
 
        /* ensure there is only one process initialising at once */