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

libcgroup / libcgroup / 12991983198
56%

Build:
DEFAULT BRANCH: main
Ran 27 Jan 2025 03:09PM 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

27 Jan 2025 03:07PM UTC coverage: 59.407% (-0.006%) from 59.413%
12991983198

push

github

drakenclimber
config: Fix data race reported in cgroup_config_insert_into_mount_table

Fix the following data race issue reported by Coverity:

CID 465888: (#1 of 1): Check of thread-shared field evades lock
acquisition (LOCK_EVASION):

"The data guarded by this critical section may be read while in an
inconsistent state or modified by multiple racing threads.

In cgroup_config_insert_into_mount_table: Checking the value of a
thread-shared field outside of a locked region to determine if a locked
operation involving that thread shared field has completed."

Fix it by moving the config_table_index value check too under the
config_table_lock.

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

0 of 3 new or added lines in 1 file covered. (0.0%)

5867 of 9876 relevant lines covered (59.41%)

1021.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
35.53
-0.03% src/config.c
Jobs
ID Job ID Ran Files Coverage
1 No systemd Functional Tests - 12991983198.1 27 Jan 2025 03:11PM UTC 26
49.29
GitHub Action Run
2 Cgroup v2 Functional Tests - 12991983198.2 27 Jan 2025 03:11PM UTC 27
45.76
GitHub Action Run
3 Unit Tests - 12991983198.3 27 Jan 2025 03:09PM UTC 35
10.75
GitHub Action Run
4 Cgroup v1 Functional Tests - 12991983198.4 27 Jan 2025 03:11PM UTC 26
44.31
GitHub Action Run
5 Cgroup v1/v2 Functional Tests - 12991983198.5 27 Jan 2025 03:13PM UTC 26
53.82
GitHub Action Run
Source Files on build 12991983198
  • Tree
  • List 38
  • Changed 8
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b4bc68c3 on github
  • Prev Build on main (#12951558575)
  • Next Build on main (#13080697162)
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