[Openswan dev] Re: [Openswan CVS] openswan-2/linux/net/ipsec addrtot.c,1.16,1.17

Michael Richardson mcr at sandelman.ottawa.on.ca
Sat Sep 18 16:23:30 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "CaT" == CaT  <cat at zip.com.au> writes:
    >> Update of /xelerance/master/openswan-2/linux/net/ipsec In
    >> directory tla.xelerance.com:/tmp/cvs-serv16128/linux/net/ipsec
    >> 
    >> Modified Files: addrtot.c Log Message: use local copy of strstr()
    >> if this is going in the kernel.  Not clear why this worked
    >> before, or why this shows up for modules only.
    >> 
    >> +#if defined(__KERNEL__) && !defined(KERNEL_HAS_STRSTR)

    CaT> If I understand this right, openswan only wants to define its
    CaT> strstr if the kernel it's being compiled for doesn't have one
    CaT> already supplied. If so then __HAVE_ARCH_STRSTR would be the
    CaT> appropriate thing to check for rather then KERNEL_HAS_STRSTR,
    CaT> no?

  Thanks. I appreciate knowing about that symbol.
  I didn't know about it.
  Where is it defined?

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr at xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQUyLMIqHRg3pndX9AQGcmQP/XMa4gz3gALf5xWoS/W9b1Hvhq9U613Ia
erEpBnwLzzxPOtTZM2FaiCLVKMsqWlwrzOHUo7Td8ATlp4pp8haEanb2ql0eSQyc
Gl0KFK653bda+uJYbqPxGeoJwRqqzSlbIMics7Ujzo9uXr+tydMrxtbj1tvAuTA7
I8IdlsFtwIo=
=tmF8
-----END PGP SIGNATURE-----


More information about the Dev mailing list