nss: use secure_getenv for behaviour-modifying booleans (#6817)

Follow up for fe102d6ab1.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-09-14 09:20:27 +02:00
committed by Lennart Poettering
parent fe102d6ab1
commit 71e0acccfd
4 changed files with 27 additions and 16 deletions
+1
View File
@@ -61,6 +61,7 @@ char *strv_env_get_n(char **l, const char *name, size_t k, unsigned flags) _pure
char *strv_env_get(char **x, const char *n) _pure_;
int getenv_bool(const char *p);
int getenv_bool_secure(const char *p);
int serialize_environment(FILE *f, char **environment);
int deserialize_environment(char ***environment, const char *line);