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 Dec 16, 2017
1 parent 8583344 commit 464cf60
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 62 deletions.
3 changes: 0 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,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 464cf60

Please sign in to comment.