summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-28 21:28:59 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-28 21:28:59 +0800
commit9bbce01e1b9d6b42869bbba9f36d6849a42276fe (patch)
treec9b9503211280a5ff84bff15e9e482137c8a4404 /runopts.h
parent5df73215f887bbc4ebd122e725fe5497d92f511f (diff)
parentbbe02dc3cfd5f0367a43dac6521afc65254d74a8 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runopts.h b/runopts.h
index 67d5c48..3123383 100644
--- a/runopts.h
+++ b/runopts.h
@@ -92,8 +92,14 @@ typedef struct svr_runopts {
#endif
int norootlogin;
+
+#ifdef HAVE_GETGROUPLIST
+ /* restrict_group is the group name if group restriction was enabled,
+ NULL otherwise */
char *restrict_group;
+ /* restrict_group_gid is only valid if restrict_group is set */
gid_t restrict_group_gid;
+#endif
int noauthpass;
int norootpass;