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

/linux-master/include/linux/
H A Dfdtable.h114 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy;
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3840 int dup_fd, pipe_fds[2]; local
3845 dup_fd = dup(pipe_fds[0]);
3846 ASSERT_GE(dup_fd, 0);
3847 EXPECT_NE(pipe_fds[0], dup_fd);
3850 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0);
/linux-master/fs/
H A Dfile.c294 * unshare_fd() -> dup_fd() -> sane_fdtable_size() we can end
316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) function
/linux-master/kernel/
H A Dfork.c1792 newf = dup_fd(oldf, NR_OPEN_MAX, &error);
3257 *new_fdp = dup_fd(fd, max_fds, &error);

Completed in 115 milliseconds