<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello agains list.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>Now that klips is almost good to go, I
would like to pick up where we stopped on the saref matter. I was trying to
port saref patch from kernel-2.6.16 to CentOS kernel-2.6.18, but I am still
unable to compile the kernel with the patch applied. I’m attaching the
patch so you can take a look. What happens is, with the patch applied, it
complains about missing references to ip_cmsg_recv_ipsec and ip_cmsg_send_ipsec
on ip_sockglue.c, even with klips patch applied to kerne, generated with ‘make
kernelpatch’ against openswan-2.6.24rc3 source. The error I get during
compilation is<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>net/built-in.o: In function `ip_cmsg_send':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686/net/ipv4/ip_sockglue.c:207:
undefined reference to `ip_cmsg_send_ipsec'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>net/built-in.o: In function `ip_cmsg_recv':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686/net/ipv4/ip_sockglue.c:175:
undefined reference to `ip_cmsg_recv_ipsec'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>make: *** [.tmp_vmlinux1] Error 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Looking on klips patch, I can see those
functions on the files create by the patch ipsec_rcv.c and ipsec_mast.c. I also
noticed that both of them have a <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#ifdef HAVE_IPSEC_SAREF<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>before them. Could that be the reason why
the reference is not found? Is there some option that should be enable on the kernel
config or a variable that should be set somewhere in the code to make the
reference available for the saref patch? <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Giovani<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
<BR><BR>__________ Information from ESET NOD32 Antivirus, version of virus signature database 4632 (20091124) __________<BR><BR>The message was checked by ESET NOD32 Antivirus.<BR><BR><A HREF="http://www.eset.com">http://www.eset.com</A><BR> </body>
</html>