tcpdump mailing list archives
Re: Fix FreeBSD capsicum build on FreeBSD 10.1
From: Guy Harris <guy () alum mit edu>
Date: Fri, 19 Dec 2014 13:29:00 -0800
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. _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 07)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 07)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 19)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 19)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 19)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Guy Harris (Dec 06)
- Re: Fix FreeBSD capsicum build on FreeBSD 10.1 Loganaden Velvindron (Dec 18)
