Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375873 - virtual/linux-sources-2.6 remove the 'hardened' use flag
Summary: virtual/linux-sources-2.6 remove the 'hardened' use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 375561
  Show dependency tree
 
Reported: 2011-07-21 12:59 UTC by Anthony Basile
Modified: 2011-07-30 09:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.