This is fixed in later versions.  We created wrapper macros for OS specific calls.   This is included in later versions.  Although this isn't complete for FreeBSD in the current master, it will completed when we check-in IPFW support.<br>
<br>Regards,<br><br>Will<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 10:59 AM, Markus Lude <span dir="ltr"><<a href="mailto:markus.lude@gmx.de">markus.lude@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
suricata uses some linux-specific system calls like gettid() or<br>
sched_setaffinity() and maybe some more. This makes it quite<br>
non-portable. As I saw additions for FreeBSD and Mac OS X in the<br>
suricata code, I wonder how they cope with these syscalls.<br>
<br>
Regards,<br>
Markus<br>
<br>
PS: I hope I'm on the right mailing list for such stuff. If I'm wrong<br>
please point me in the right direction. Thanks.<br>
<br>
_______________________________________________<br>
Oisf-devel mailing list<br>
<a href="mailto:Oisf-devel@openinfosecfoundation.org">Oisf-devel@openinfosecfoundation.org</a><br>
<a href="http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel" target="_blank">http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel</a><br>
</blockquote></div><br>