Searched refs:cfg_uid (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/unbound/daemon/ |
| H A D | unbound.c | 502 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1 && in perform_setup() 505 if(chown(daemon->pidfile, cfg_uid, cfg_gid) == -1) { in perform_setup() 507 (unsigned)cfg_uid, (unsigned)cfg_gid, in perform_setup() 520 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) { in perform_setup() 525 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) in perform_setup() 587 if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) { in perform_setup() 607 if(setresuid(cfg_uid,cfg_uid,cfg_uid) != 0) in perform_setup() 609 if(setreuid(cfg_uid,cfg_uid) != 0) in perform_setup() 611 if(setuid(cfg_uid) != 0) in perform_setup()
|
| H A D | remote.c | 298 cfg_uid != (uid_t)-1) { in add_open() 299 if(chown(ip, cfg_uid, cfg_gid) == -1) in add_open() 301 (unsigned)cfg_uid, (unsigned)cfg_gid, in add_open()
|
| /freebsd-12.1/contrib/unbound/util/ |
| H A D | config_file.h | 596 extern uid_t cfg_uid;
|
| H A D | config_file.c | 74 uid_t cfg_uid = (uid_t)-1; variable 2014 cfg_uid = pwd->pw_uid; in config_lookup_uid()
|