Skip to content

Conversation

@pineapplehunter
Copy link

@pineapplehunter pineapplehunter commented Oct 1, 2025

This will add custom formatting to "security.capability" attribute.
Adds capctl as a dependency only for Linux.

I’m new to this code base, so please let me know if there’s anything I should adjust or improve.

fixes #1219

Here is a comparison of the output of ping on ubuntu.
Before:

.rwxr-xr-x@   90k root 25/07/24 20:51 󰡯 /usr/bin/ping
                                      └── security.capability: "\u{1}\0\0\u{2}\0 "

After:

.rwxr-xr-x@  90k root 25/07/24 20:51 󰡯 /usr/bin/ping
                                     └── security.capability: <cap_net_raw=ep>

This will add custom formatting to "security.capability" attribute.
Adds capctl as a dependency only for linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for POSIX 1003.1e capabilities

1 participant