summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
Diffstat (limited to 'privs.h')
-rw-r--r--privs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/privs.h b/privs.h
new file mode 100644
index 0000000..9f9cfdd
--- /dev/null
+++ b/privs.h
@@ -0,0 +1,8 @@
+#ifndef PRIVS_H
+#define PRIVS_H
+
+#include <stdbool.h>
+
+extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);
+
+#endif /* PRIVS_H */