Don't allow the environment variable RESOLV_HOST_CONF to be set for
authorTheodore Tso <tytso@mit.edu>
Sat, 7 Sep 1996 00:14:20 +0000 (00:14 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 7 Sep 1996 00:14:20 +0000 (00:14 +0000)
Linux's sake.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9057 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/state.c

index 0729c1e171649cf2d78620ea691a28c5b190d0c6..ceee5a4ffbedad43968898d5bc92629926c6da31 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug 19 23:22:55 1996  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * 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  <hartmans@mit.edu>
 
        * telnetd.8: Remove documentation of  desupported -u options.
index c398db214b4514825b7471cc1058c93465ccb56c..16e71d470fbae565c12e0c6ff57bcb3c1c92613a 100644 (file)
@@ -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 {