/freebsd-9.3-release/tools/regression/filemon/ |
H A D | filemontest.c | 65 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC); 66 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
|
/freebsd-9.3-release/usr.bin/make/ |
H A D | proc.c | 94 fcntl(STDIN_FILENO, F_GETFD) & (~FD_CLOEXEC)); 96 fcntl(STDOUT_FILENO, F_GETFD) & (~FD_CLOEXEC)); 98 fcntl(STDERR_FILENO, F_GETFD) & (~FD_CLOEXEC));
|
/freebsd-9.3-release/lib/libfetch/ |
H A D | file.c | 64 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); local 95 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); local
|
/freebsd-9.3-release/lib/libc/iconv/ |
H A D | citrus_mmap.c | 62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | fdopen.c | 84 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
H A D | freopen.c | 122 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC);
|
/freebsd-9.3-release/tools/regression/lib/libc/stdio/ |
H A D | test-fopen.c | 52 printf("not ok %d - FD_CLOEXEC # SKIP\n", 62 if (fcntl(fd, F_GETFD) == (strchr(mode, 'e') != NULL ? FD_CLOEXEC : 0)) 63 printf("ok %d - FD_CLOEXEC flag correct\n", testnum++); 65 printf("not ok %d - FD_CLOEXEC flag incorrect\n", testnum++);
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tc.os.h | 195 # ifndef FD_CLOEXEC 196 # define FD_CLOEXEC 1 macro 198 # define close_on_exec(fd, v) fcntl((fd), F_SETFD, ((v) ? FD_CLOEXEC : 0))
|
/freebsd-9.3-release/sys/sys/ |
H A D | fcntl.h | 233 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ 236 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ 240 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
|
/freebsd-9.3-release/usr.bin/script/ |
H A D | script.c | 170 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC); 171 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
|
/freebsd-9.3-release/bin/sh/ |
H A D | redir.c | 144 (void)fcntl(i, F_SETFD, FD_CLOEXEC);
|
H A D | input.c | 428 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/freebsd-9.3-release/contrib/openbsm/compat/ |
H A D | pidfile.h | 156 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | opendir.c | 78 if (_fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|
H A D | syslog.c | 346 (void)_fcntl(LogFile, F_SETFD, FD_CLOEXEC);
|
/freebsd-9.3-release/usr.bin/truss/ |
H A D | main.c | 240 * Set FD_CLOEXEC, so that the output file is not shared with 243 if (fcntl(fileno(trussinfo->outfile), F_SETFD, FD_CLOEXEC) ==
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evutil.c | 119 #if defined(FD_CLOEXEC) 120 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) { 407 if (!(flags & FD_CLOEXEC)) { 408 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) { 425 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-9.3-release/contrib/gcclibs/libiberty/ |
H A D | pex-unix.c | 518 if (fcntl (fd, F_SETFD, FD_CLOEXEC) < 0)
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | authfd.c | 114 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1) {
|
H A D | serverloop.c | 136 } else if ((fcntl(notify_pipe[0], F_SETFD, FD_CLOEXEC) == -1) || 137 (fcntl(notify_pipe[1], F_SETFD, FD_CLOEXEC) == -1)) {
|
/freebsd-9.3-release/libexec/atrun/ |
H A D | atrun.c | 226 fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
|
/freebsd-9.3-release/usr.sbin/inetd/ |
H A D | inetd.c | 555 if (fcntl(signalpipe[0], F_SETFD, FD_CLOEXEC) < 0 || 556 fcntl(signalpipe[1], F_SETFD, FD_CLOEXEC) < 0) { 557 syslog(LOG_ERR, "signalpipe: fcntl (F_SETFD, FD_CLOEXEC): %m"); 1277 if (fcntl(sep->se_fd, F_SETFD, FD_CLOEXEC) < 0) { 1278 syslog(LOG_ERR, "%s/%s: fcntl (F_SETFD, FD_CLOEXEC): %m",
|
/freebsd-9.3-release/contrib/sendmail/libmilter/ |
H A D | listener.c | 456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1)
|
/freebsd-9.3-release/contrib/sendmail/include/sm/ |
H A D | conf.h | 2718 # ifndef FD_CLOEXEC 2719 # define FD_CLOEXEC 1 macro 2720 # endif /* ! FD_CLOEXEC */
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_socket.c | 542 error = kern_fcntl(td, s, F_SETFD, FD_CLOEXEC); 1385 F_SETFD, FD_CLOEXEC);
|