From ebbcaa0c560a3eb9440007993ed3b3ea9825daca Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 7 Sep 1996 00:14:20 +0000 Subject: [PATCH] Don't allow the environment variable RESOLV_HOST_CONF to be set for Linux's sake. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9057 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnetd/ChangeLog | 5 +++++ src/appl/telnet/telnetd/state.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index 0729c1e17..ceee5a4ff 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 19 23:22:55 1996 Theodore Y. Ts'o + + * state.c (envvarok): Don't allow the environment variable + RESOLV_HOST_CONF to be set for Linux's sake. + Thu Jun 13 17:05:17 1996 Sam Hartman * telnetd.8: Remove documentation of desupported -u options. diff --git a/src/appl/telnet/telnetd/state.c b/src/appl/telnet/telnetd/state.c index c398db214..16e71d470 100644 --- a/src/appl/telnet/telnetd/state.c +++ b/src/appl/telnet/telnetd/state.c @@ -1659,6 +1659,7 @@ static int envvarok(varp) strcmp(varp, "KRB_CONF") && /* cns v4 */ strcmp(varp, "KRB_REALMS") && /* cns v4 */ strcmp(varp, "LIBPATH") && /* AIX */ + strcmp(varp, "RESOLV_HOST_CONF") && /* linux */ strcmp(varp, "IFS")) { return 1; } else { -- 2.26.2