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

drakenclimber / libcgroup / 12753541746
59%
main: 56%

Build:
Build:
LAST BUILD BRANCH: alert-autofix-11
DEFAULT BRANCH: main
Ran 13 Jan 2025 06:22PM UTC
Jobs 5
Files 38
Run time 1min
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

13 Jan 2025 06:20PM UTC coverage: 59.475%. First build
12753541746

push

github

drakenclimber
api: Add extra debugging when matching rule to a group

In the context of a group rule (i.e. indicated by '@' used to prefix the
actual group name), getgrnam(3) is used to provide a pointer to a group
file entry that may contain a NULL-terminated array of pointers to group
members. A user can belong to multiple groups. With this information, we
then check the username that corresponds to the specified UID against
each group member for a match. This patch makes it possible to see this
information if debug level logging is enabled.

Use the new cgroup_get_loglevel() API to optimize the rule loop to
minimize performance impacts.

Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

1 of 10 new or added lines in 1 file covered. (10.0%)

5872 of 9873 relevant lines covered (59.48%)

1116.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
63.39
src/api.c
Jobs
ID Job ID Ran Files Coverage
1 Cgroup v2 Functional Tests - 12753541746.1 13 Jan 2025 06:24PM UTC 27
45.79
GitHub Action Run
2 Cgroup v1/v2 Functional Tests - 12753541746.2 13 Jan 2025 06:26PM UTC 26
53.86
GitHub Action Run
3 Unit Tests - 12753541746.3 13 Jan 2025 06:22PM UTC 35
10.75
GitHub Action Run
4 Cgroup v1 Functional Tests - 12753541746.4 13 Jan 2025 06:24PM UTC 26
44.31
GitHub Action Run
5 No systemd Functional Tests - 12753541746.5 13 Jan 2025 06:23PM UTC 26
49.36
GitHub Action Run
Source Files on build 12753541746
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 614ef7fb on github
  • Next Build on extra-logging (#12754140765)
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