summaryrefslogtreecommitdiffstats
path: root/src/nstime.c
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2013-12-14 20:03:02 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-04 02:02:51 (GMT)
commit5bf800a54247c5752053831e15f7b132bf9fddbf (patch)
treee6b6332af7403311234b27feab9c7cdeab0c15ea /src/nstime.c
parentd4e98bc0b27b2ed660002e1603fa353d5c89eb91 (diff)
downloadjemalloc-5bf800a54247c5752053831e15f7b132bf9fddbf.zip
jemalloc-5bf800a54247c5752053831e15f7b132bf9fddbf.tar.gz
jemalloc-5bf800a54247c5752053831e15f7b132bf9fddbf.tar.bz2
issue-586: detect main executable even if PIE is active
Previous logic of detecting main program addresses is to assume that main executable is at least addressess. With PIE (active by default on Ubuntus) it doesn't work. In order to deal with that, we're attempting to find main executable mapping in /proc/[pid]/maps. And old logic is preserved too just in case.
Diffstat (limited to 'src/nstime.c')
0 files changed, 0 insertions, 0 deletions