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

drakenclimber / libcgroup
56%

Build:
DEFAULT BRANCH: main
Repo Added 19 Nov 2020 06:53PM UTC
Files 39
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 main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • 066
  • 3pl
  • add-cgx-man-pages
  • alert-autofix-11
  • allow-space-cgrules
  • cgall2
  • cgcompare
  • cgcompare2
  • cgconfigscript
  • cgcreate
  • cgroup-controller
  • cgroup-controller-v2
  • cgroup-controller-v3
  • cgsos
  • cgsos2
  • cgsos3
  • change-email
  • clang
  • cleanup-subtree
  • codeql
  • consts-rework
  • coverity
  • dependabot
  • dist-subdirs-2.0
  • distro
  • doc
  • extra-logging
  • fix-005
  • fix-cgxset
  • fix-rel2.0
  • fix008
  • fixspaces
  • fixwarning
  • fixwarnings
  • foo
  • ftest-lock
  • get_next_rule_field
  • getprocs
  • getprocs2
  • github
  • github-workflow-ci
  • issues/21
  • issues/38
  • issues/61
  • issues/62
  • issues/66
  • issues/71
  • issues/71v2
  • issues/73
  • issues/advanced-cgget
  • issues/betterlogs
  • issues/cgclear
  • issues/cgclear2
  • issues/cgconfig-tests
  • issues/cgconfigparser
  • issues/cgexec-test
  • issues/cgget-refactor
  • issues/cgget-refactor2
  • issues/cgget-tests
  • issues/cgrules
  • issues/cgrules2
  • issues/cgrules3
  • issues/cgrules4
  • issues/cgset-tests
  • issues/cgsnapshot
  • issues/cgsnapshot2
  • issues/cgv2-tests
  • issues/cgxget
  • issues/cgxget3
  • issues/cgxget4
  • issues/cgxget5
  • issues/cgxget5-pybindings
  • issues/cgxget5-pybindings3
  • issues/cgxget5-pybindings4
  • issues/cgxget5-pybindings5
  • issues/cgxget5-pybindings6
  • issues/cgxget5-toolslib
  • issues/codecovrel2.0
  • issues/codeql
  • issues/contributing
  • issues/coveralls_badge
  • issues/daemoncodecov
  • issues/delete-cgclear
  • issues/delete-legacy
  • issues/distcheck
  • issues/doxygen
  • issues/doxygen_badge
  • issues/emptycg
  • issues/emptycgcreate
  • issues/finalize
  • issues/fix-warnings
  • issues/fixcgset
  • issues/fixme
  • issues/fixmerge
  • issues/fixtest004
  • issues/fixwarnings
  • issues/ftests_cgv2
  • issues/github_actions
  • issues/improvecodecov
  • issues/kill-child
  • issues/lgtm
  • issues/lscgroup
  • issues/lssubsys
  • issues/mainbadge
  • issues/mount-pybindings
  • issues/nocontainer
  • issues/noinst
  • issues/random
  • issues/readme
  • issues/rel2-codeql
  • issues/remove-libs
  • issues/removetestsdir
  • issues/threaded
  • issues/update-map
  • issues/v2.0.1
  • issues/validate
  • leaf-node
  • linter
  • list-cgroup-mnts-api
  • master
  • memory_abstraction
  • merge-tests
  • merge-tests-3.0
  • mount-table-overflow
  • nosystemd-job
  • options
  • pids
  • ps
  • pull/44
  • pull/45
  • pull/46
  • release-2.0
  • release-3.0
  • release-3.2
  • rename-python-set-default
  • rework-testing
  • set-property
  • set-property2
  • set-property3
  • set-property4
  • setup_mode
  • systemd
  • systemd-cexample
  • systemd-cgconfig
  • systemd-cmdline
  • systemd-pythonexample
  • test
  • test-reliability
  • test2
  • tests2
  • undefsystemd
  • update-gtest
  • update-rel2-tests
  • wip/abstract_cgget2
  • wip/cgexec-test
  • wip/cgset-tests
  • wip/cgsnapshot
  • wip/cgxget
  • wip/cgxget2
  • wip/cgxget3
  • wip/cgxget4
  • wip/delete-legacy
  • wip/dist-subdirs
  • wip/empty_cgcreate2
  • wip/emptycgs
  • wip/gh_actions
  • wip/refactor_cgget2
  • wip/release-2.0
  • wip/systemd
  • wip/systemd10
  • wip/systemd11
  • wip/systemd12
  • wip/systemd2
  • wip/systemd3
  • wip/systemd4
  • wip/systemd5
  • wip/systemd6
  • wip/systemd7
  • wip/systemd8
  • wip/systemd9
  • wip/test-cgget.new
  • wip/test-cgget.old

