Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: aufs-users@×××××××××××××××××.net, Andrea Zuccherelli <andrea.zuccherelli@×××××.com>
Cc: gentoo-hardened@l.g.o, re.emese@×××××.com
Subject: [gentoo-hardened] Re: aufs3.0 fails to emerge on Gentoo hardened and kernel 3.0.4
Date: Tue, 03 Jan 2012 19:03:51
Message-Id: 4F0350E3.8323.A4710DB@pageexec.freemail.hu
1 On 3 Jan 2012 at 18:34, Andrea Zuccherelli wrote:
2
3 > hfsnotify.c:208:2: error: assignment of read-only member 'br_hfsn_ops'
4 >
5 > I found this to be caused by grsecurity constify_plugin.
6 > So i tried to disable it using
7 > '-fplugin-arg-constify_plugin-no-constify' switch.
8
9 newer kernels have CONFIG_PAX_CONSTIFY_PLUGIN that let you control
10 constification ;).
11
12 also gentoo already carries a (now seemingly incomplete) fix but it
13 was written for the old (manual) ways of doing ops constification,
14 with the gcc plugin approach i think it'd be enough to use the special
15 noconst types (say, file_operations_no_const) in aufs.