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

seccomp / libseccomp / 637
93%
main: 89%

Build:
Build:
LAST BUILD BRANCH: issues/463
DEFAULT BRANCH: main
Ran 18 Aug 2020 04:02PM UTC
Jobs 1
Files 53
Run time 4s
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
637

push

travis-ci

pcmoore
tests: use smaller "magic" numbers in 51-live-user_notification

On an x32 based system, and perhaps other 32-bit systems, the magic
value in test 51-live-user_notification was too large and resulted
in a failed comparison even when the userspace notification mechanism
was working properly.

This patch addresses this problem by using the parent process's PID
for the magic number.  For all arches/ABIs we know it is a valid
return value for getpid() while also being one of the few PIDs that
the child process should never legitimately get from a call to
getpid().

This patch also restricts the use of SCMP_SYS() to only the
libseccomp API calls.  This should help us catch arches/ABIs that
don't implement getpid().  I'm also not sure we want to be
responsible for using SCMP_SYS() outside of the libseccomp API.

Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>

4345 of 4666 relevant lines covered (93.12%)

244600.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 637.1 (COVERITY_SCAN_TOKEN=[secure]) 18 Aug 2020 04:02PM UTC 0
93.12
Travis Job 637.1
Source Files on build 637
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #637
  • bee43d3e on github
  • Prev Build on master (#634)
  • Next Build on master (#639)
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