Searched refs:_PATH_RESCONF (Results 1 - 10 of 10) sorted by path

/openbsd-current/include/
H A Dresolv.h111 #ifndef _PATH_RESCONF
112 #define _PATH_RESCONF "/etc/resolv.conf" macro
/openbsd-current/lib/libc/asr/
H A Dasr.c446 DPRINT("asr: checking for update of \"%s\"\n", _PATH_RESCONF);
447 if (stat(_PATH_RESCONF, &st) == -1 ||
454 if (asr_ctx_from_file(ac, _PATH_RESCONF) == -1) {
/openbsd-current/regress/sbin/ifconfig/
H A Difaddr.c326 if (unveil(_PATH_RESCONF, "r") == -1)
327 err(1, "unveil %s", _PATH_RESCONF);
/openbsd-current/sbin/dhclient/
H A Ddhclient.c2358 if (unveil(_PATH_RESCONF, "wc") == -1)
2359 fatal("unveil %s", _PATH_RESCONF);
/openbsd-current/sbin/ifconfig/
H A Difconfig.c835 if (unveil(_PATH_RESCONF, "r") == -1)
836 err(1, "unveil %s", _PATH_RESCONF);
/openbsd-current/sbin/pflogd/
H A Dprivsep.c136 if (unveil(_PATH_RESCONF, "r") == -1)
137 err(1, "unveil %s", _PATH_RESCONF);
/openbsd-current/sbin/resolvd/
H A Dresolvd.c48 #define _PATH_RESCONF "/etc/resolv.conf" macro
224 if (unveil(_PATH_RESCONF, "rwc") == -1)
225 lerr(1, "unveil " _PATH_RESCONF);
631 resolvfd = open(_PATH_RESCONF, O_RDWR);
684 if (rename(_PATH_RESCONF_NEW, _PATH_RESCONF) == -1)
689 resolvfd = open(_PATH_RESCONF, O_RDWR);
/openbsd-current/usr.bin/dig/
H A Ddighost.c1156 lwresult = lwres_conf_parse(lwconf, _PATH_RESCONF);
1158 fatal("parse of %s failed", _PATH_RESCONF);
/openbsd-current/usr.sbin/npppd/npppd/
H A Dnpppd_subr.c79 * The path of resolv.conf is taken from _PATH_RESCONF in resolv.h.
93 if ((filep = priv_fopen(_PATH_RESCONF)) == NULL)
/openbsd-current/usr.sbin/tcpdrop/
H A Dtcpdrop.c66 if (unveil(_PATH_RESCONF, "r") == -1)
67 err(1, "unveil %s", _PATH_RESCONF);

Completed in 395 milliseconds