Searched refs:hardcoded_fd (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 125 int rootfd, hardcoded_fd; in test_openat2_opath_tests() local 131 hardcoded_fd = open("/dev/null", O_RDONLY); in test_openat2_opath_tests() 132 E_assert(hardcoded_fd >= 0, "open fd to hardcode"); in test_openat2_opath_tests() 133 E_asprintf(&hardcoded_fdpath, "self/fd/%d", hardcoded_fd); in test_openat2_opath_tests() 464 E_dup2(dfd, hardcoded_fd); in test_openat2_opath_tests() 503 close(hardcoded_fd); in test_openat2_opath_tests()
|
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 125 int rootfd, hardcoded_fd; in test_openat2_opath_tests() local 131 hardcoded_fd = open("/dev/null", O_RDONLY); in test_openat2_opath_tests() 132 E_assert(hardcoded_fd >= 0, "open fd to hardcode"); in test_openat2_opath_tests() 133 E_asprintf(&hardcoded_fdpath, "self/fd/%d", hardcoded_fd); in test_openat2_opath_tests() 464 E_dup2(dfd, hardcoded_fd); in test_openat2_opath_tests() 503 close(hardcoded_fd); in test_openat2_opath_tests()
|
Completed in 2 milliseconds