Home
last modified time | relevance | path

Searched refs:ent_pw (Results 1 – 4 of 4) sorted by relevance

/external/dnsmasq/src/
Ddnsmasq.c72 struct passwd *ent_pw = NULL; in main() local
193 if ((ent_pw = getpwnam(daemon->scriptuser))) in main()
195 script_uid = ent_pw->pw_uid; in main()
196 script_gid = ent_pw->pw_gid; in main()
203 if (daemon->username && !(ent_pw = getpwnam(daemon->username))) in main()
214 if (!(gp = getgrnam(CHGRP)) && ent_pw) in main()
215 gp = getgrgid(ent_pw->pw_gid); in main()
225 if (ent_pw && ent_pw->pw_uid != 0) in main()
339 log_err = log_start(ent_pw, err_pipe[1]); in main()
362 if (ent_pw && ent_pw->pw_uid != 0) in main()
[all …]
Dlog.c57 int log_start(struct passwd *ent_pw, int errfd) in log_start() argument
97 if (log_to_file && ent_pw && ent_pw->pw_uid != 0 && in log_start()
98 fchown(log_fd, ent_pw->pw_uid, -1) != 0) in log_start()
Ddnsmasq.h728 int log_start(struct passwd *ent_pw, int errfd);
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch50 if (setuid(ent_pw->pw_uid) == -1)