/linux-master/include/uapi/linux/ |
H A D | eventfd.h | 8 #define EFD_CLOEXEC O_CLOEXEC
|
H A D | timerfd.h | 14 /* For O_CLOEXEC and O_NONBLOCK */ 32 #define TFD_CLOEXEC O_CLOEXEC
|
H A D | dma-heap.h | 18 /* Valid FD_FLAGS are O_CLOEXEC, O_RDONLY, O_WRONLY, O_RDWR */ 19 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
|
H A D | signalfd.h | 13 /* For O_CLOEXEC and O_NONBLOCK */ 17 #define SFD_CLOEXEC O_CLOEXEC
|
H A D | eventpoll.h | 18 /* For O_CLOEXEC */ 23 #define EPOLL_CLOEXEC O_CLOEXEC
|
H A D | inotify.h | 11 /* For O_CLOEXEC and O_NONBLOCK */ 72 #define IN_CLOEXEC O_CLOEXEC
|
/linux-master/arch/mips/include/asm/ |
H A D | socket.h | 45 #define SOCK_CLOEXEC O_CLOEXEC
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 15 #define O_CLOEXEC 010000000 /* set close_on_exec */ macro
|
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 18 #define O_CLOEXEC 010000000 /* set close_on_exec */ macro
|
/linux-master/tools/perf/util/ |
H A D | util.h | 74 #ifndef O_CLOEXEC 76 #define O_CLOEXEC 0x400000 macro 78 #define O_CLOEXEC 010000000 macro 80 #define O_CLOEXEC 02000000 macro
|
/linux-master/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 21 #define O_CLOEXEC 0x400000 macro
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 62 #ifndef O_CLOEXEC 63 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 62 #ifndef O_CLOEXEC 63 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | base_test.c | 182 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 205 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 277 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 305 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 307 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 317 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 320 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC);
|
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC); 105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC);
|
/linux-master/include/linux/ |
H A D | fcntl.h | 13 O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
|
H A D | eventfd.h | 26 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
/linux-master/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 91 fd = open(device_path, O_RDONLY | O_CLOEXEC); 114 fd = open(device_path, O_CLOEXEC | O_RDONLY); 161 fd = open(device_path, O_CLOEXEC | O_RDONLY); 257 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); 282 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); 424 fd = open(device_path, O_RDONLY | O_CLOEXEC); 441 fds[i] = open(device_path, O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 69 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); 116 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); 220 pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); 249 ret = pipe2(pipe_fds, O_CLOEXEC); 356 pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 134 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); 151 ret = pipe2(uffd_desc->pipefds, O_CLOEXEC | O_NONBLOCK);
|
/linux-master/samples/binderfs/ |
H A D | binderfs_example.c | 53 fd = open("/dev/binderfs/binder-control", O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/gpio/ |
H A D | gpio-watch.c | 35 fd = open(argv[1], O_RDWR | O_CLOEXEC);
|
/linux-master/include/trace/misc/ |
H A D | fs.h | 40 { O_CLOEXEC, "O_CLOEXEC" })
|
/linux-master/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 128 return dmabuf_heap_alloc_fdflags(fd, len, O_RDWR | O_CLOEXEC, flags, 311 .fd_flags = O_RDWR | O_CLOEXEC, 343 .fd_flags = O_RDWR | O_CLOEXEC, 424 ~(O_RDWR | O_CLOEXEC), 0, &dmabuf_fd);
|
/linux-master/mm/ |
H A D | secretmem.c | 239 BUILD_BUG_ON(SECRETMEM_FLAGS_MASK & O_CLOEXEC); 244 if (flags & ~(SECRETMEM_FLAGS_MASK | O_CLOEXEC)) 249 fd = get_unused_fd_flags(flags & O_CLOEXEC);
|