Skip to contentSkip to conversation

lapi/capability.h: Add CAP_SYS_RESOURCE

PATCH New Cyril Hrubis 1 participant 1 message Mar 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lapi/capability.h: Add CAP_SYS_RESOURCE

---
 include/lapi/capability.h | 4 ++++
 1 file changed, 4 insertions(+)
include/lapi/capability.h +4 -0
index edc315e6d..fde27efd3 100644
@@ -36,6 +36,10 @@
 # define CAP_AUDIT_READ       37
 #endif
 
+#ifndef CAP_SYS_RESOURCE
+# define CAP_SYS_RESOURCE     24
+#endif
+
 #ifndef CAP_TO_INDEX
 # define CAP_TO_INDEX(x)     ((x) >> 5)
 #endif
Signature · 1 line
2.24.1