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

xemul / criu
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Repo Added 20 Feb 2016 10:01AM UTC
Files 217
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

LAST BUILD ON BRANCH criu-dev-scms
branch: criu-dev-scms
CHANGE BRANCH
x
Reset
  • criu-dev-scms
  • master
  • HEAD
  • criu-dev
  • v2.4
  • v2.6
  • br-criu-dev-fpregs-arch
  • criu-dev-test
  • master-test
  • criu-compel
  • v2.7
  • criu-dev-veth-test
  • criu-zdtm-rpc
  • criu-dev-merge
  • v2.11
  • v2.11.1
  • criu-dev-remote
  • master-merge
  • v2.12
  • v2.12.1
  • criu-2.x-stable
  • br-issue-302
  • v3.0
  • criu-dev-stages-opt
  • criu-dev-rst-mem
  • criu-dev-rst-mem-2
  • criu-dev-files-images
  • criu-dev-fsnotify
  • criu-dev-init-relax
  • criu-dev-memprotects
  • criu-dev-initcalls
  • criu-dev-nogetpid
  • criu-dev-files-image-merge
  • v3.1
  • criu-dev-filemap-open-fix
  • master-memopt
  • criu-dev-ghost-holes
  • v3.2
  • criu-dev-fdinfo-parse-once
  • criu-dev-lsm-kerndat
  • master-lsm-kerndat
  • v3.2.1
  • criu-dev-page-xfer-sanitize
  • criu-dev-sit-device
  • criu-dev-ttys
  • v3.3
  • criu-dev-rebase
  • v3.4
  • v3.5

7 Jul 2017 - 17:27 coverage: 64.454%. First build
1104

push

travis-ci

xemul
SCM: Dump and restore SCM_RIGHTs

Most of the pieces has already been described in the previous patches :)
so here's the summary.

* Dump:

When receiving a message, also receive any SCM-s (already there) and when
SCM_RIGHTs one is met -- go ahead and just dump received descriptors using
regular code, but taking current as the victim task.

Few words about file paths resolution -- since we do dump path-ed files
by receiving them from victim's parasite, such files sent via sockets
should still work OK, as we still receive them, just from another socket.

Several problems here:

1. Unix sockets sent via unix sockets form knots. Not supported.
2. Eventpolls sent via unix might themseves poll unix sockets. Knots
   again. Not supported either.

* Restore:

On restore we need to make unix socket wait for the soon-to-be-scm-sent
descriptors to get restored, so we need to find them, then put a dependency.
After that, the fake fdinfo entry is attached to the respective file
descs, when sent the respective descriptors are closed.

For now more than one cmsg header in the message is not resotred. The
proper check for this must be in dump, but the plan is to support it
before master merege.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>

20223 of 31376 relevant lines covered (64.45%)

199137.31 hits per line

Relevant lines Covered
Build:
Build:
31376 RELEVANT LINES 20223 COVERED LINES
199137.31 HITS PER LINE
Source Files on criu-dev-scms
  • List 217
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1104 criu-dev-scms SCM: Dump and restore SCM_RIGHTs Most of the pieces has already been described in the previous patches :) so here's the summary. * Dump: When receiving a message, also receive any SCM-s (already there) and when SCM_RIGHTs one is met -- go ahead... push 07 Jul 2017 06:06PM UTC xemul travis-ci
64.45
See All Builds (633)
  • Repo on GitHub
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc