diff options
author | Leandro A. F. Pereira <leandro.pereira@microsoft.com> | 2019-05-23 09:59:17 -0700 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-05-23 09:59:17 -0700 |
commit | 572be424ae932cdaba08585c922a9104684b408e (patch) | |
tree | e41df9a88acec7e2e0375df48bccfb86e03a5be4 /src/ToolBox | |
parent | 38cf40f3daa76346100b391843dc8cfd21f3e1a3 (diff) | |
download | coreclr-572be424ae932cdaba08585c922a9104684b408e.tar.gz coreclr-572be424ae932cdaba08585c922a9104684b408e.tar.bz2 coreclr-572be424ae932cdaba08585c922a9104684b408e.zip |
Use auxiliary vector to obtain the executable path name (#24696)
This vector is populated by the kernel while loading an ELF, and is
available to user land without requiring any system calls. This is
specially interesting if programs are executed under a chroot where
/proc isn't available (and thus realpath("/proc/self/exe"), the current
method of obtaining the full path name for the executable).
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/Strike/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolBox/SOS/Strike/CMakeLists.txt b/src/ToolBox/SOS/Strike/CMakeLists.txt index a4fe91cba3..8e0218a341 100644 --- a/src/ToolBox/SOS/Strike/CMakeLists.txt +++ b/src/ToolBox/SOS/Strike/CMakeLists.txt @@ -132,7 +132,6 @@ else(WIN32) strike.cpp sos.cpp util.cpp - ../../../coreclr/hosts/unixcoreruncommon/coreruncommon.cpp ) set(SOS_LIBRARY @@ -142,6 +141,7 @@ else(WIN32) # share the PAL in the dac module mscordaccore palrt + unixcoreruncommon ) set(DEF_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/sos_unixexports.src) |