Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 23 of 23) sorted by relevance

/mirbsd/src/lib/libcitrus_iconv/libc/citrus/
Dcitrus_mmap.c65 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { in _citrus_map_file()
/mirbsd/src/lib/libc/gen/
Dopendir.c69 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1 || in __opendir2()
/mirbsd/src/sys/sys/
Dfcntl.h155 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
/mirbsd/src/lib/libpthread/uthread/
Duthread_execve.c74 if ((flags & FD_CLOEXEC) != 0) in execve()
/mirbsd/src/lib/libkvm/
Dkvm.c933 if (kd->pmfd >= 0 && fcntl(kd->pmfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
935 if (kd->vmfd >= 0 && fcntl(kd->vmfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
937 if (kd->nlfd >= 0 && fcntl(kd->nlfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
939 if (kd->swfd >= 0 && fcntl(kd->swfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
/mirbsd/src/gnu/usr.bin/perl/ext/Fcntl/
DMakefile.PL14 FDSYNC FD_CLOEXEC FEXCL FLARGEFILE FNDELAY FNONBLOCK
/mirbsd/src/libexec/ld.so/
Ddir.c70 if (_dl_fcntl(fd, F_SETFD, FD_CLOEXEC) < 0 || in _dl_opendir()
/mirbsd/src/lib/libutil/
Dlocal_passwd.c134 if (pfd < 0 || fcntl(pfd, F_SETFD, FD_CLOEXEC) == -1) in local_passwd()
/mirbsd/src/bin/mksh/
Dmain.c987 (i & FD_CLOEXEC)) in quitenv()
1131 if (fcntl(rv, F_SETFD, FD_CLOEXEC) < 0) { in tty_init_fd()
1360 fcntl(shl_dbg_fd, F_SETFD, FD_CLOEXEC); in initio()
1399 fcntl(nfd, F_SETFD, FD_CLOEXEC); in savefd()
Dshf.c156 fcntl(fd, F_SETFD, FD_CLOEXEC); in shf_fdopen()
182 fcntl(fd, F_SETFD, FD_CLOEXEC); in shf_reopen()
Dfuncs.c2662 fcntl(i, F_SETFD, FD_CLOEXEC); in c_exec()
/mirbsd/src/gnu/usr.bin/perl/ext/POSIX/
DMakefile.PL36 EUSERS EWOULDBLOCK EXDEV FD_CLOEXEC FILENAME_MAX F_DUPFD F_GETFD
DPOSIX.pod1955 FD_CLOEXEC F_DUPFD F_GETFD F_GETFL F_GETLK F_OK F_RDLCK F_SETFD F_SETFL F_SETLK F_SETLKW F_UNLCK F_…
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dconf.c1519 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0) in getla()
1604 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0) in getla()
1842 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0) in getla()
2560 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
5301 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
5328 (void) fcntl(i, F_SETFD, j | FD_CLOEXEC);
Ddaemon.c1158 fdflags | FD_CLOEXEC) == -1)
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Dconf.h2719 # ifndef FD_CLOEXEC
2720 # define FD_CLOEXEC 1 macro
/mirbsd/src/usr.sbin/cron/
Dmisc.c735 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1) { in open_socket()
/mirbsd/src/gnu/usr.sbin/sendmail/libmilter/
Dlistener.c456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1)
/mirbsd/src/gnu/usr.bin/perl/
Dutil.c50 #if defined(HAS_FCNTL) && defined(F_SETFD) && !defined(FD_CLOEXEC)
51 # define FD_CLOEXEC 1 /* NeXT needs this */ macro
2061 fcntl(pp[1], F_SETFD, FD_CLOEXEC); in Perl_my_popen_list()
2200 fcntl(pp[1], F_SETFD, FD_CLOEXEC); in Perl_my_popen()
Dpp_sys.c182 #if defined(HAS_FCNTL) && defined(F_SETFD) && !defined(FD_CLOEXEC)
183 # define FD_CLOEXEC 1 /* NeXT needs this */ macro
4191 fcntl(pp[1], F_SETFD, FD_CLOEXEC); in PP()
DChanges5.615913 Log: NeXT doesn't have FD_CLOEXEC (suggested by Hans Mulder)
/mirbsd/src/gnu/usr.bin/perl/os2/
Dos2.c1097 fcntl(new_stderr, F_SETFD, FD_CLOEXEC); in do_spawn_ve()
1599 fcntl(p[this], F_SETFD, FD_CLOEXEC); in my_syspopen()
1601 fcntl(newfd, F_SETFD, FD_CLOEXEC); in my_syspopen()
/mirbsd/src/usr.sbin/httpd/src/main/
Dalloc.c1958 if(fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) {