[CRIU] [PATCH 00/11] vdso: arm32 support

Andrei Vagin avagin at gmail.com
Sat May 25 08:31:17 MSK 2019


Cyrill, could you review this series?

On Wed, May 22, 2019 at 07:18:14PM +0100, Dmitry Safonov wrote:
> Purge CONFIG_VDSO from CRIU and add arm32 helpers.
> Tested on RPI2 B+ board with vdso00/vdso02/vdso-proxy
> and fault-injected vdso proxification.
> 
> P.S.
> 
> I seem to trigger some Travis-CI "feature" as it doesn't want to
> schedule a new build/test when I push the branch.
> So, let's wait for patchwork - on the last build I got[1] some
> issues, which I've addressed in the patches set.
> 
> [1]: https://travis-ci.org/0x7f454c46/criu/builds/535815412
> 
> Dmitry Safonov (11):
>   cr-check: Add check for mremap() of special mappings
>   vdso/arm: Add vdso symbols from kernel
>   parasite-vdso: Add ugly casts for arm32
>   vdso/arm32: Add vdso trampoline support
>   arm: Build {pie-,}util-vdso with CONFIG_VDSO_32
>   arm: Provide aeabi helpers in ARM format
>   arm/pie: Provide __clear_cache()
>   rt-vdso: Be verbose if !blobs_matches()
>   util-vdso: Check chain for STN_UNDEF
>   pie/build: Add CFLAGS_PIE to CFLAGS
>   criu/vdso: Purge CONFIG_VDSO
> 
>  Makefile                                      |   8 +-
>  Makefile.config                               |   4 -
>  .../arch/arm/plugins/std/syscalls/syscall.def |   1 +
>  criu/Makefile.crtools                         |   5 +-
>  criu/arch/arm/aeabi-helpers.S                 |  96 +++++++++
>  criu/arch/arm/include/asm/vdso.h              |  17 ++
>  criu/arch/arm/pie-cacheflush.c                |   7 +
>  criu/arch/arm/uidiv.S                         | 186 ------------------
>  criu/arch/arm/vdso-pie.c                      |  58 ++++++
>  criu/cr-check.c                               | 149 +++++++++++++-
>  criu/cr-restore.c                             |   6 -
>  criu/include/kerndat.h                        |   4 -
>  criu/include/parasite-vdso.h                  |   9 -
>  criu/include/restorer.h                       |   2 -
>  criu/include/vdso.h                           |  13 --
>  criu/mem.c                                    |   3 +-
>  criu/pie/Makefile                             |  21 +-
>  criu/pie/Makefile.library                     |  16 +-
>  criu/pie/parasite-vdso.c                      |  40 +++-
>  criu/pie/parasite.c                           |   8 -
>  criu/pie/restorer.c                           |   8 -
>  criu/pie/util-vdso.c                          |   2 +-
>  criu/proc_parse.c                             |  14 --
>  include/common/arch/arm/asm/linkage.h         |   4 +
>  test/zdtm/static/vdso01.c                     |   2 +-
>  25 files changed, 387 insertions(+), 296 deletions(-)
>  create mode 100644 criu/arch/arm/aeabi-helpers.S
>  create mode 100644 criu/arch/arm/include/asm/vdso.h
>  create mode 100644 criu/arch/arm/pie-cacheflush.c
>  delete mode 100644 criu/arch/arm/uidiv.S
>  create mode 100644 criu/arch/arm/vdso-pie.c
> 
> -- 
> 2.21.0
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list