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 -- Have fun! chd
pgpuz40dhCSF5.pgp
Description: PGP signature