Home
last modified time | relevance | path

Searched refs:O_CLOEXEC (Results 1 – 25 of 45) sorted by relevance

12

/external/bison/lib/
Dfcntl.in.h194 #if !defined O_CLOEXEC && defined O_NOINHERIT
196 # define O_CLOEXEC O_NOINHERIT
199 #ifndef O_CLOEXEC
200 # define O_CLOEXEC 0
Dpipe2.c70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) in pipe2()
127 if (flags & O_CLOEXEC) in pipe2()
Ddup-safer-flag.c36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD, in dup_safer_flag()
Dfcntl.c59 BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE; in dupfd()
222 result = dupfd (fd, target, O_CLOEXEC); in rpl_fcntl()
Dspawn-pipe.c139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0) in create_pipe()
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0) in create_pipe()
/external/kernel-headers/original/asm-generic/
Dfcntl.h61 #ifndef O_CLOEXEC
62 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
/external/bison/darwin-lib/
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/chromium_org/sandbox/linux/services/
Dbroker_process.cc48 static const int kCurrentProcessOpenFlagsMask = O_CLOEXEC;
104 O_APPEND | O_ASYNC | O_CLOEXEC | O_CREAT | O_DIRECT | in IsAllowedOpenFlags()
215 RAW_CHECK(kCurrentProcessOpenFlagsMask == O_CLOEXEC); in PathAndFlagsSyscall()
217 flags &= ~O_CLOEXEC; in PathAndFlagsSyscall()
/external/bison/linux-lib/
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/qemu/
Dosdep.c102 #ifdef O_CLOEXEC in qemu_open()
103 ret = open(name, flags | O_CLOEXEC, mode); in qemu_open()
Doslib-posix.c99 ret = pipe2(pipefd, O_CLOEXEC); in qemu_pipe()
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c52 int fd = open(fpath, O_RDONLY|O_CLOEXEC); in check_file()
172 int fd = open(path, O_WRONLY|O_NOFOLLOW|O_CLOEXEC); in main()
Dpscap.c89 fd = open(buf, O_RDONLY|O_CLOEXEC, 0); in main()
/external/kernel-headers/original/linux/
Dtimerfd.h23 #define TFD_CLOEXEC O_CLOEXEC
Dsignalfd.h16 #define SFD_CLOEXEC O_CLOEXEC
/external/zlib/src/
Dgzlib.c99 #ifdef O_CLOEXEC
144 #ifdef O_CLOEXEC
227 #ifdef O_CLOEXEC
228 (cloexec ? O_CLOEXEC : 0) |
/external/kernel-headers/original/asm-mips/
Dsocket.h120 #define SOCK_CLOEXEC O_CLOEXEC
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
Dnative_drm.c318 #ifdef O_CLOEXEC in native_create_display()
319 fd = open(device_name, O_RDWR | O_CLOEXEC); in native_create_display()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c318 #ifdef O_CLOEXEC in native_create_display()
319 fd = open(device_name, O_RDWR | O_CLOEXEC); in native_create_display()
/external/chromium_org/ui/gfx/ozone/dri/
Ddri_wrapper.cc16 fd_ = open(device_path, O_RDWR | O_CLOEXEC); in DriWrapper()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c137 #ifdef O_CLOEXEC in drm_handle_device()
138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC); in drm_handle_device()
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c137 #ifdef O_CLOEXEC in drm_handle_device()
138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC); in drm_handle_device()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
Dx11_screen.c268 #ifdef O_CLOEXEC in x11_screen_enable_dri2()
269 fd = open(xscr->dri_device, O_RDWR | O_CLOEXEC); in x11_screen_enable_dri2()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dx11_screen.c268 #ifdef O_CLOEXEC in x11_screen_enable_dri2()
269 fd = open(xscr->dri_device, O_RDWR | O_CLOEXEC); in x11_screen_enable_dri2()
/external/bluetooth/bluedroid/btif/co/
Dbta_hh_co.c257 p_dev->fd = open(dev_path, O_RDWR | O_CLOEXEC); in bta_hh_co_open()
284 p_dev->fd = open(dev_path, O_RDWR | O_CLOEXEC); in bta_hh_co_open()

12