Home
last modified time | relevance | path

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

1234

/Linux-v4.19/tools/perf/util/
Dutil.h73 #ifndef O_CLOEXEC
75 #define O_CLOEXEC 0x400000 macro
77 #define O_CLOEXEC 010000000 macro
79 #define O_CLOEXEC 02000000 macro
Ddata.c101 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, in open_file_write()
/Linux-v4.19/include/linux/
Deventfd.h24 #define EFD_CLOEXEC O_CLOEXEC
27 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Duserfaultfd_k.h25 #define UFFD_CLOEXEC O_CLOEXEC
28 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Dfcntl.h12 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
/Linux-v4.19/tools/include/uapi/asm-generic/
Dfcntl.h61 #ifndef O_CLOEXEC
62 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
/Linux-v4.19/include/uapi/asm-generic/
Dfcntl.h62 #ifndef O_CLOEXEC
63 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
/Linux-v4.19/include/uapi/linux/
Dtimerfd.h32 #define TFD_CLOEXEC O_CLOEXEC
Dsignalfd.h17 #define SFD_CLOEXEC O_CLOEXEC
Dinotify.h72 #define IN_CLOEXEC O_CLOEXEC
Deventpoll.h23 #define EPOLL_CLOEXEC O_CLOEXEC
/Linux-v4.19/arch/mips/include/asm/
Dsocket.h45 #define SOCK_CLOEXEC O_CLOEXEC
/Linux-v4.19/arch/parisc/include/uapi/asm/
Dfcntl.h17 #define O_CLOEXEC 010000000 /* set close_on_exec */ macro
/Linux-v4.19/arch/alpha/include/uapi/asm/
Dfcntl.h18 #define O_CLOEXEC 010000000 /* set close_on_exec */ macro
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dfcntl.h21 #define O_CLOEXEC 0x400000 macro
/Linux-v4.19/tools/testing/selftests/filesystems/
Ddevpts_pts.c105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
123 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
/Linux-v4.19/tools/testing/selftests/exec/
Dexecveat.c235 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
247 int fd_cloexec = open_or_die("execveat", O_RDONLY|O_CLOEXEC); in run_tests()
248 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); in run_tests()
/Linux-v4.19/fs/
Dsignalfd.c267 BUILD_BUG_ON(SFD_CLOEXEC != O_CLOEXEC); in do_signalfd4()
288 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in do_signalfd4()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-expbuf.rst54 for open() for details. Currently only O_CLOEXEC, O_RDONLY, O_WRONLY,
146 - Flags for the newly created file, currently only ``O_CLOEXEC``,
/Linux-v4.19/arch/um/os-Linux/
Dmem.c110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_dmabuf.c148 exp_info.flags = O_CLOEXEC; in mock_dmabuf()
/Linux-v4.19/tools/hv/
Dhv_fcopy_daemon.c84 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
/Linux-v4.19/tools/testing/selftests/memfd/
Dfuse_test.c261 fd = open(argv[1], O_RDONLY | O_CLOEXEC); in main()
/Linux-v4.19/Documentation/driver-api/
Ddma-buf.rst80 To avoid this problem, userspace must have a way to request O_CLOEXEC
83 userspace control setting of O_CLOEXEC flag passed in to dma_buf_fd().
/Linux-v4.19/Documentation/media/uapi/dvb/
Ddmx-expbuf.rst44 for open() for details. Currently only O_CLOEXEC, O_RDONLY, O_WRONLY,

1234