Searched refs:O_CLOEXEC (Results 101 - 125 of 154) sorted by relevance

1234567

/linux-master/drivers/gpu/drm/
H A Ddrm_syncobj.c677 fd = get_unused_fd_flags(O_CLOEXEC);
773 int fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c109 __O_SYNC | O_DSYNC | O_CLOEXEC | \
1477 f_flags |= O_CLOEXEC;
/linux-master/fs/
H A Dopen.c1187 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
1208 u64 strip = __FMODE_NONOTIFY | O_CLOEXEC;
1218 * open_flags like O_CLOEXEC.
H A Dfcntl.c359 err = f_dupfd(argi, filp, O_CLOEXEC);
H A Dpipe.c968 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE))
/linux-master/tools/perf/
H A Dbuiltin-daemon.c1026 fd = inotify_init1(IN_NONBLOCK|O_CLOEXEC);
1150 fd = open(path, O_RDWR|O_CREAT|O_CLOEXEC, 0640);
/linux-master/kernel/bpf/
H A Dsyscall.c1022 flags | O_CLOEXEC);
2407 O_RDWR | O_CLOEXEC);
3193 fd = get_unused_fd_flags(O_CLOEXEC);
3204 file = anon_inode_getfile("bpf_link", &bpf_link_fops, link, O_CLOEXEC);
3232 return anon_inode_getfd("bpf-link", &bpf_link_fops, link, O_CLOEXEC);
5516 fd = anon_inode_getfd("bpf-stats", &bpf_stats_fops, NULL, O_CLOEXEC);
H A Dbpf_iter.c646 flags = O_RDONLY | O_CLOEXEC;
/linux-master/kernel/
H A Dseccomp.c110 * @flags: The flags for the new file descriptor. At the moment, only O_CLOEXEC
1676 if (addfd.newfd_flags & ~O_CLOEXEC)
1940 listener = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/perf/util/
H A Devlist.c1886 fd = open(s, O_RDWR | O_NONBLOCK | O_CLOEXEC);
1897 fd = open(p, O_RDWR | O_NONBLOCK | O_CLOEXEC);
/linux-master/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c1654 enclave_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/scsi/cxlflash/
H A Docxl_hw.c1213 flags = O_RDWR | O_CLOEXEC;
/linux-master/drivers/vfio/
H A Dgroup.c324 fdno = get_unused_fd_flags(O_CLOEXEC);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_vio.c337 stt, O_RDWR | O_CLOEXEC);
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c698 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/xen/
H A Dgntdev-dmabuf.c392 ret = dma_buf_fd(gntdev_dmabuf->dmabuf, O_CLOEXEC);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c237 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
/linux-master/fs/9p/
H A Dvfs_inode_dotl.c135 { O_CLOEXEC, P9_DOTL_CLOEXEC },
/linux-master/tools/bpf/bpftool/
H A Dfeature.c155 fd = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c324 fd = open(path, O_RDWR | O_CLOEXEC);
/linux-master/drivers/dma-buf/
H A Ddma-buf.c370 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/virt/kvm/
H A Dkvm_main.c4166 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC);
4358 fd = get_unused_fd_flags(O_CLOEXEC);
4777 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC);
5048 fd = get_unused_fd_flags(O_CLOEXEC);
5414 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/lib/bpf/
H A Dlinker.c305 linker->fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644);
560 obj->fd = open(filename, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/iommu/iommufd/
H A Dselftest.c1082 fdno = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c1551 path_beneath.parent_fd = open("/dev", O_PATH | O_DIRECTORY | O_CLOEXEC);

Completed in 426 milliseconds

1234567