aboutsummaryrefslogtreecommitdiff
path: root/runit/uidgid.h
diff options
context:
space:
mode:
Diffstat (limited to 'runit/uidgid.h')
-rw-r--r--runit/uidgid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/runit/uidgid.h b/runit/uidgid.h
new file mode 100644
index 000000000..1d47fe620
--- /dev/null
+++ b/runit/uidgid.h
@@ -0,0 +1,14 @@
+#ifndef UIDGID_H
+#define UIDGID_H
+
+#include <sys/types.h>
+
+struct uidgid {
+ uid_t uid;
+ gid_t gid[61];
+ int gids;
+};
+
+extern unsigned uidgid_get(struct uidgid *, char *, unsigned);
+
+#endif