[CRIU] [PATCH] vdso: Correctly track vdso position without vvar
Cyrill Gorcunov
gorcunov at gmail.com
Mon Aug 12 18:31:19 MSK 2019
On Sat, Aug 10, 2019 at 02:33:29AM +0100, Dmitry Safonov wrote:
> If vvar is absent vdso_before_vvar is initialized by "false".
> Which means that the check that supposed to track vdso/vvar pair went
> into wrong brackets. In result it broke CRIU on kernels that don't have
> vvar mapping.
>
> Simpilfy the code by moving the check for VVAR_BAD_SIZE outside of
> conditional for vdso_before_vvar.
>
> Reported-by: Cyrill Gorcunov <gorcunov at gmail.com>
> Fixes: 0918c7667647 ("vdso/restorer: Always track vdso/vvar positions in
> vdso_maps_rt")
> Signed-off-by: Dmitry Safonov <dima at arista.com>
Acked-by: Cyrill Gorcunov <gorcunov at gmail.com>
Tested-by: Cyrill Gorcunov <gorcunov at gmail.com>
More information about the CRIU
mailing list