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

Bug 375873

Summary: virtual/linux-sources-2.6 remove the 'hardened' use flag
Product: Gentoo Linux Reporter: Anthony Basile <blueness>
Component: [OLD] Core systemAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED FIXED    
Severity: normal CC: hardened-kernel+disabled, hardened, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 375561    

Description Anthony Basile gentoo-dev 2011-07-21 12:59:51 UTC
The hardened use flag refers to toolchain hardening and not kernel hardening.  The two are independent of one another, so a user can run hardened userland and vanilla kernel or vice versa.  So the conditional 

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2011-07-21 13:03:38 UTC
continuing previous comment ...

So the conditinal 

   hardened? ( =sys-kernel/hardened-sources-2.6* )

should be removed.  Also note that this atom is listed twice in RDEPEND, one with and one without the conditional.
Comment 2 Ulrich Müller gentoo-dev 2011-07-23 14:38:51 UTC
(In reply to comment #1)
> Also note that this atom is listed twice in RDEPEND, one with and one
> without the conditional.

Why would this be a problem?
Comment 3 Anthony Basile gentoo-dev 2011-07-24 08:45:44 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Also note that this atom is listed twice in RDEPEND, one with and one
> > without the conditional.
> 
> Why would this be a problem?

Sorry, I didn't explain myself.  Its not a problem in itself, I just wanted to draw your attention to the fact that all you need to do is remove the following line

    hardened? ( =sys-kernel/hardened-sources-2.6* )

to address this issue.  The other line

    =sys-kernel/hardened-sources-2.6*

should stay.
Comment 4 Anthony Basile gentoo-dev 2011-07-30 09:34:31 UTC
I've made the change with mpagano's okay.