Home
last modified time | relevance | path

Searched refs:_PATH_RESCONF (Results 1 – 9 of 9) sorted by relevance

/openbsd/sbin/resolvd/
H A Dresolvd.c48 #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 Dresolv.h111 #ifndef _PATH_RESCONF
112 #define _PATH_RESCONF "/etc/resolv.conf" macro
/openbsd/usr.sbin/tcpdrop/
H A Dtcpdrop.c66 if (unveil(_PATH_RESCONF, "r") == -1) in main()
67 err(1, "unveil %s", _PATH_RESCONF); in main()
/openbsd/sbin/pflogd/
H A Dprivsep.c136 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 Dasr.c446 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 Dnpppd_subr.c93 if ((filep = priv_fopen(_PATH_RESCONF)) == NULL) in load_resolv_conf()
/openbsd/regress/sbin/ifconfig/
H A Difaddr.c326 if (unveil(_PATH_RESCONF, "r") == -1) in main()
327 err(1, "unveil %s", _PATH_RESCONF); in main()
/openbsd/usr.bin/dig/
H A Ddighost.c1156 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 Difconfig.c836 if (unveil(_PATH_RESCONF, "r") == -1) in main()
837 err(1, "unveil %s", _PATH_RESCONF); in main()