diff runopts.h @ 1557:61a793b6e471 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Feb 2018 21:28:59 +0800
parents bb8eaa26bc93 1acbdf64088e
children 21dabe66f2c8
line wrap: on
line diff
--- a/runopts.h	Mon Feb 26 22:44:48 2018 +0800
+++ b/runopts.h	Wed Feb 28 21:28:59 2018 +0800
@@ -92,8 +92,14 @@
 #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;