• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

0x7f454c46 / criu / 361 / 1

Build:
Build:
LAST BUILD BRANCH: wip/vdso-kdat
DEFAULT BRANCH: master
Ran 06 Jul 2016 03:05PM UTC
Files 120
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2016 02:44PM UTC coverage: 54.343% (+0.007%) from 54.336%
TR_ARCH=x86_64

push

travis-ci

0x7f454c46
cr-exec: initialize kdat.{task_size,has_compat_sigreturn} on criu exec

For `criu exec` we are searching for a place for syscall injection.
While searching for a VMA with PROT_EXEC and with needed size,
we check that VMA is lower than task_size.
The callpath for it is:
cr_exec => parasite_prep_ctl => get_vma_by_ip

Firstly, I thought to omit kdat.task_size checking if it's not inited:
> if (vma_area->e->start >= kdat.task_size && kdat.task_size)
but I think it's a hack then a proper solution.
Besides, this code still can choose VMA over task_size on ARM
and try to inject syscall there (IIRC, ARM has kernel-mapped
VMA in that area).

So, lets init kdat.task_size for `criu exec`.
Also lets init kdat.has_compat_sigreturn so we could exec into
compatible applications.

Cc: Christopher Covington <cov@codeaurora.org>
Cc: Andrew Vagin <avagin@virtuozzo.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>

14039 of 25834 relevant lines covered (54.34%)

34954.11 hits per line

Source Files on job 361.1 (TR_ARCH=x86_64)
  • Tree
  • List 0
  • Changed 86
  • Source Changed 8
  • Coverage Changed 85
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 361
  • Travis Job 361.1
  • 7ed2fa3b on github
  • Prev Job for TR_ARCH=x86_64 on cr-exec (#360.1)
  • Next Job for TR_ARCH=x86_64 on cr-exec (#363.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc