Bug 212451
Summary: | Add an --explain=cap_foo option to capsh | ||
---|---|---|---|
Product: | Tools | Reporter: | Andrew G. Morgan (morgan) |
Component: | libcap | Assignee: | Andrew G. Morgan (morgan) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | n/a | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Andrew G. Morgan
2021-03-26 19:41:13 UTC
If the specific named capability is not supported by one or both of libcap and the running kernel, the output should indicate this with the attribute: "reserved" = libcap knows a name, but the running kernel doesn't support it "unsupported" = libcap and the running kernel do not support this value "unnamed" = the kernel supports this, but libcap doesn't know its name Fixed with: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=cf6ddafe1d34d84e7a30b0b497c6174fc93ba074 Still need to update capsh man page. Documentation update as per: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=13b97f953cb9a4bf50527b1d5c1d98ec96fb8ef4 |