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

drakenclimber / libcgroup / 12813845538
56%

Build:
DEFAULT BRANCH: main
Ran 16 Jan 2025 05:02PM 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

16 Jan 2025 04:55PM UTC coverage: 59.449% (-0.03%) from 59.481%
12813845538

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>
Acked-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>

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

5870 of 9874 relevant lines covered (59.45%)

1085.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
63.4
-0.13% src/api.c
Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1/v2 Functional Tests - 12813845538.1 16 Jan 2025 05:06PM UTC 26
53.83
GitHub Action Run
2 Cgroup v2 Functional Tests - 12813845538.2 16 Jan 2025 05:04PM UTC 27
45.77
GitHub Action Run
3 No systemd Functional Tests - 12813845538.3 16 Jan 2025 05:03PM UTC 26
49.4
GitHub Action Run
4 Unit Tests - 12813845538.4 16 Jan 2025 05:02PM UTC 35
10.75
GitHub Action Run
5 Cgroup v1 Functional Tests - 12813845538.5 16 Jan 2025 05:04PM UTC 26
44.29
GitHub Action Run
Source Files on build 12813845538
  • Tree
  • List 38
  • Changed 7
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9155a813 on github
  • Prev Build on main (#12790604973)
  • Next Build on main (#13140969669)
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