Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2009 13:17:56 -0600
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        Chagin Dmitry <dchagin@FreeBSD.org>
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
Message-ID:  <4A0333E4.1070101@FreeBSD.org>
In-Reply-To: <20090507185731.GA31336@dchagin.static.corbina.ru>
References:  <200905071836.n47IalFi064565@svn.freebsd.org> <20090507185731.GA31336@dchagin.static.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0333E4.1070101>