void mark_fd_no_cloexec(int fd)
int gdb_socketpair_cloexec(int domain, int style, int protocol, int filedes[2])
int gdb_socket_cloexec(int domain, int style, int protocol)
void notice_open_fds(void)
mach_port_t kern_return_t mach_port_t msgports mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
struct cleanup * make_cleanup_close(int fd)
FILE * gdb_fopen_cloexec(const char *filename, const char *opentype)
int gdb_pipe_cloexec(int filedes[2])
int gdb_open_cloexec(const char *filename, int flags, unsigned long mode)
void unmark_fd_no_cloexec(int fd)
void close_most_fds(void)