[v2] capabilities: add description for CAP_SETFCAP
diff mbox series

Message ID 20200602091728.10843-1-stefanha@redhat.com
State New
Headers show
Series
  • [v2] capabilities: add description for CAP_SETFCAP
Related show

Commit Message

Stefan Hajnoczi June 2, 2020, 9:17 a.m. UTC
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>
---
v2:
 * Rebased onto git master

 include/uapi/linux/capability.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

James Morris June 2, 2020, 11:25 p.m. UTC | #1
On Tue, 2 Jun 2020, Stefan Hajnoczi wrote:

> 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>

Thanks.

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

Patch
diff mbox series

diff --git a/include/uapi/linux/capability.h b/include/uapi/linux/capability.h
index e58c9636741b..c4532b0fe00f 100644
--- a/include/uapi/linux/capability.h
+++ b/include/uapi/linux/capability.h
@@ -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.