Hi guys, Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to cap_rights_init which returns a struct, instead of an int.
I think that we should follow OpenSSH and not test cap_rights_init. Would it also be possible to add this to the next 4.6.x release as a bugfix ? Kind regards, //Logan C-x-C-c Below is a proposed diff: diff --git a/configure.in b/configure.in index d0e90dd..ecfee64 100644 --- a/configure.in +++ b/configure.in @@ -208,7 +208,7 @@ AC_ARG_WITH(sandbox-capsicum, # All of them must be available in order to enable capsicum sandboxing. # if test ! -z "$with_sandbox-capsicum" && test "$with_sandbox-capsicum" != "no" ; then - AC_CHECK_FUNCS(cap_enter cap_rights_init cap_rights_limit cap_ioctls_limit openat, + AC_CHECK_FUNCS(cap_enter cap_rights_limit cap_ioctls_limit openat, ac_lbl_capsicum_function_seen=yes, ac_lbl_capsicum_function_not_seen=yes) fi _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers