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

xemul / criu / 483
66%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2016 11:28AM UTC
Jobs 4
Files 0
Run time –
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
483

push

travis-ci

xemul
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>
Reviewed-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Jobs
ID Job ID Ran Files Coverage
2 483.2 (TR_ARCH=x86_64) 02 Aug 2016 11:28AM UTC 0
Travis Job 483.2
3 483.3 (TR_ARCH=armv7hf) 02 Aug 2016 11:41AM UTC 0
Travis Job 483.3
4 483.4 (TR_ARCH=aarch64) 02 Aug 2016 11:37AM UTC 0
Travis Job 483.4
5 483.5 (TR_ARCH=ppc64le) 02 Aug 2016 11:40AM UTC 0
Travis Job 483.5
Source Files on build 483
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #483
  • da9315d8 on github
  • Prev Build on master (#482)
  • Next Build on master (#487)
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