Home
last modified time | relevance | path

Searched refs:dup_fd (Results 1 – 3 of 3) sorted by relevance

/linux/fs/
H A Dfile.c383 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() function
842 fds = dup_fd(cur_fds, punch_hole); in SYSCALL_DEFINE3()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3863 int dup_fd, pipe_fds[2]; in TEST() local
3868 dup_fd = dup(pipe_fds[0]); in TEST()
3869 ASSERT_GE(dup_fd, 0); in TEST()
3870 EXPECT_NE(pipe_fds[0], dup_fd); in TEST()
3873 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
/linux/kernel/
H A Dfork.c1636 newf = dup_fd(oldf, NULL); in copy_files()
3106 fd = dup_fd(fd, NULL); in unshare_fd()