diff options
author | Andreas Gampe <agampe@google.com> | 2018-05-24 12:45:03 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-05-24 12:45:03 -0700 |
commit | 0c1a9cab2ffc52d4969d6148539f8b6f67387d00 (patch) | |
tree | a4c85d4421843d6131f2987a034b4ae688119201 | |
parent | 91b43a4dfe8239a38434d6d4a1f272139b915896 (diff) | |
download | libunwind-0c1a9cab2ffc52d4969d6148539f8b6f67387d00.tar.gz |
Libunwind: Ignore [vsyscall] mapandroid-p-preview-5android-p-preview-4android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1
Ignore the vsyscall map on newer Linux hosts.
Test: m
Change-Id: I46391083d5cc7e46aeee20f9bf6b151290daad28
-rw-r--r-- | src/os-linux.c | 1 |
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)) { |