Searched refs:exec_path (Results 1 – 4 of 4) sorted by relevance
/qemu/linux-user/ |
H A D | main.c | 70 char *exec_path; variable 669 exec_path = argv[optind]; in parse_args() 760 execfd = open(exec_path, O_RDONLY); in main() 762 printf("Error while loading %s: %s\n", exec_path, strerror(errno)); in main() 768 if (realpath(exec_path, real_exec_path)) { in main() 769 exec_path = real_exec_path; in main() 957 ret = loader_exec(execfd, exec_path, target_argv, target_environ, regs, in main() 960 printf("Error while loading %s: %s\n", exec_path, strerror(-ret)); in main()
|
H A D | user-internals.h | 26 extern char *exec_path;
|
H A D | syscall.c | 8254 fprintf(logfile, "Failing executable: %s\n", exec_path); in excp_dump_file() 8369 return safe_openat(dirfd, exec_path, flags, mode); in do_guest_openat() 8371 return openat(dirfd, exec_path, flags, mode); in do_guest_openat() 8441 ret = MIN(strlen(exec_path), bufsiz); in do_guest_readlink() 8443 memcpy(buf, exec_path, ret); in do_guest_readlink() 8534 exe = exec_path; in do_execv() 10444 ret = MIN(strlen(exec_path), arg4); in _syscall2() 10446 memcpy(p2, exec_path, ret); in _syscall2()
|
/qemu/tests/qemu-iotests/ |
H A D | check | 159 exec_path = Path(exec_pathstr).resolve() variable 160 cmd[0] = str(exec_path) 162 os.chdir(exec_path.parent)
|