Searched refs:dup_fd (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/include/linux/ |
D | fdtable.h | 120 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy;
|
/linux-6.6.21/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3834 int dup_fd, pipe_fds[2]; in TEST() local 3839 dup_fd = dup(pipe_fds[0]); in TEST() 3840 ASSERT_GE(dup_fd, 0); in TEST() 3841 EXPECT_NE(pipe_fds[0], dup_fd); in TEST() 3844 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
|
/linux-6.6.21/fs/ |
D | file.c | 316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() function
|
/linux-6.6.21/kernel/ |
D | fork.c | 1789 newf = dup_fd(oldf, NR_OPEN_MAX, &error); in copy_files() 3369 *new_fdp = dup_fd(fd, max_fds, &error); in unshare_fd()
|