[3867] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: NetKit-B-0.07 telnetd bug

daemon@ATHENA.MIT.EDU (David Holland)
Fri Jul 26 10:14:29 1996

From: David Holland <dholland@hcs.harvard.edu>
To: jlewis@inorganic5.fdt.net (Jon Lewis)
Date: 	Fri, 26 Jul 1996 00:44:46 -0400 (EDT)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960725121606.15516j@inorganic5.chem.ufl.edu> from "Jon Lewis" at Jul 25, 96 01:05:56 pm

 > This is a somewhat annoying bug that I first found in the procps (0.99a 
 > and 1.01) mknewpty script.  

Why is procps circulating a makedev script...? 

 >                 * the fourth letter is one of pqrstuvwxyzabcde indicating
 >                   the 1st through 16th series of 16 pseudo-ttys each, and

This has been fixed. I applied the patch that's been sitting on the
archives, obviously without checking it quite carefully enough.

 > -               *p1 = "pqrstuvwxyzABCDE"[i];
 > +               *p1 = "abcdetuvwxyzpqrs"[i];
 >                 *p2 = '0';
 >                 if (stat(line, &stb) < 0)
 > -                       break;
 > +                       continue;

I did this, except that I didn't reorder the ptys. If rlogind isn't
doing the right thing, send a patch for forkpty(3) to HJL - it's a
libc issue.

There will be another release of netkit fixing this and a couple other
bugs.

-- 
   - David A. Holland          | Number of words in the English language that
     dholland@hcs.harvard.edu  | exist because of typos or misreadings: 381


home help back first fref pref prev next nref lref last post