diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-27 21:49:10 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-27 21:49:10 +0800 |
commit | 6eabc0fe87b9e4a72ea0f919ab549d3fff7cb68d (patch) | |
tree | d98e62a1a4c129ce2883e91a211bc2275688e40d /runopts.h | |
parent | bf6f04cbe6b0fd712169223948b88eebe87f40cf (diff) |
add guard HAVE_GETGROUPLIST
Diffstat (limited to 'runopts.h')
-rw-r--r-- | runopts.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |