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

Michael Richardson mcr at sandelman.ottawa.on.ca
Mon Sep 20 00:53:28 CEST 2004


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


>>>>> "CaT" == CaT  <cat at zip.com.au> writes:
    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?

    CaT> In include/asm-i386/string.h for example. Not all arches have
    CaT> it defined but a few do.

    CaT> With the change btw, the kernel compiled.

  Using __HAVE_ARCH_STRSTR doesn't work on UML.
  It appears that the strstr.c from arch/i386/lib/strstr.c doesn't get
compiled. I tried to get it compiled, but I seem to be missing some
symbol table magic. (Adding EXPORT_SYMTAB(strstr) to the file didn't
help).

  Any ideas on this?

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

iQCVAwUBQU5UN4qHRg3pndX9AQErBgP+JjNwGWWUqoXMMQqIzYNpv5RMwcGILjS5
83h+QLyOs/hLAmEbThGxcMqq6L5KHXPXeeCXFqxJjOBgrFCEDLeGGzGjsM4U57Wn
AfPx4nGUZ5xnS87BY951ZVnKun7HNVffoGUYw4EosR6JiMync8cmURzIYtLcDohm
dSRzlVyriJg=
=MFMi
-----END PGP SIGNATURE-----


More information about the Dev mailing list