Skip to content

Commit

Permalink
[libtap] port to freebsd and fix a bunch of small bugs
Browse files Browse the repository at this point in the history
- tap_open: do mutex lock only after malloc to avoid deadlock
- fix test suite to increase randomness when testing named tap devices
- remove hardcoded paths to /bin/true /bin/false and /bin/grep

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Apr 19, 2018
1 parent e46d32d commit 9ee048f
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 62 deletions.
3 changes: 0 additions & 3 deletions configure.ac
Expand Up @@ -217,9 +217,6 @@ case "$host_os" in
*bsd*)
AC_DEFINE_UNQUOTED([KNET_BSD], [1], [Compiling for BSD platform])
AC_MSG_RESULT([BSD])
if test "x$enable_libtap" = xyes; then
AC_MSG_ERROR([libtap is not currently supported on BSD platforms])
fi
;;
*)
AC_MSG_ERROR([Unsupported OS? hmmmm])
Expand Down

0 comments on commit 9ee048f

Please sign in to comment.