Searched refs:O_CLOEXEC (Results 76 - 100 of 154) sorted by relevance
1234567
/linux-master/tools/lib/bpf/ |
H A D | elf.c | 35 fd = open(binary_path, O_RDONLY | O_CLOEXEC);
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_submit.c | 421 err = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/tools/perf/util/ |
H A D | data.c | 306 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
|
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 261 fd = open(fname, O_RDWR | O_CREAT | O_CLOEXEC, 0644 /* rw-r--r-- */); 1728 kvp_fd = open("/dev/vmbus/hv_kvp", O_RDWR | O_CLOEXEC);
|
H A D | hv_fcopy_uio_daemon.c | 105 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 28 unsigned fd_flags = O_CLOEXEC;
|
/linux-master/net/core/ |
H A D | scm.c | 324 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0;
|
/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_functional_tests.c | 388 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 413 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH);
|
/linux-master/fs/proc/ |
H A D | fd.c | 44 f_flags |= O_CLOEXEC;
|
/linux-master/fs/ |
H A D | eventpoll.c | 2178 BUILD_BUG_ON(EPOLL_CLOEXEC != O_CLOEXEC); 2192 fd = get_unused_fd_flags(O_RDWR | (flags & O_CLOEXEC)); 2198 O_RDWR | (flags & O_CLOEXEC));
|
H A D | timerfd.c | 417 BUILD_BUG_ON(TFD_CLOEXEC != O_CLOEXEC);
|
/linux-master/fs/autofs/ |
H A D | dev-ioctl.c | 231 fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/drivers/infiniband/core/ |
H A D | rdma_core.c | 473 new_fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/drivers/iio/ |
H A D | industrialio-event.c | 213 indio_dev, O_RDONLY | O_CLOEXEC);
|
/linux-master/net/ |
H A D | compat.c | 294 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0;
|
/linux-master/include/uapi/drm/ |
H A D | drm.h | 885 #define DRM_CLOEXEC O_CLOEXEC
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem_submit.c | 509 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/tools/include/uapi/drm/ |
H A D | drm.h | 885 #define DRM_CLOEXEC O_CLOEXEC
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 46 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
|
/linux-master/kernel/ |
H A D | pid.c | 593 * This creates a new pid file descriptor with the O_CLOEXEC flag set. 622 * This creates a new pid file descriptor with the O_CLOEXEC flag set for 724 ret = receive_fd(file, NULL, O_CLOEXEC);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | network_helpers.c | 469 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
|
H A D | test_sysctl.c | 1448 fd = open(sysctl_path, O_RDONLY | O_CLOEXEC); 1504 fd = open(sysctl_path, test->open_flags | O_CLOEXEC);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | test_shadow_stack.c | 495 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
|
/linux-master/fs/notify/inotify/ |
H A D | inotify_user.c | 700 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC);
|
Completed in 357 milliseconds
1234567