Searched refs:fdpath (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | |
| H A D | helpers.c | |
| H A D | resolve_test.c | |
| /linux/tools/testing/selftests/filesystems/openat2/ |
| H A D | openat2_test.c | 117 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 D | resolve_test.c | 42 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 D | binfmts.h | 78 const char *fdpath; /* generated filename for execveat */ member
|
| /linux/fs/ |
| H A D | exec.c | 1501 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()
|