projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60cf7c5
)
capabilities: add description for CAP_SETFCAP
author
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 2 Jun 2020 09:17:28 +0000
(10:17 +0100)
committer
James 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
patch
|
blob
|
history
diff --git
a/include/uapi/linux/capability.h
b/include/uapi/linux/capability.h
index 240fdb9a60f6851f4f129b2fbb1af5775841abcb..877972fdfda3a0ab9e101c01454f7cd9cf3186da 100644
(file)
--- a/
include/uapi/linux/capability.h
+++ b/
include/uapi/linux/capability.h
@@
-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.