diff options
Diffstat (limited to '')
-rw-r--r-- | src/master/capabilities.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/master/capabilities.h b/src/master/capabilities.h new file mode 100644 index 0000000..133eb62 --- /dev/null +++ b/src/master/capabilities.h @@ -0,0 +1,14 @@ +#ifndef CAPABILITIES_H +#define CAPABILITIES_H + +#if defined(HAVE_LIBCAP) + +void drop_capabilities(void); + +#else + +static inline void drop_capabilities(void) {} + +#endif + +#endif |