Searched refs:O_CLOEXEC (Results 26 - 50 of 88) sorted by relevance

1234

/external/kernel-headers/original/uapi/linux/
H A Dinotify.h10 /* For O_CLOEXEC and O_NONBLOCK */
70 #define IN_CLOEXEC O_CLOEXEC
/external/toybox/toys/other/
H A Doneit.c98 // Remember, O_CLOEXEC is backwards for xopen()
99 xopen(TT.console ? TT.console : "/dev/tty0", O_RDWR|O_CLOEXEC);
/external/toybox/toys/posix/
H A Dcmp.c82 loopfiles_rw(toys.optargs, O_CLOEXEC, 0, toys.optflags&FLAG_s, do_cmp);
/external/bison/lib/
H A Dfcntl.c59 BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE;
222 result = dupfd (fd, target, O_CLOEXEC);
H A Dspawn-pipe.c139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0)
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0)
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dfilecap.c52 int fd = open(fpath, O_RDONLY|O_CLOEXEC);
172 int fd = open(path, O_WRONLY|O_NOFOLLOW|O_CLOEXEC);
H A Dpscap.c87 fd = open(buf, O_RDONLY|O_CLOEXEC, 0);
/external/libselinux/src/
H A Dprocattr.c30 fd = open(path, flags | O_CLOEXEC);
43 fd = open(path, flags | O_CLOEXEC);
/external/toybox/lib/
H A Dportability.h246 #ifndef O_CLOEXEC
247 #define O_CLOEXEC 02000000 macro
/external/bison/darwin-lib/
H A Dfcntl.h506 #if !defined O_CLOEXEC && defined O_NOINHERIT
508 # define O_CLOEXEC O_NOINHERIT macro
511 #ifndef O_CLOEXEC
512 # define O_CLOEXEC 0 macro
/external/bison/linux-lib/
H A Dfcntl.h506 #if !defined O_CLOEXEC && defined O_NOINHERIT
508 # define O_CLOEXEC O_NOINHERIT macro
511 #ifndef O_CLOEXEC
512 # define O_CLOEXEC 0 macro
/external/libdrm/tests/
H A Ddrmdevice.c96 fd = open(devices[i]->nodes[j], O_RDONLY | O_CLOEXEC, 0);
/external/tlsdate/src/events/
H A Dtlsdate_status.c124 if (fcntl (fds[0], F_SETFL, O_NONBLOCK|O_CLOEXEC) < 0)
/external/dhcpcd-6.8.2/
H A Dcommon.c150 #ifdef O_CLOEXEC
151 f |= O_CLOEXEC;
156 #ifndef O_CLOEXEC
/external/iproute2/lib/
H A Dnamespace.c51 netns = open(net_path, O_RDONLY | O_CLOEXEC);
/external/libchrome/sandbox/linux/syscall_broker/
H A Dbroker_file_permission.cc182 const int known_flags = O_APPEND | O_ASYNC | O_CLOEXEC | O_CREAT | O_DIRECT |
/external/opencv3/3rdparty/zlib/
H A Dgzlib.c99 #ifdef O_CLOEXEC
144 #ifdef O_CLOEXEC
227 #ifdef O_CLOEXEC
228 (cloexec ? O_CLOEXEC : 0) |
/external/pdfium/third_party/zlib_v128/
H A Dgzlib.c99 #ifdef O_CLOEXEC
144 #ifdef O_CLOEXEC
227 #ifdef O_CLOEXEC
228 (cloexec ? O_CLOEXEC : 0) |
/external/tlsdate/src/
H A Dtlsdate-setter.c86 O_WRONLY | O_CREAT | O_NOFOLLOW | O_CLOEXEC,
/external/zlib/src/
H A Dgzlib.c99 #ifdef O_CLOEXEC
144 #ifdef O_CLOEXEC
227 #ifdef O_CLOEXEC
228 (cloexec ? O_CLOEXEC : 0) |
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c318 #ifdef O_CLOEXEC
319 fd = open(device_name, O_RDWR | O_CLOEXEC);
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_drm.c137 #ifdef O_CLOEXEC
138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC);
/external/selinux/libselinux/src/
H A Dprocattr.c79 fd = open(path, flags | O_CLOEXEC);
89 fd = open(path, flags | O_CLOEXEC);
/external/vboot_reference/cgpt/
H A Dcgpt_nor.c112 int dest_fd = open(dest, O_WRONLY | O_CLOEXEC | O_CREAT, 0600);
161 int fd = open(source, O_RDONLY | O_CLOEXEC);
/external/libdrm/tests/amdgpu/
H A Damdgpu_test.c170 drm_amdgpu[0] = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);

Completed in 958 milliseconds

1234