Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dfdtable.h113 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy;
/Linux-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c3749 int dup_fd, pipe_fds[2]; in TEST() local
3754 dup_fd = dup(pipe_fds[0]); in TEST()
3755 ASSERT_GE(dup_fd, 0); in TEST()
3756 EXPECT_NE(pipe_fds[0], dup_fd); in TEST()
3759 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
/Linux-v5.10/fs/
Dfile.c286 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() function
/Linux-v5.10/kernel/
Dfork.c1463 newf = dup_fd(oldf, NR_OPEN_MAX, &error); in copy_files()
2883 *new_fdp = dup_fd(fd, max_fds, &error); in unshare_fd()