Searched refs:_PATH_RESCONF (Results 1 – 9 of 9) sorted by relevance
/openbsd/sbin/resolvd/ |
H A D | resolvd.c | 48 #define _PATH_RESCONF "/etc/resolv.conf" macro 224 if (unveil(_PATH_RESCONF, "rwc") == -1) in main() 225 lerr(1, "unveil " _PATH_RESCONF); in main() 631 resolvfd = open(_PATH_RESCONF, O_RDWR); in regen_resolvconf() 684 if (rename(_PATH_RESCONF_NEW, _PATH_RESCONF) == -1) in regen_resolvconf() 689 resolvfd = open(_PATH_RESCONF, O_RDWR); in regen_resolvconf()
|
/openbsd/include/ |
H A D | resolv.h | 111 #ifndef _PATH_RESCONF 112 #define _PATH_RESCONF "/etc/resolv.conf" macro
|
/openbsd/usr.sbin/tcpdrop/ |
H A D | tcpdrop.c | 66 if (unveil(_PATH_RESCONF, "r") == -1) in main() 67 err(1, "unveil %s", _PATH_RESCONF); in main()
|
/openbsd/sbin/pflogd/ |
H A D | privsep.c | 136 if (unveil(_PATH_RESCONF, "r") == -1) in priv_init() 137 err(1, "unveil %s", _PATH_RESCONF); in priv_init()
|
/openbsd/lib/libc/asr/ |
H A D | asr.c | 446 DPRINT("asr: checking for update of \"%s\"\n", _PATH_RESCONF); in asr_check_reload() 447 if (stat(_PATH_RESCONF, &st) == -1 || in asr_check_reload() 454 if (asr_ctx_from_file(ac, _PATH_RESCONF) == -1) { in asr_check_reload()
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_subr.c | 93 if ((filep = priv_fopen(_PATH_RESCONF)) == NULL) in load_resolv_conf()
|
/openbsd/regress/sbin/ifconfig/ |
H A D | ifaddr.c | 326 if (unveil(_PATH_RESCONF, "r") == -1) in main() 327 err(1, "unveil %s", _PATH_RESCONF); in main()
|
/openbsd/usr.bin/dig/ |
H A D | dighost.c | 1156 lwresult = lwres_conf_parse(lwconf, _PATH_RESCONF); in setup_system() 1158 fatal("parse of %s failed", _PATH_RESCONF); in setup_system()
|
/openbsd/sbin/ifconfig/ |
H A D | ifconfig.c | 836 if (unveil(_PATH_RESCONF, "r") == -1) in main() 837 err(1, "unveil %s", _PATH_RESCONF); in main()
|