On 1/3/12 6:50 PM, Andrea Zuccherelli wrote:
> (Please CC me as I'm not subscribed)
> 
> Hi people,
> 
> I am trying to emerge sys-fs/aufs3 on Gentoo Hardened with inotify use flag,
> but I get this compile error:

This means setting
CONFIG_AUFS_HNOTIFY = y
CONFIG_AUFS_HFSNOTIFY = y

Otherwise I need help to fix the hardened problem.

justin

> 
> hfsnotify.c:208:2: error: assignment of read-only member 'br_hfsn_ops'
> 
> I found this to be caused by grsecurity constify_plugin.
> So i tried to disable it using
> '-fplugin-arg-constify_plugin-no-constify' switch.
> 
> But the gcc plugin remains active, reporting "no_const attribute used
> on type that is not constified" in linux headers where the __no_const
> thing is used.
> 
> I reported the problem to Gentoo but nobody answered there:
> https://bugs.gentoo.org/show_bug.cgi?id=393559
> 
> CC'ed grsecurity team developers for the above problem.
> 
> Best regards
> 
> Andrea Zuccherelli
> 
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create 
> new or port existing apps to sell to consumers worldwide. Explore the 
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

Reply via email to