Searched refs:O_CLOEXEC (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dcontent_protection_test.c420 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
485 fd = open(filepath, O_RDWR | O_CLOEXEC);
558 fd = open(filepath, O_RDWR | O_TRUNC | O_CLOEXEC);
568 fd = open(filepath, O_RDWR | O_CLOEXEC);
584 fd = open(filepath, O_RDWR | O_CLOEXEC);
649 fd = open(filepath, O_RDWR | O_CLOEXEC);
669 dir_fd = open(dirpath, O_RDONLY | O_CLOEXEC);
731 fd = open(filepath, O_CREAT | O_EXCL | O_CLOEXEC);
781 fd = open(filepath, O_CREAT | O_EXCL | O_CLOEXEC);
809 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
[all...]
H A Dtests.c3432 my_result = open( devfdpath, O_RDONLY | O_CLOEXEC );
3448 printf( "fcntl - O_CLOEXEC open of /dev/fd/%u failed to set FD_CLOEXEC!!! \n", my_fd );
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h179 #define O_CLOEXEC 0x1000000 /* implicitly set FD_CLOEXEC */ macro
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_descrip.c5038 (flags & O_CLOEXEC) ? UF_EXCLOSE : 0;
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3124 if (flags & O_CLOEXEC)

Completed in 102 milliseconds