Home
last modified time | relevance | path

Searched refs:fdpath (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c
H A Dhelpers.c
H A Dresolve_test.c
/linux/tools/testing/selftests/filesystems/openat2/
H A Dopenat2_test.c117 char *fdpath = NULL; in TEST_F() local
135 fdpath = fdreadlink(_metadata, fd); in TEST_F()
147 if (fdpath) in TEST_F()
152 fd, fdpath); in TEST_F()
163 free(fdpath); in TEST_F()
250 char *path, *fdpath = NULL; in TEST_F() local
275 fdpath = fdreadlink(_metadata, fd); in TEST_F()
301 fdpath = fdreadlink(_metadata, fd); in TEST_F()
305 fd, fdpath); in TEST_F()
317 free(fdpath); in TEST_F()
H A Dresolve_test.c42 char *fdpath = NULL; in verify_resolve_test() local
64 fdpath = fdreadlink(_metadata, fd); in verify_resolve_test()
66 test->name, fdpath, in verify_resolve_test()
68 free(fdpath); in verify_resolve_test()
74 fdpath = fdreadlink(_metadata, fd); in verify_resolve_test()
77 strerror(-test->out.err), fd, fdpath); in verify_resolve_test()
78 free(fdpath); in verify_resolve_test()
/linux/include/linux/
H A Dbinfmts.h78 const char *fdpath; /* generated filename for execveat */ member
/linux/fs/
H A Dexec.c1501 kfree(bprm->fdpath); in free_bprm()
1527 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d", fd); in alloc_bprm()
1530 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d/%s", in alloc_bprm()
1533 if (!bprm->fdpath) in alloc_bprm()
1548 bprm->filename = bprm->fdpath; in alloc_bprm()