aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-05-24 15:49:36 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-24 15:49:36 -0700
commit9ed960a358e4606d761779d772dad39cb08513dd (patch)
treea4c85d4421843d6131f2987a034b4ae688119201
parentf7c71c4af046d2741e18c6f43c771ebe0de6354b (diff)
parentf9e1920771cdfe38fdc89fe4eb97855a9005f098 (diff)
downloadlibunwind-oreo-mr1-1.2-iot-release.tar.gz
am: f9e1920771 Change-Id: Ifa2ad3f0008ffc7b939abf12c92a545b2dbdfa7f
-rw-r--r--src/os-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os-linux.c b/src/os-linux.c
index 8dc1ebfc..0f914f24 100644
--- a/src/os-linux.c
+++ b/src/os-linux.c
@@ -78,6 +78,7 @@ map_create_list (int map_create_type, pid_t pid)
/* If this is a readable executable map, and not a stack map or an
empty map, find the load_base. */
if (cur_map->path[0] != '\0' && strncmp ("[stack:", cur_map->path, 7) != 0
+ && strncmp ("[vsyscall]", cur_map->path, 10) != 0
&& (flags & (PROT_EXEC | PROT_READ)) == (PROT_EXEC | PROT_READ)
&& !(cur_map->flags & MAP_FLAGS_DEVICE_MEM))
{