svn commit: r191896 - in head/sys: amd64/linux32 compat/linux i386/linux kern sys

Jamie Gritton jamie at FreeBSD.org
Thu May 7 19:18:04 UTC 2009


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


More information about the svn-src-head mailing list