You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used in defining file: Yes (line 124, within filterCapDrop() function)
Used outside defining file: No
Verification status:used_outside_defining_file=0_files (confirmed by automated audit)
Impact
Dead Code Risk: Medium-High (Score: 3/5)
This is a 52-line capability map containing Linux kernel capability names and bit positions that is exported but never imported by any other module. The export serves no external API purpose.
Security Context
The file handles Linux capability filtering for container security, a critical security boundary. Dead exports in security-critical modules increase attack surface unnecessarily.
Root Cause
The constant was likely exported initially for testing or potential future use, but:
Tests import the public functions (filterCapDrop, filterComposeCapDrop) instead
No other modules need direct access to the capability map
The constant serves as an internal implementation detail of filterCapDrop()
Activity