Fix: undefined syscall values for x86

Reference #11

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: missing registry unlock on error

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix compatibility with s390 and s390x architectures

Signed-off-by: Jérémy Bobbio <lunar@zelenka.debian.org>
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add compatibility with GNU/kFreeBSD

Signed-off-by: Jérémy Bobbio <lunar@debian.org>
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: bad ret value check for default logging

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Lookup symbols in libc in constructor

This is to make sure that before main() we get the libc pointer from the
system library.

This commit also adds mmap/munmap support for syscall(). A comment in
lib/syscall.c explains for what specific case this is needed.

Finally, stop looking up symbols that were already looked up in the
constructor.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: don't lookup symbol if already found

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: remove DBG call in syscall()

Since time is added by default, if a syscall() is called within the
context of the libc, it could trigger a deadlock with the tzset lock
already taken before calling localtime().

This deadlock can be triggered with Firefox and a loglevel set to 5.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: add fixtures.h to makefile.am as EXTRA_DIST

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: add fixtures directory to EXTRA_DIST

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Update version to v2.0.0-rc3

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: typo in README

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: explicitly remove src.old from tarball

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: install documentation in doc directory

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add NetBSD support

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add __syscall support for *BSD systems

Fixes #17

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Revert "Fix: explicitly remove src.old from tarball"

noinst_DIST actually adds file to the tarball and seems not working with
subdirs.

This reverts commit 293d484d94d40fcf610d71de635c4c0c7e4af463.