Searched refs:fdpath (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/testing/selftests/openat2/ |
D | openat2_test.c | 94 char *fdpath = NULL; in test_openat2_struct() local 126 fdpath = fdreadlink(fd); in test_openat2_struct() 134 if (fdpath) in test_openat2_struct() 135 ksft_print_msg("%d['%s']\n", fd, fdpath); in test_openat2_struct() 150 free(fdpath); in test_openat2_struct() 247 char *path, *fdpath = NULL; in test_openat2_flags() local 279 fdpath = fdreadlink(fd); in test_openat2_flags() 302 if (fdpath) in test_openat2_flags() 304 fd, fdpath, fdflags, in test_openat2_flags() 317 free(fdpath); in test_openat2_flags()
|
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()
|
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-6.6.21/include/linux/ |
D | binfmts.h | 57 const char *fdpath; /* generated filename for execveat */ member
|
/linux-6.6.21/fs/ |
D | exec.c | 1511 kfree(bprm->fdpath); in free_bprm() 1526 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d", fd); in alloc_bprm() 1528 bprm->fdpath = kasprintf(GFP_KERNEL, "/dev/fd/%d/%s", in alloc_bprm() 1530 if (!bprm->fdpath) in alloc_bprm() 1533 bprm->filename = bprm->fdpath; in alloc_bprm() 1851 if (bprm->fdpath && get_close_on_exec(fd)) in bprm_execve()
|