Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/tc-testing/plugin-lib/
A DREADME-PLUGINS1 tdc.py will look for plugins in a directory plugins off the cwd.
22 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
/tools/testing/selftests/capabilities/
A Dtest_execve.c132 char cwd[PATH_MAX]; in chdir_to_tmpfs() local
133 if (getcwd(cwd, sizeof(cwd)) != cwd) in chdir_to_tmpfs()
140 if (chdir(cwd) != 0) in chdir_to_tmpfs()
/tools/lib/subcmd/
A Dexec-cmd.c63 const char *cwd = get_pwd_cwd(buf, sz); in make_nonrelative_path() local
65 if (!cwd) in make_nonrelative_path()
68 if (strlen(cwd) + strlen(path) + 2 >= sz) in make_nonrelative_path()
/tools/testing/selftests/exec/
A Dexecveat.c178 char *cwd = getcwd(NULL, 0); in check_execveat_pathmax() local
180 if (!cwd) { in check_execveat_pathmax()
184 strcpy(longpath, cwd); in check_execveat_pathmax()
189 count = (PATH_MAX - 3 - strlen(cwd)) / XX_DIR_LEN; in check_execveat_pathmax()
194 len = (PATH_MAX - 3 - strlen(cwd)) - (count * XX_DIR_LEN); in check_execveat_pathmax()
200 free(cwd); in check_execveat_pathmax()
/tools/testing/selftests/powerpc/ptrace/
A Dptrace-hwbreak.c50 static volatile char cwd[PATH_MAX] __attribute__((aligned(8))); variable
146 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload()
161 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload()
320 unsigned long wp_addr = (unsigned long)cwd; in test_set_debugreg_kernel_userspace()
384 unsigned long wp_addr = (unsigned long)&cwd; in test_sethwdebug_exact_kernel_userspace()
/tools/testing/kunit/
A Drun_checks.py77 subprocess.check_output(argv, stderr=subprocess.STDOUT, cwd=ABS_TOOL_PATH, timeout=TIMEOUT)

Completed in 11 milliseconds