From owner-svn-src-all@FreeBSD.ORG Thu May 7 19:18:03 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCF371065674; Thu, 7 May 2009 19:18:03 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 80F9D8FC17; Thu, 7 May 2009 19:18:03 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id n47JI2ou006965; Thu, 7 May 2009 13:18:02 -0600 (MDT) Message-ID: <4A0333E4.1070101@FreeBSD.org> Date: Thu, 07 May 2009 13:17:56 -0600 From: Jamie Gritton User-Agent: Thunderbird 2.0.0.19 (X11/20090109) MIME-Version: 1.0 To: Chagin Dmitry References: <200905071836.n47IalFi064565@svn.freebsd.org> <20090507185731.GA31336@dchagin.static.corbina.ru> In-Reply-To: <20090507185731.GA31336@dchagin.static.corbina.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9342/Thu May 7 11:33:10 2009 on gritton.org X-Virus-Status: Clean Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r191896 - in head/sys: amd64/linux32 compat/linux i386/linux kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 19:18:04 -0000 Chagin Dmitry wrote: > On Thu, May 07, 2009 at 06:36:47PM +0000, Jamie Gritton wrote: >> Author: jamie >> Date: Thu May 7 18:36:47 2009 >> New Revision: 191896 >> URL: http://svn.freebsd.org/changeset/base/191896 >> >> Log: >> Move the per-prison Linux MIB from a private one-off pointer to the new >> OSD-based jail extensions. This allows the Linux MIB to accessed via >> jail_set and jail_get, and serves as a demonstration of adding jail support >> to a module. >> >> Reviewed by: dchagin, kib >> Approved by: bz (mentor) >> > > > whoops > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c > cc1: warnings being treated as errors > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c: In function 'linux_prison_check': > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c:232: warning: passing argument 4 of 'vfs_getopt' from incompatible pointer type > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c:243: warning: passing argument 4 of 'vfs_getopt' from incompatible pointer type > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c: In function 'linux_prison_set': > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c:272: warning: passing argument 4 of 'vfs_getopt' from incompatible pointer type > /work/pub/head/sys/modules/linux/../../compat/linux/linux_mib.c:277: warning: passing argument 4 of 'vfs_getopt' from incompatible pointer type > *** Error code 1 > > Stop in /work/pub/head/sys/modules/linux. > *** Error code 1 Never saw that - must be something funny about compiling a Current kernel on a Release 7 box. - Jamie