Searched refs:_PATH_RESCONF (Results 1 - 10 of 10) sorted by path
/openbsd-current/include/ |
H A D | resolv.h | 111 #ifndef _PATH_RESCONF 112 #define _PATH_RESCONF "/etc/resolv.conf" macro
|
/openbsd-current/lib/libc/asr/ |
H A D | asr.c | 446 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 D | ifaddr.c | 326 if (unveil(_PATH_RESCONF, "r") == -1) 327 err(1, "unveil %s", _PATH_RESCONF);
|
/openbsd-current/sbin/dhclient/ |
H A D | dhclient.c | 2358 if (unveil(_PATH_RESCONF, "wc") == -1) 2359 fatal("unveil %s", _PATH_RESCONF);
|
/openbsd-current/sbin/ifconfig/ |
H A D | ifconfig.c | 835 if (unveil(_PATH_RESCONF, "r") == -1) 836 err(1, "unveil %s", _PATH_RESCONF);
|
/openbsd-current/sbin/pflogd/ |
H A D | privsep.c | 136 if (unveil(_PATH_RESCONF, "r") == -1) 137 err(1, "unveil %s", _PATH_RESCONF);
|
/openbsd-current/sbin/resolvd/ |
H A D | resolvd.c | 48 #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 D | dighost.c | 1156 lwresult = lwres_conf_parse(lwconf, _PATH_RESCONF); 1158 fatal("parse of %s failed", _PATH_RESCONF);
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | npppd_subr.c | 79 * 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 D | tcpdrop.c | 66 if (unveil(_PATH_RESCONF, "r") == -1) 67 err(1, "unveil %s", _PATH_RESCONF);
|
Completed in 395 milliseconds