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

0x7f454c46 / criu / 361

Build:
Build:
LAST BUILD BRANCH: wip/vdso-kdat
DEFAULT BRANCH: master
Ran 06 Jul 2016 03:05PM UTC
Jobs 4
Files 120
Run time 7min
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

pending completion
361

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

Jobs
ID Job ID Ran Files Coverage
1 361.1 (TR_ARCH=x86_64) 06 Jul 2016 03:05PM UTC 0
54.34
Travis Job 361.1
2 361.2 (TR_ARCH=armv7hf) 06 Jul 2016 03:10PM UTC 0
Travis Job 361.2
3 361.3 (TR_ARCH=aarch64) 06 Jul 2016 03:13PM UTC 0
Travis Job 361.3
4 361.4 (TR_ARCH=ppc64le) 06 Jul 2016 03:08PM UTC 0
Travis Job 361.4
Source Files on build 361
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #361
  • 7ed2fa3b on github
  • Prev Build on cr-exec (#360)
  • Next Build on cr-exec (#363)
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