Hi, I just saw that: ./profiles/hardened/virtuals has an entry "virtual/os-headers sys-kernel/linux-headers". In ./profiles/hardened/x86/2.6/virtuals shouldn't we have "virtual/os-headers sys-kernel/linux26-headers" then ? (Fitting Kernel 2.6) And further: ./profiles/hardened/x86/2.6/make.defaults ./profiles/hardened/x86/make.defaults lists "hardened" twice in their USE flags which IMHO is redundant. Regards, Andy
reassigning to proper email addr.
Submit a patch
Created attachment 40684 [details, diff] Patch for cleaning up the hardened profile This patch eleminates duplicate use-flags, adds the correct linux26-headers to 2.6 profile, removes wrong virtual/kernel to header line as well as duplicate 26-headers line. (I'm not sure why the amd64 profile has a fixed 2.6 header line? I'm not using amd64 maybe there is a reason for this?) Regards, Andy.
The hardened/amd64/virtuals stuff looks wrong, otherwise rest of the patch looks ok.
Created attachment 44802 [details, diff] hardenedprofile.patch Corrected profile patch. The patch: *Removes duplicate "hardened" USE flag from: -hardened/x86/make.defaults *Removes duplicate "virtual/os-headers" from: -hardened/amd64/virtuals *Corrects 2.6 "virtual/os-headers": -hardened/x86/2.6/virtuals (sys-kernel/linux26-headers added) Adding "sys-kernel/linux-headers" to "hardened/x86/virtuals" as in the previous patch is not needed because it will automatically inherit "linux-headers" from its parent file "hardened/virtuals"
Created attachment 44803 [details, diff] hardenedprofile.patch Attached wrong patch :/
Attachment #44803 [details, diff] is now in InCVS