linux-user: Add x86_64 vsyscall page to /proc/self/maps
commitbf02adcd888f2837f6accc235a3acf69ca2e82f8
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Feb 2020 03:22:22 +0000 (12 19:22 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 26 Mar 2020 07:08:54 +0000 (26 08:08 +0100)
treefe0653450e0ff0ae4ba7929c7efefef5dd62e84b
parentb26491b4d4f829fa4326d1ec2eea165a37bc6b3c
linux-user: Add x86_64 vsyscall page to /proc/self/maps

The page isn't (necessarily) present in the host /proc/self/maps,
and even if it might be it isn't present in page_flags, and even
if it was it might not have the same set of page permissions.

The easiest thing to do, particularly when it comes to the
"[vsyscall]" note at the end of line, is to special case it.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200213032223.14643-5-richard.henderson@linaro.org>
[lv: remove trailing space]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c