[Bug 220610] Expose _PATH_RESCONF as __res_conf_name for improved determinism of lib/libc/resolv
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 15:53:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220610
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=702c24ccc0c208e9bc697e775abe47ff723e3012
commit 702c24ccc0c208e9bc697e775abe47ff723e3012
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-06-28 09:37:40 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-29 13:49:20 +0000
libc/resolv: Export __res_conf_name
Add a new global variable, __res_conf_name, which is initialized to
_PATH_RESCONF and used in its place by res_init(). This allows test
programs (and applications) to select a different configuration file
to read instead of /etc/resolv.conf.
PR: 220610
lib/libc/resolv/Symbol.map | 4 ++++
lib/libc/resolv/res_init.c | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.