Re: aufs3.0 fails to emerge on Gentoo hardened and kernel 3.0.4

2012-01-05 Thread sfjro
Andrea Zuccherelli: > I found the typedef causing problem in > "/usr/src/linux/include/linux/seq_file.h". > So added a "no_const" typedef to our "a.c": ::: > zrouter constest # gcc > -fplugin=3D/usr/src/linux/tools/gcc/constify_plugin.so > -fplugin-arg-constify_plugin-no-constify a.c > a.c

linux-3.2.0

2012-01-05 Thread justin
Hi, strangely and I really don't understand why I get WARNING: /lib/modules/3.2.0-lh/misc/aufs.ko needs unknown symbol __devcgroup_inode_permission the base and the standalone patch are applied correctly. grep devcgroup_inode_permission * -R security/device_cgroup.c:EXPORT_SYMBOL(__devcgroup_

Re: linux-3.2.0

2012-01-05 Thread justin
And CONFIG_CGROUP_DEVICE=y which should triger the inclusion of security/device_cgroup.c justin signature.asc Description: OpenPGP digital signature -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a

Re: linux-3.2.0

2012-01-05 Thread Jordi Pujol
A Dijous, 5 de gener de 2012 15:05:23, justin va escriure: > And > CONFIG_CGROUP_DEVICE=y > > which should triger the inclusion of security/device_cgroup.c > > justin Hello, add this patch, Regards, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com --- a/se

Re: linux-3.2.0

2012-01-05 Thread sfjro
Jordi Pujol: > A Dijous, 5 de gener de 2012 15:05:23, justin va escriure: > > And > > CONFIG_CGROUP_DEVICE=y > > > > which should triger the inclusion of security/device_cgroup.c > > > > justin > Hello, > > add this patch, Please take a look at http://sourceforge.net/mailarchive/forum.php?threa

Re: linux-3.2.0

2012-01-05 Thread justin
On 05/01/12 16:10, sf...@users.sourceforge.net wrote: > > Jordi Pujol: >> A Dijous, 5 de gener de 2012 15:05:23, justin va escriure: >>> And >>> CONFIG_CGROUP_DEVICE=y >>> >>> which should triger the inclusion of security/device_cgroup.c >>> >>> justin >> Hello, >> >> add this patch, > > Please t

Maximum layer query

2012-01-05 Thread Michael S. Zick
JRO, group - Is there a way to determine the maximum number of layers a auFS enabled kernel was built with? Such as: Is it exposed in /sys/fs/aufs or somewhere? Mike -- Ridiculously easy VDI. With Citrix VDI-in-a-Box,

Re: aufs3.0 fails to emerge on Gentoo hardened and kernel 3.0.4

2012-01-05 Thread Andrea Zuccherelli
>> Using the gcc flag option willl turn it off only for this case. > > and this will never work ;). consider that you compile your kernel with > constification enabled but some external module without it. now this external > module will believe that it has free reign over ops structures whereas the

Re: aufs3.0 fails to emerge on Gentoo hardened and kernel 3.0.4

2012-01-05 Thread Andrea Zuccherelli
>> instead of the more clear: >> >> br->br_hfsn_ops = au_hfsn_ops; > > you can keep using the simple code if you use the proper types ;). > >> Is this going to work? > > you/someone will have to determine which of the 3 cases you have in aufs (for > each affected type). > > here, if 'br' points to

Re: Maximum layer query

2012-01-05 Thread sfjro
"Michael S. Zick": > Is there a way to determine the maximum number > of layers a auFS enabled kernel was built with? Yes, there are. But it depends how you configured the aufs module. For static-link, try /proc/config(.gz) or /boot/config*. For dynamic-link, try /sys/fs/aufs/config. J. R. Okaj