From owner-freebsd-jail@FreeBSD.ORG Mon Jun 23 19:57:47 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5355B1065682 for ; Mon, 23 Jun 2008 19:57:47 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id F0FF48FC23 for ; Mon, 23 Jun 2008 19:57:46 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so384144yxl.13 for ; Mon, 23 Jun 2008 12:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=5C3J+ZQeyS+bg4srbJqldfMU6JyL2rxfODRK1lkuHvE=; b=XMzJeRnVe0brEk5rrh1IR5xUzGzkSlj1EAm5gYrRugBHOpoSiBIZmMN2HxaRe7SIDp tS/FzX8ueRf1hOorHdSEUvfgZQUPtcqqs5Qbwk8pCwxAGuNftZPGsSo3x6YH3j1rngfd 7NaE8nYVMnbQ7tHlcEcF69ovjw03m2CVpPF/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=cyG3mcPEKbrbWJtDv85GrMiGv/K8EQ9DYqVbwfxYSCmsHBef5t4ZGBCAAasBQoPUaT lA6GnYoT7VB5U1fKyap9LiNfvisQ13n+eDezBDMQWN8fpMhcg9smBizW/lFzRl/ePjqn YXNZmXSOBMsQvvjq65BZYL5KVwZwwxJP8JUOM= Received: by 10.142.128.6 with SMTP id a6mr4417407wfd.331.1214251065556; Mon, 23 Jun 2008 12:57:45 -0700 (PDT) Received: by 10.114.67.7 with HTTP; Mon, 23 Jun 2008 12:57:45 -0700 (PDT) Message-ID: <6ae50c2d0806231257y48791f03r2b3518517f0af653@mail.gmail.com> Date: Mon, 23 Jun 2008 15:57:45 -0400 From: alexus To: "Bjoern A. Zeeb" In-Reply-To: <20080621212933.J83875@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78553FE8-BB3A-4AD5-9926-7B095260741D@verweg.com> <6ae50c2d0806211035y73e09f15xde28403b824eb421@mail.gmail.com> <6ae50c2d0806211037g31d8e9beqeea36b480ee62f3b@mail.gmail.com> <20080621212933.J83875@maildrop.int.zabbadoz.net> Cc: freebsd-jail@freebsd.org Subject: Re: new set of multi-IPv4/v6/noIP jail patches X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 19:57:47 -0000 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 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 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 > > -- > Bjoern A. Zeeb Stop bit received. Insert coin for new game. > -- http://alexus.org/