[tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

Loganaden Velvindron logan at elandsys.com
Fri Dec 19 23:36:46 EST 2014


On Fri, Dec 19, 2014 at 01:29:00PM -0800, Guy Harris wrote:
> 
> 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,
> >            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 ?


More information about the tcpdump-workers mailing list