chiark / gitweb /
calendarspec: sub-second support, v3
[elogind.git] / src / basic / capability-util.c
index 0eb5c03d65601f6f457675f30564c084b0c5c80f..10ff16e42ba76f712b648e2f8b300f7b64791a9e 100644 (file)
@@ -34,6 +34,7 @@
 #include "parse-util.h"
 #include "util.h"
 
+#if 0 /// UNNEEDED by elogind
 int have_effective_cap(int value) {
         _cleanup_cap_free_ cap_t cap;
         cap_flag_value_t fv;
@@ -47,6 +48,7 @@ int have_effective_cap(int value) {
         else
                 return fv == CAP_SET;
 }
+#endif // 0
 
 unsigned long cap_last_cap(void) {
         static thread_local unsigned long saved;
@@ -95,6 +97,7 @@ unsigned long cap_last_cap(void) {
         return p;
 }
 
+#if 0 /// UNNEEDED by elogind
 int capability_bounding_set_drop(uint64_t drop, bool right_now) {
         _cleanup_cap_free_ cap_t after_cap = NULL;
         cap_flag_value_t fv;
@@ -305,3 +308,4 @@ int drop_capability(cap_value_t cv) {
 
         return 0;
 }
+#endif // 0