Searched refs:fdpath (Results 1 - 5 of 5) sorted by relevance

/linux-master/tools/testing/selftests/openat2/
H A Dhelpers.c73 char *fdpath, *dfdpath, *other; local
76 fdpath = fdreadlink(fd);
86 cmp = !strcmp(fdpath, other);
88 free(fdpath);
H A Dopenat2_test.c94 char *fdpath = NULL; local
126 fdpath = fdreadlink(fd);
134 if (fdpath)
135 ksft_print_msg("%d['%s']\n", fd, fdpath);
150 free(fdpath);
247 char *path, *fdpath = NULL; local
279 fdpath = fdreadlink(fd);
302 if (fdpath)
304 fd, fdpath, fdflags,
317 free(fdpath);
[all...]
H A Dresolve_test.c443 char *fdpath = NULL; local
472 fdpath = fdreadlink(fd);
481 if (fdpath)
482 ksft_print_msg("%d['%s']\n", fd, fdpath);
496 free(fdpath);
/linux-master/include/linux/
H A Dbinfmts.h57 const char *fdpath; /* generated filename for execveat */ member in struct:linux_binprm
/linux-master/fs/
H A Dexec.c1531 kfree(bprm->fdpath);
1557 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d", fd);
1559 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d/%s",
1561 if (!bprm->fdpath)
1576 bprm->filename = bprm->fdpath;

Completed in 161 milliseconds