Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: linux-ipsec: Latest snapshot and 2.0.35

From: Michael H. Warfield <mhw(at)alcove.wittsend.com>
Date: Wed Jul 29 1998 - 16:05:05 EDT


Richard Guy Briggs enscribed thusly:
> > I'm not keen on #ifdef __KERNEL__, and want to explore a bit in hopes of

> Awaiting your exploration...

        Another point on the curve... I'm not sure what your workaround was for the strcpy issue but I looked at what the other kernel sources are doing. The kernel has optimized in-line assembler in <asm/string.h> and called out of <linux/string.h>. I just tried switching the freeswan lib routines from <netinet/in.h> to <linux/in.h> and from <string.h> to <linux/string.h> and that covered all three problems, the htonl, the ntohl, and the strcpy. If we switch those two header files when compiling for the kernel, we deal with both the strcpy problem with the library and the GLIBC problem with the macros...

        My two cents...

> > Henry Spencer

        Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  
http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
Received on Wed Jul 29 18:11:28 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library