atom feed19 messages in org.freebsd.freebsd-jailnew set of multi-IPv4/v6/noIP jail pa...
FromSent OnAttachments
Bjoern A. ZeebJun 17, 2008 6:04 pm 
alexusJun 19, 2008 6:23 pm 
Peter AnkerstålJun 19, 2008 6:30 pm 
Bjoern A. ZeebJun 19, 2008 7:04 pm 
Peter AnkerstålJun 20, 2008 12:32 pm 
Bjoern A. ZeebJun 20, 2008 12:44 pm 
Ruben van StaverenJun 20, 2008 2:26 pm 
alexusJun 21, 2008 5:34 pm 
alexusJun 21, 2008 5:36 pm 
Bjoern A. ZeebJun 21, 2008 9:34 pm 
alexusJun 23, 2008 7:57 pm 
Bjoern A. ZeebJun 23, 2008 11:14 pm 
alexusJun 29, 2008 1:41 am 
Christopher ThunesJul 7, 2008 4:49 pm 
Bjoern A. ZeebJul 7, 2008 5:09 pm 
Peter AnkerstålJul 7, 2008 5:32 pm 
Christopher ThunesJul 7, 2008 5:39 pm 
Bjoern A. ZeebJul 7, 2008 7:14 pm 
Christopher ThunesJul 11, 2008 6:53 am 
Subject:new set of multi-IPv4/v6/noIP jail patches
From:alexus (ale@gmail.com)
Date:Jun 23, 2008 7:57:27 pm
List:org.freebsd.freebsd-jail

yeah, I dont have IPV6, and whatever you gave me isn't enough at least for me, i don't know how incorporate this code into patch, can you post a new patch with these fixes?

Thanks!

On Sat, Jun 21, 2008 at 5:32 PM, Bjoern A. Zeeb <bzee@lists.zabbadoz.net> wrote:

On Sat, 21 Jun 2008, alexus wrote:

this is against http://sources.zabbadoz.net/freebsd/jail/20080617-01-jail-7.0R.diff with 7.0-RELEASE-p2

On Sat, Jun 21, 2008 at 1:35 PM, alexus <ale@gmail.com> wrote:

cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/kern/kern_jail.c cc1: warnings being treated as errors /usr/src/sys/kern/kern_jail.c: In function 'prison_if': /usr/src/sys/kern/kern_jail.c:876: warning: unused variable 'sai6' *** Error code 1

Are you building without INET6 in your kernel config?

This should fix it:

struct sockaddr_in *sai; +#ifdef INET6 struct sockaddr_in6 *sai6; +#endif int ok;

I'll commit it and you'll have it with the next patchset.

/bz