[3868] 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 (Jon Lewis)
Fri Jul 26 10:43:56 1996

Date: 	Fri, 26 Jul 1996 01:33:24 -0400 (EDT)
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: David Holland <dholland@hcs.harvard.edu>
cc: linux-net@vger.rutgers.edu
In-Reply-To: <199607260444.AAA22334@hcs.HARVARD.EDU>

On Fri, 26 Jul 1996, David Holland wrote:

>  > 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...? 

No idea.  It's actually mknewpty, and is just for making new tty/pty devices.
Actually, I've found numerous bugs in procps-1.01, made some diffs, 
emailed them to the address listed in the BUGS file, and never heard back.

> 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];

I wonder how many other programs did this?

> 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.

I downloaded libc source, but I can't find the forkpty function in it.  
The rlogind I have compiled from NetKit-B-0.07 still runs out at ttysf, 
so I assume it's the forkpty() in libbsd that needs adjusting.

------------------------------------------------------------------
 Jon Lewis                      |  Mime attachments are OK
 jlewis@inorganic5.fdt.net      |  But please ask before sending 
 http://inorganic5.fdt.net      |  unsolicited huge files.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


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