[LTP] [COMMITTED] [PATCH] lapi/capability.h: Add CAP_SYS_RESOURCE

Cyril Hrubis chrubis@suse.cz
Tue Mar 17 17:28:57 CET 2020


Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 include/lapi/capability.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/lapi/capability.h b/include/lapi/capability.h
index edc315e6d..fde27efd3 100644
--- a/include/lapi/capability.h
+++ b/include/lapi/capability.h
@@ -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
-- 
2.24.1



More information about the ltp mailing list