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

seccomp / libseccomp / 67
93%
main: 89%

Build:
Build:
LAST BUILD BRANCH: issues/463
DEFAULT BRANCH: main
Ran 08 Oct 2017 08:33PM UTC
Jobs 1
Files 58
Run time 2s
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
67

push

travis-ci

pcmoore
api: create an API level construct as part of the supported API

This patch adds the concept of "API levels" which are a way of
indicating what functionality is supported at runtime.  There are two
new API functions added, as explained by the manpage:

 "The seccomp_api_get() function returns an integer representing the
  functionality ("API level") provided by the current running kernel.
  It is important to note that while seccomp_api_get() can be called
  multiple times, the kernel is only probed the first time to see
  what functionality is supported, all following calls to
  seccomp_api_get() return a cached value.

  The seccomp_api_set() function allows callers to force the API
  level to the provided value; however, this is almost always a bad
  idea and use of this function is strongly discouraged."

Signed-off-by: Paul Moore <paul@paul-moore.com>

32 of 32 new or added lines in 2 files covered. (100.0%)

2025 of 2280 relevant lines covered (88.82%)

221410.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
src/api.c
Jobs
ID Job ID Ran Files Coverage
1 67.1 08 Oct 2017 08:33PM UTC 0
88.82
Travis Job 67.1
Source Files on build 67
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #67
  • e89d1820 on github
  • Prev Build on master (#60)
  • Next Build on master (#72)
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