Skip to contentSkip to conversation

capabilities: add description for CAP_SETFCAP

PATCH In review Stefan Hajnoczi 2 participants 2 messages Jun 2, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 capabilities: add description for CAP_SETFCAP

Document the purpose of CAP_SETFCAP. For some reason this capability had no description while the others did.

---
v2:
* Rebased onto git master

 include/uapi/linux/capability.h | 2 ++
 1 file changed, 2 insertions(+)
include/uapi/linux/capability.h +2 -0
index e58c9636741b..c4532b0fe00f 100644
@@ -332,6 +332,8 @@ struct vfs_ns_cap_data {
 
 #define CAP_AUDIT_CONTROL    30
 
+/* Set or remove capabilities on files */
+
 #define CAP_SETFCAP	     31
 
 /* Override MAC access.
Signature · 1 line
2.25.4
maintainer
#1 lore raw
Quoted 4 lines · Stefan Hajnoczi

Document the purpose of CAP_SETFCAP. For some reason this capability had no description while the others did.

Thanks.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general

Signature · 2 lines
James Morris
<[email protected]>