Searched refs:fdpath (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 95 char *fdpath = NULL; in test_openat2_struct() local 127 fdpath = fdreadlink(fd); in test_openat2_struct() 135 if (fdpath) in test_openat2_struct() 136 ksft_print_msg("%d['%s']\n", fd, fdpath); in test_openat2_struct() 151 free(fdpath); in test_openat2_struct() 248 char *path, *fdpath = NULL; in test_openat2_flags() local 280 fdpath = fdreadlink(fd); in test_openat2_flags() 303 if (fdpath) in test_openat2_flags() 305 fd, fdpath, fdflags, in test_openat2_flags() 318 free(fdpath); in test_openat2_flags()
|
| H A D | helpers.c | 73 char *fdpath, *dfdpath, *other; in fdequal() local 76 fdpath = fdreadlink(fd); in fdequal() 86 cmp = !strcmp(fdpath, other); in fdequal() 88 free(fdpath); in fdequal()
|
| H A D | resolve_test.c | 443 char *fdpath = NULL; in test_openat2_opath_tests() local 472 fdpath = fdreadlink(fd); in test_openat2_opath_tests() 481 if (fdpath) in test_openat2_opath_tests() 482 ksft_print_msg("%d['%s']\n", fd, fdpath); in test_openat2_opath_tests() 496 free(fdpath); in test_openat2_opath_tests()
|
| /linux/fs/ |
| H A D | exec.c | 1391 kfree(bprm->fdpath); in free_bprm() 1417 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d", fd); in alloc_bprm() 1420 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d/%s", in alloc_bprm() 1423 if (!bprm->fdpath) in alloc_bprm() 1438 bprm->filename = bprm->fdpath; in alloc_bprm()
|