tcpdump mailing list archives

Re: Fix FreeBSD capsicum build on FreeBSD 10.1


From: Loganaden Velvindron <logan () elandsys com>
Date: Fri, 19 Dec 2014 20:36:46 -0800

On Fri, Dec 19, 2014 at 01:29:00PM -0800, Guy Harris wrote:

On Dec 7, 2014, at 12:17 AM, Loganaden Velvindron <logan () 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,
           ac_lbl_capsicum_function_seen=yes,
           ac_lbl_capsicum_function_not_seen=yes)
fi

I've checked into the trunk a similar change, but with a more elaborate comment, and cherry-picked it to the 4.7 
branch.

Awesome ! Thank you.

I was looking into the github repo, but couldn't find the change.

Do you have the git commit id for this ?
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: