Subject: Re: adding __libc_read et al?
To: None <tech-userlevel@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-userlevel
Date: 01/03/2000 15:26:45
[ On Saturday, January 1, 2000 at 01:04:10 (-0500), Todd Vierling wrote: ]
> Subject: Re: adding __libc_read et al?
>
> On Sat, 1 Jan 2000, Simon J. Gerraty wrote:
> : 
> : My libsslfd would use them if available.
> : It contains evil magic to hook read(),write() etc so that stdio can have 
> : SSL transport shoved underneath - works a treat for ftp/ftpd.

I would advise looking at SFIO (pkgsrc/devel/sfio).

It is, as I understand it, designed to allow for wedges like this to be
implemented, and it has STDIO-compatible front-end.  This combination
should allow one to transparently insert something like an SSL transport
between a STDIO-using application and the low-level OS system calls.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>