14 May 2026 06:17PM UTC coverage: 56.138%. Remained the same
25878847835

push

github

drakenclimber
src/libcgroup-internal: drop dirent/mntent includes

src/libcgroup-internal.h includes <dirent.h> and <mntent.h>, but only
uses pointer types in function declarations.

Replace the heavy includes with forward declarations:
- add struct dirent;
- add struct mntent;
- remove <dirent.h> and <mntent.h> from the internal header

This trims transitive header dependencies and reduces compile noise,
with no functional change.

Build tested with:
  make -j4

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka (Oracle) <tom.hromatka@gmail.com>

5634 of 10036 relevant lines covered (56.14%)

584.76 hits per line

Relevant lines Covered
Build:
Build:
10036 RELEVANT LINES 5634 COVERED LINES
584.76 HITS PER LINE
Source Files on main
  • Tree
  • List 39
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25878847835 main src/libcgroup-internal: drop dirent/mntent includes src/libcgroup-internal.h includes <dirent.h> and <mntent.h>, but only uses pointer types in function declarations. Replace the heavy includes with forward declarations: - add struct dirent; - a... push 14 May 2026 06:49PM UTC drakenclimber github
56.14
25131346185 main src/api.c: fix grammar and typos across the file Fix spelling and grammar throughout the file, no functional changes. Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com> Signed-off-by: Tom Hromatka (Oracle) <tom.hromatka@gmail.com> push 29 Apr 2026 08:13PM UTC drakenclimber github
56.14
23767314410 main config: pass NULL when probing systemd default cgroup ASan reported following global-buffer-overflow: READ of size 1 at 0x7f50dc6b3e9f thread T0 #0 0x... in cg_concat_path <src>/src/api.c:1769 #1 0x... in cg_build_path_locked <src>/src/a... push 30 Mar 2026 08:57PM UTC drakenclimber github
56.13
20863027504 main docs: update -a flag to match uid:gid order Update cgcreate's man page so that it correctly displays the order in which the uid and gid parameters are passed in. Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar> Acked-by: Kamalesh Babulal <ka... push 09 Jan 2026 07:25PM UTC drakenclimber github
56.22
16274360949 main ftests/cgroup: Add timeout to cgrulesengd cgrulesengd -n (nodaemon mode) runs indefinitely until it is terminated with SIGKILL. To handle this, introduce a 20-second timeout that is passed to __run(), which in turn calls subproc.kill() to termina... push 14 Jul 2025 06:08PM UTC drakenclimber github
56.18
16273229335 main ftests: Fix false positive in 013 testcase Fix the false positive in the testcase number 013, the return value should be by default TEST_FAILED, instead of TEST_PASSED. The flow of the testcase is designed to set the return value to TEST_PASSED o... push 14 Jul 2025 05:13PM UTC drakenclimber github
56.22
16178979042 main api.c: prevent array out-of-bounds access in cgroup_parse_rules_file In the function src/api.c/cgroup_parse_rules_file, the condition of loop: for (i = 0; lst->tail->controllers[i]; i++) cgroup_dbg(" %s", lst->tail->controllers[i]); all... push 09 Jul 2025 08:01PM UTC drakenclimber github
54.02
15215071854 main tests: fix checking wrong result in 017-API_fuzz_test There seem to be various calls to cgroup_add_controller where the result isn't validated, instead checking the cgrp pointer. We could add two asserts in each place being changed here if the c... push 23 May 2025 04:39PM UTC drakenclimber github
56.22
14885439003 main ftests: Add a test for the memory abstraction layer Add a test for the memory abstraction layer abstractions. Currently only supports: memory.max <-> memory.limit_in_bytes memory.high <-> memory.soft_limit_in_bytes ------... push 07 May 2025 02:09PM UTC kamalesh-babulal github
56.16
14407600166 main github: dist: Rework the unit tests Add a configure option to enable/disable the unit tests. Because of their dependency upon googletest, they're very difficult to run for distros. This allows them to packaged with libcgroup, but they are disable... push 11 Apr 2025 04:23PM UTC kamalesh-babulal github
56.09
See All Builds (1033)
  • 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