Searched refs:O_CLOEXEC (Results 76 - 100 of 154) sorted by relevance

1234567

/linux-master/tools/lib/bpf/
H A Delf.c35 fd = open(binary_path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c421 err = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/perf/util/
H A Ddata.c306 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
/linux-master/tools/hv/
H A Dhv_kvp_daemon.c261 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 Dhv_fcopy_uio_daemon.c105 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
/linux-master/fs/bcachefs/
H A Dthread_with_file.c28 unsigned fd_flags = O_CLOEXEC;
/linux-master/net/core/
H A Dscm.c324 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0;
/linux-master/tools/testing/selftests/mm/
H A Dksm_functional_tests.c388 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c413 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH);
/linux-master/fs/proc/
H A Dfd.c44 f_flags |= O_CLOEXEC;
/linux-master/fs/
H A Deventpoll.c2178 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 Dtimerfd.c417 BUILD_BUG_ON(TFD_CLOEXEC != O_CLOEXEC);
/linux-master/fs/autofs/
H A Ddev-ioctl.c231 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/infiniband/core/
H A Drdma_core.c473 new_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/iio/
H A Dindustrialio-event.c213 indio_dev, O_RDONLY | O_CLOEXEC);
/linux-master/net/
H A Dcompat.c294 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0;
/linux-master/include/uapi/drm/
H A Ddrm.h885 #define DRM_CLOEXEC O_CLOEXEC
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c509 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/include/uapi/drm/
H A Ddrm.h885 #define DRM_CLOEXEC O_CLOEXEC
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c46 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
/linux-master/kernel/
H A Dpid.c593 * 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 Dnetwork_helpers.c469 nsfd = open(nspath, O_RDONLY | O_CLOEXEC);
H A Dtest_sysctl.c1448 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 Dtest_shadow_stack.c495 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
/linux-master/fs/notify/inotify/
H A Dinotify_user.c700 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC);

Completed in 357 milliseconds

1234567