[tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1
guy at alum.mit.edu
Fri Dec 19 16:29:00 EST 2014
On Dec 7, 2014, at 12:17 AM, Loganaden Velvindron <logan at elandsys.com> wrote:
> Here's the diff:
> index d0e90dd..1620bbb 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -207,8 +207,10 @@ AC_ARG_WITH(sandbox-capsicum,
> # All of them must be available in order to enable capsicum sandboxing.
> +# NOTE: cap_rights_init is a macro on FreeBSD, so remove it from the list.
> 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,
I've checked into the trunk a similar change, but with a more elaborate comment, and cherry-picked it to the 4.7 branch.
More information about the tcpdump-workers