diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-14 22:29:30 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-14 22:29:30 +0100 |
commit | 6b9c59efc9db4aa710d7c243d566973006020d42 (patch) | |
tree | f8da5b18b935f603b72eb37898f57a9df19369e1 /src/fastd.h | |
parent | ba3afc50b3819694f009adc6db5a966f524242f6 (diff) | |
download | fastd-6b9c59efc9db4aa710d7c243d566973006020d42.tar fastd-6b9c59efc9db4aa710d7c243d566973006020d42.zip |
Refactor handling of platforms without user/group settings (Android)
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index fc4acd1..f46e221 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -204,6 +204,7 @@ struct fastd_config { fastd_drop_caps_t drop_caps; /**< Specifies if and when to drop capabilities */ +#ifdef USE_USER char *user; /**< Specifies which user to switch to after initialization */ char *group; /**< Can specify an alternative group to switch to */ @@ -211,6 +212,7 @@ struct fastd_config { gid_t gid; /**< The GID of the configured group */ size_t n_groups; /**< The number of supplementary groups of the user */ gid_t *groups; /**< The supplementary groups of the configured user */ +#endif const fastd_protocol_t *protocol; /**< The handshake protocol */ fastd_string_stack_t *method_list; /**< The list of configured method names */ |