summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
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;