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

avagin / criu
66%
master: 64%

Build:
Build:
LAST BUILD BRANCH: travis
DEFAULT BRANCH: master
Repo Added 15 Apr 2016 12:01AM UTC
Files 0
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 next
branch: next
CHANGE BRANCH
x
Reset
  • next
  • HEAD
  • PSBM-67026
  • alpine
  • asan
  • bad-page
  • check-only
  • compel
  • corked_dgram
  • coverall
  • coverity_scan
  • criu-dev
  • criu-dev-netns
  • criu-dev-next
  • criu-dev-over-compel
  • criu-dev-rebase
  • criu-dev-test
  • debug
  • devel
  • dsafonov
  • fc-rawhide
  • fd
  • for-master
  • for-xemul
  • for-xemul-05112018
  • gcc-7
  • gcov
  • issue-229
  • issues/544
  • jenkins
  • jenkins-bash
  • junit
  • linux-next
  • linux-next-20180112
  • linux-next-cr
  • linux-next-daily
  • linux-next-test
  • log
  • mntns
  • mntns_for_adrian
  • netlink
  • netns
  • netns-4
  • netns_ext
  • netns_ext2
  • pipeline
  • ppc
  • preadv
  • proc
  • python3
  • rawhide
  • remote
  • rppt
  • runc-console
  • runc_issues_1333
  • ruslan
  • shell-job
  • tcp-closing-states-v2
  • test
  • tmp
  • travis
  • unix_mnt_id

pending completion
2631

push

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>

19910 of 29996 relevant lines covered (66.38%)

47259175952895.65 hits per line

Relevant lines Covered
Build:
Build:
29996 RELEVANT LINES 19910 COVERED LINES
47259175952895.65 HITS PER LINE
Source Files on next
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2631 next 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 #e... push 02 Mar 2018 07:03AM UTC Andrei Vagin travis-ci pending completion  
2630 next zdtm: Add scm06 test This test makes looped unix sockets queues and tries to iterate over them after the restore. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com> push 02 Mar 2018 06:31AM UTC Andrei Vagin travis-ci pending completion  
2626 next xxx push 02 Mar 2018 04:07AM UTC Andrei Vagin travis-ci pending completion  
See All Builds (835)
  • Repo on GitHub
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