Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 172463

Summary: hardened-sources-2.6.20 compile fails with gr_is_capable_nolog
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED FIXED    
Severity: normal CC: a_tevelev
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix hardened-sources-2.6.20 compilation

Description Martin Väth 2007-03-27 20:25:11 UTC
Kernel: arch/x86_64/boot/bzImage is ready  (#1)
  Building modules, stage 2.
  MODPOST 260 modules
WARNING: "gr_is_capable_nolog" [security/commoncap.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [_all] Error 2
kernel: make failed
Comment 1 Martin Väth 2007-03-27 20:29:02 UTC
Created attachment 114678 [details, diff]
Patch to fix hardened-sources-2.6.20 compilation

I guess that it was simply forgotten to export the corresponding symbol in the grsecurity patch (although I do not understand why it might compile for anybody in this case). The attached patch exports the corresponding symbol. The patch is against the fully installed hardened-sources.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-03-28 11:30:32 UTC
*** Bug 172492 has been marked as a duplicate of this bug. ***
Comment 3 Christian Heim (RETIRED) gentoo-dev 2007-04-05 07:01:59 UTC
This should be fixed with 2.6.20-r1 in the tree.