Lennart Poettering on Nostr: … and have been supported like this for a long time. With v257 we extend the ...
… and have been supported like this for a long time. With v257 we extend the "systemd-analyze capability" command with one new option: if the new --mask switch is specified, it accepts a numeric capability mask as parameter, instead of a simple capability name or number. It will then decode it and show a list of all included capabilities.
What is this useful for you ask? In /proc/$PID/status you find a process' capabilities encoded in various CapXYZ fields, for example CapBnd for the…
Published at
2024-12-11 09:22:47Event JSON
{
"id": "bd75248a9ac2c500b679f9bbce1de51fb04f5ddacc84a651d7f1ff7896bbfd15",
"pubkey": "1d95c32d9a9d95a54f98eb2eaa156f3d3a71dc49eca2c960b2b89962758f1cc0",
"created_at": 1733908967,
"kind": 1,
"tags": [
[
"e",
"5d5d98afb1a53f94e28dfe1b8cb4424f2c6a45ec9deb179a514b8f755cbdd606",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/pid_eins/statuses/113633458091308386",
"activitypub"
]
],
"content": "… and have been supported like this for a long time. With v257 we extend the \"systemd-analyze capability\" command with one new option: if the new --mask switch is specified, it accepts a numeric capability mask as parameter, instead of a simple capability name or number. It will then decode it and show a list of all included capabilities.\n\nWhat is this useful for you ask? In /proc/$PID/status you find a process' capabilities encoded in various CapXYZ fields, for example CapBnd for the…",
"sig": "fa02ae58bea3ef6e52c5d8e1e0555e8261e00dd6491ddab53679f249c2c043f93af1ce2a85f61a397bbe66aa014a93f61327f168188d7eca789284f540ac6c40"
}