Drop unused NOLEGACY define
}
char **strv_env_unset_many(char **l, ...) {
-
char **f, **t;
if (!l)
}
char **strv_env_set(char **x, const char *p) {
-
_cleanup_strv_free_ char **ret = NULL;
size_t n, m;
char **k;
}
bool synthesize_nobody(void) {
-
-#ifdef NOLEGACY
- return true;
-#else
/* Returns true when we shall synthesize the "nobody" user (which we do by default). This can be turned off by
* touching /etc/systemd/dont-synthesize-nobody in order to provide upgrade compatibility with legacy systems
* that used the "nobody" user name and group name for other UIDs/GIDs than 65534.
cache = access("/etc/systemd/dont-synthesize-nobody", F_OK) < 0;
return cache;
-#endif
}
int putpwent_sane(const struct passwd *pw, FILE *stream) {