Searched refs:ent_pw (Results 1 - 3 of 3) sorted by relevance

/external/dnsmasq/src/
H A Dlog.c57 int log_start(struct passwd *ent_pw, int errfd) argument
97 if (log_to_file && ent_pw && ent_pw->pw_uid != 0 &&
98 fchown(log_fd, ent_pw->pw_uid, -1) != 0)
H A Ddnsmasq.c129 struct passwd *ent_pw = NULL; local
230 if ((ent_pw = getpwnam(daemon->scriptuser)))
232 script_uid = ent_pw->pw_uid;
233 script_gid = ent_pw->pw_gid;
240 if (daemon->username && !(ent_pw = getpwnam(daemon->username)))
251 if (!(gp = getgrnam(CHGRP)) && ent_pw)
252 gp = getgrgid(ent_pw->pw_gid);
262 if (ent_pw && ent_pw->pw_uid != 0)
376 log_err = log_start(ent_pw, err_pip
[all...]
H A Ddnsmasq.h717 int log_start(struct passwd *ent_pw, int errfd);

Completed in 142 milliseconds