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

checkpoint-restore / criu / 1871
6%
master: 33%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Ran 24 Apr 2018 05:31AM UTC
Jobs 1
Files 218
Run time 10s
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
1871

cron

travis-ci

Andrei Vagin
files: fix clone_service_fd overlap handling

Though LOG_FD_OFF < IMG_FD_OFF, get_service_fd(LOG_FD_OFF) is > than
get_service_fd(IMG_FD_OFF), see __get_service_fd, so the check here
should be twisted. Also add bug_on to track possible __get_service_fd
change which can break these check again.

We have a problem when USERNSD_SK replaces LOG_FD_OFF, latter when
writing to log, instead we actually send crazy commands to usernsd,
which fails to handle them and BUGs or crashes.

https://jira.sw.ru/browse/PSBM-83472

Also we had similar problem when __userns_call receives bad repsonse,
likely it has the same background:

https://api.travis-ci.org/v3/job/352164661/log.txt

fixes commit 129bb14611c3 ("files: Prepare clone_service_fd() for
overlaping ranges.")

v2: move BUG_ON to main() to check it only once, use min+1 and max-1

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Acked-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

20895 of 33053 relevant lines covered (63.22%)

67945.23 hits per line

Jobs
ID Job ID Ran Files Coverage
15 1871.15 (TR_ARCH=local GCOV=1) 24 Apr 2018 05:31AM UTC 0
63.22
Travis Job 1871.15
Source Files on build 1871
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1871
  • 87b84e59 on github
  • Prev Build on criu-dev (#1869)
  • Next Build on criu-dev (#1873)
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