Throughout, reorganize header file inclusion to put security.h prior to

fhandler.h.
* fhandler.h (fhandler_base::get_inheritance): New method.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper
close-on-exec inheritance when creating.
(fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.
This commit is contained in:
Christopher Faylor
2001-07-26 19:22:24 +00:00
parent c784c833aa
commit 6b91b8d53b
51 changed files with 75 additions and 33 deletions

View File

@ -14,6 +14,7 @@ details. */
#include "winsup.h"
#include <stdlib.h>
#include <assert.h>
#include "security.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"