Home
last modified time | relevance | path

Searched refs:exe_path (Results 1 – 3 of 3) sorted by relevance

/aosp12/bionic/libc/bionic/
H A D__bionic_get_shell_path.cpp51 char exe_path[strlen(VENDOR_PREFIX)]; in init_sh_path()
52 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); in init_sh_path()
53 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) { in init_sh_path()
/aosp12/system/update_engine/common/
H A Dtest_utils.cc255 base::FilePath exe_path; in GetBuildArtifactsPath() local
256 base::ReadSymbolicLink(base::FilePath("/proc/self/exe"), &exe_path); in GetBuildArtifactsPath()
257 return exe_path.DirName(); in GetBuildArtifactsPath()
/aosp12/system/testing/gtest_extras/
H A DIsolateMain.cpp103 std::string exe_path = std::string("/proc/") + std::to_string(ppid) + "/exe"; in RunInIsolationMode() local
111 if ((len = TEMP_FAILURE_RETRY(readlink(exe_path.c_str(), buf, sizeof(buf) - 1))) > 0) { in RunInIsolationMode()