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

checkpoint-restore / criu / 1761 / 1
33%
master: 33%

Build:
DEFAULT BRANCH: master
Ran 12 Mar 2018 03:54AM UTC
Files 211
Run time 11s
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

12 Mar 2018 03:54AM UTC coverage: 66.377% (+0.007%) from 66.37%
TR_ARCH=local GCOV=1

cron

travis-ci

Andrei Vagin
x86/kdat: Check PTRACE_TRACEME return value

Coverity has informed:

*** CID 188251:  Error handling issues  (CHECKED_RETURN)
/criu/arch/x86/crtools.c: 196 in kdat_x86_has_ptrace_fpu_xsave_bug_child()
190             return 0;
191     }
192     #endif
193
194     static int kdat_x86_has_ptrace_fpu_xsave_bug_child(void *arg)
195     {
>>>     CID 188251:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "ptrace" without checking return value (as is done elsewhere 46 out of 51 times).
196             ptrace(PTRACE_TRACEME, 0, 0, 0);
197             kill(getpid(), SIGSTOP);
198             pr_err("Continue after SIGSTOP.. Urr what?\n");
199             _exit(1);
200     }
201

Also added checks for kill() and waitpid().

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

19911 of 29997 relevant lines covered (66.38%)

716878.46 hits per line

Source Files on job 1761.1 (TR_ARCH=local GCOV=1)
  • Tree
  • List 0
  • Changed 124
  • Source Changed 0
  • Coverage Changed 124
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 1761.1
  • ce437d3d on github
  • Prev Job for TR_ARCH=local GCOV=1 on master (#1760.1)
  • Next Job for TR_ARCH=local GCOV=1 on master (#1763.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