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

2014-12-19 Thread Guy Harris
On Dec 19, 2014, at 8:36 PM, Loganaden Velvindron wrote: > I was looking into the github repo, but couldn't find the change. I didn't check it into the github repo, I checked it into the bpf.tcpdump.org repo. It should eventually get propagated to the github repo. > Do you have the git commi

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

2014-12-19 Thread Loganaden Velvindron
On Fri, Dec 19, 2014 at 01:29:00PM -0800, Guy Harris wrote: > > On Dec 7, 2014, at 12:17 AM, Loganaden Velvindron wrote: > > > Here's the diff: > > > > index d0e90dd..1620bbb 100644 > > --- a/configure.in > > +++ b/configure.in > > @@ -207,8 +207,10 @@ AC_ARG_WITH(sandbox-capsicum, > > # > > #

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

2014-12-19 Thread Guy Harris
On Dec 7, 2014, at 12:17 AM, Loganaden Velvindron 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. > # > +# NOT

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

2014-12-18 Thread Loganaden Velvindron
On Sun, Dec 07, 2014 at 12:13:09AM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 11:44 PM, Loganaden Velvindron wrote: > > > On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: > >> > >> On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron > >> wrote: > >> > >>> Here's the config.log o

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

2014-12-07 Thread Loganaden Velvindron
On Sun, Dec 07, 2014 at 12:13:09AM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 11:44 PM, Loganaden Velvindron wrote: > > > On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: > >> > >> On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron > >> wrote: > >> > >>> Here's the config.log o

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

2014-12-07 Thread Guy Harris
On Dec 6, 2014, at 11:44 PM, Loganaden Velvindron wrote: > On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: >> >> On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron wrote: >> >>> Here's the config.log output: >>> >>> configure:4540: checking for cap_rights_init >>> configure:4540: c

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

2014-12-06 Thread Loganaden Velvindron
On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron wrote: > > > Here's the config.log output: > > > > configure:4540: checking for cap_rights_init > > configure:4540: cc -o conftest -g -O2 conftest.c >&5 > > /tmp/conftest-942ee0.o

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

2014-12-06 Thread Guy Harris
On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron wrote: > Here's the config.log output: > > configure:4540: checking for cap_rights_init > configure:4540: cc -o conftest -g -O2 conftest.c >&5 > /tmp/conftest-942ee0.o: In function `main': > /root/tcpdump/tcpdump-4.6.2/conftest.c:66: undefined

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

2014-12-06 Thread Loganaden Velvindron
On Sat, Dec 06, 2014 at 12:40:57PM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 6:51 AM, Loganaden Velvindron wrote: > > > Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to > > cap_rights_init which returns a struct, instead of an int. > > Did its return value change in Free

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

2014-12-06 Thread Guy Harris
On Dec 6, 2014, at 6:51 AM, Loganaden Velvindron wrote: > Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to > cap_rights_init which returns a struct, instead of an int. Did its return value change in FreeBSD 10? (Presumably it didn't change between 10 and 10.1.) > I think th