Home
last modified time | relevance | path

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

123456

/third_party/musl/src/unistd/
Dpipe2.c14 __syscall(SYS_fcntl, fd[0], F_SETFD, FD_CLOEXEC); in pipe2()
15 __syscall(SYS_fcntl, fd[1], F_SETFD, FD_CLOEXEC); in pipe2()
/third_party/musl/porting/liteos_a/user/src/unistd/
Dpipe2.c16 __syscall(SYS_fcntl, fd[0], F_SETFD, FD_CLOEXEC); in pipe2()
17 __syscall(SYS_fcntl, fd[1], F_SETFD, FD_CLOEXEC); in pipe2()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Depoll_create1.c37 if ((close_on_exec ? FD_CLOEXEC : 0) != (flags & FD_CLOEXEC)) { in close_on_exec()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify08.c38 if ((ret & FD_CLOEXEC) == fd_bit) { in test_init_bit()
54 test_init_bit(FAN_CLOEXEC, FD_CLOEXEC, "set close_on_exec"); in run()
/third_party/musl/src/network/
Dsocketpair.c16 __syscall(SYS_fcntl, fd[0], F_SETFD, FD_CLOEXEC); in socketpair()
17 __syscall(SYS_fcntl, fd[1], F_SETFD, FD_CLOEXEC); in socketpair()
/third_party/ltp/testcases/kernel/syscalls/dup3/
Ddup3_01.c48 if (ret & FD_CLOEXEC) in run()
53 if (ret & FD_CLOEXEC) in run()
/third_party/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_01.c102 if (coe & FD_CLOEXEC) { in main()
115 if ((coe & FD_CLOEXEC) == 0) { in main()
/third_party/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_01.c148 if (coe & FD_CLOEXEC) { in main()
162 } else if ((coe & FD_CLOEXEC) == 0) { in main()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd02.c150 if (coe & FD_CLOEXEC) { in main()
168 if ((coe & FD_CLOEXEC) == 0) { in main()
/third_party/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_01.c154 if (coe & FD_CLOEXEC) { in main()
172 if ((coe & FD_CLOEXEC) == 0) { in main()
/third_party/musl/porting/liteos_a/user/src/fcntl/
Dfcntl.c26 __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC); in fcntl()
35 if (ret >= 0) __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC); in fcntl()
/third_party/musl/src/fcntl/
Dfcntl.c27 __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC); in fcntl()
36 if (ret >= 0) __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC); in fcntl()
Dopen.c18 __syscall(SYS_fcntl, fd, F_SETFD, FD_CLOEXEC); in open()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc98 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
99 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/third_party/NuttX/fs/vfs/
Dfs_fcntl.c108 ret = (filep->f_oflags & O_CLOEXEC) ? FD_CLOEXEC : 0; in file_vfcntl()
123 if (oflags & FD_CLOEXEC) in file_vfcntl()
/third_party/freetype/builds/unix/
Dftsystem.c272 #ifdef FD_CLOEXEC in FT_Stream_Open()
273 (void)fcntl( file, F_SETFD, FD_CLOEXEC ); in FT_Stream_Open()
/third_party/flutter/skia/third_party/externals/freetype/builds/unix/
Dftsystem.c255 #ifdef FD_CLOEXEC in FT_Stream_Open()
256 (void)fcntl( file, F_SETFD, FD_CLOEXEC ); in FT_Stream_Open()
/third_party/skia/third_party/externals/freetype/builds/unix/
Dftsystem.c272 #ifdef FD_CLOEXEC in FT_Stream_Open()
273 (void)fcntl( file, F_SETFD, FD_CLOEXEC ); in FT_Stream_Open()
/third_party/ltp/testcases/kernel/syscalls/pidfd_open/
Dpidfd_open01.c32 if (!(flag & FD_CLOEXEC)) in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D11-1.c43 if (flags & FD_CLOEXEC) { in main()
/third_party/musl/src/dirent/
Dfdopendir.c28 fcntl(fd, F_SETFD, FD_CLOEXEC); in fdopendir()
/third_party/musl/porting/liteos_a/user/src/process/
Dposix_spawn.c116 ret & ~FD_CLOEXEC); in child()
146 __syscall(SYS_fcntl, p, F_SETFD, FD_CLOEXEC); in child()
/third_party/musl/src/process/
Dposix_spawn.c115 ret & ~FD_CLOEXEC); in child()
145 __syscall(SYS_fcntl, p, F_SETFD, FD_CLOEXEC); in child()
/third_party/musl/src/stdio/
Dfopen.c24 __syscall(SYS_fcntl, fd, F_SETFD, FD_CLOEXEC); in fopen()
/third_party/musl/src/linux/
Dsignalfd.c15 __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC); in signalfd()

123456