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

drakenclimber / libcgroup / 12754140765
59%
main: 56%

Build:
Build:
LAST BUILD BRANCH: alert-autofix-11
DEFAULT BRANCH: main
Ran 13 Jan 2025 07:00PM 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:58PM UTC coverage: 59.449% (-0.03%) from 59.475%
12754140765

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>

2 of 11 new or added lines in 1 file covered. (18.18%)

379 existing lines in 2 files now uncovered.

5870 of 9874 relevant lines covered (59.45%)

1108.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
63.4
0.01% src/api.c

Uncovered Existing Lines

Lines Coverage ∆ File
3
77.48
-1.99% src/tools/lscgroup.c
376
63.4
0.01% src/api.c
Jobs
ID Job ID Ran Files Coverage
1 Cgroup v2 Functional Tests - 12754140765.1 13 Jan 2025 07:03PM UTC 27
45.8
GitHub Action Run
2 Unit Tests - 12754140765.2 13 Jan 2025 07:00PM UTC 35
10.75
GitHub Action Run
3 Cgroup v1 Functional Tests - 12754140765.3 13 Jan 2025 07:03PM UTC 26
44.27
GitHub Action Run
4 No systemd Functional Tests - 12754140765.4 13 Jan 2025 07:01PM UTC 26
49.4
GitHub Action Run
5 Cgroup v1/v2 Functional Tests - 12754140765.5 13 Jan 2025 07:04PM UTC 26
53.83
GitHub Action Run
Source Files on build 12754140765
  • Tree
  • List 38
  • Changed 7
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 32162ff1 on github
  • Prev Build on extra-logging (#12753541746)
  • Next Build on extra-logging (#12790658150)
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