]> git.baikalelectronics.ru Git - kernel.git/commitdiff
capabilities: add description for CAP_SETFCAP
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 2 Jun 2020 09:17:28 +0000 (10:17 +0100)
committerJames Morris <jmorris@namei.org>
Tue, 2 Jun 2020 23:22:46 +0000 (16:22 -0700)
Document the purpose of CAP_SETFCAP.  For some reason this capability
had no description while the others did.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/uapi/linux/capability.h

index 240fdb9a60f6851f4f129b2fbb1af5775841abcb..877972fdfda3a0ab9e101c01454f7cd9cf3186da 100644 (file)
@@ -331,6 +331,8 @@ struct vfs_ns_cap_data {
 
 #define CAP_AUDIT_CONTROL    30
 
+/* Set or remove capabilities on files */
+
 #define CAP_SETFCAP         31
 
 /* Override MAC access.