Home
last modified time | relevance | path

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

/xnu-12377.81.4/tests/skywalk/
H A Dskywalk_mptest_driver.c276 error = fcntl(pfd[1], F_SETFD, fdflags | FD_CLOEXEC); in skywalk_mptest_driver_run()
H A Dskt_reass.c110 error = fcntl(utun_fd, F_SETFD, FD_CLOEXEC); in reass_init()
H A Dskywalk_test_utils.c1166 error = fcntl(tunsock, F_SETFD, FD_CLOEXEC); in sktu_create_interface()
/xnu-12377.81.4/bsd/sys/
H A Dfcntl.h402 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
/xnu-12377.81.4/bsd/kern/
H A Dkern_guarded.c556 ofl |= FD_CLOEXEC; in change_fdguard_np()
674 if (nfdflags & FD_CLOEXEC) { in change_fdguard_np()
H A Dkern_descrip.c2847 *retval = (fp->fp_flags & FP_CLOEXEC) ? FD_CLOEXEC : 0; in sys_fcntl_nocancel()
2853 if (uap->arg & FD_CLOEXEC) { in sys_fcntl_nocancel()