summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-01-04 16:25:31 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-01-04 16:25:31 +0100
commit9b2140040471136e99e13806d0d4f88ccd8863fa (patch)
tree8b3081a4e3f6233e9d2627a1bbf7b22a9e59c0a5 /src/fastd.h
parent6aa3b1b12ae4b753d384472f3935d5e66584a518 (diff)
downloadfastd-9b2140040471136e99e13806d0d4f88ccd8863fa.tar
fastd-9b2140040471136e99e13806d0d4f88ccd8863fa.zip
Set supplementary groups
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index df84c97..5323c1c 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -199,8 +199,11 @@ struct fastd_config {
char *user;
char *group;
+
uid_t uid;
gid_t gid;
+ size_t n_groups;
+ gid_t *groups;
const fastd_protocol_t *protocol;
const fastd_method_t *methods[MAX_METHODS];