

Code: Select all
epatch "${FILESDIR}"/linker.patch
As pretty much all third party amd64 binaries use lib64, the standard profiles really have to use lib64 directories, and this would be a lot of additional work for the hardened team with no real benefits (it's mostly just a cosmetic thing).aaronf0 wrote:well, im 2/3s of the way through the first system, and i must say this is going pretty well. is there any reason the no-multilib profile doesnt do this by default? especially on hardened, this only seems like a security hole...
I can't see how it a directory called "lib" is any more secure than other called "lib64". By the way, on amd64 /lib is just a symlink to /amd64. And yes, it is a purely cosmetic issue which just doesn't worth any single minute of the gentoo developers. At least, not while there are more important things to do or care about.Hopeless wrote:I'm very glad it worked for you (and that I'm no longer the only person silly enough to do this).
As pretty much all third party amd64 binaries use lib64, the standard profiles really have to use lib64 directories, and this would be a lot of additional work for the hardened team with no real benefits (it's mostly just a cosmetic thing).aaronf0 wrote:well, im 2/3s of the way through the first system, and i must say this is going pretty well. is there any reason the no-multilib profile doesnt do this by default? especially on hardened, this only seems like a security hole...
I don't really see how this could be a security issue...

Who was that directed at?i92guboj wrote:I can't see how it a directory called "lib" is any more secure than other called "lib64". By the way, on amd64 /lib is just a symlink to /amd64. And yes, it is a purely cosmetic issue which just doesn't worth any single minute of the gentoo developers. At least, not while there are more important things to do or care about.Hopeless wrote:I'm very glad it worked for you (and that I'm no longer the only person silly enough to do this).
As pretty much all third party amd64 binaries use lib64, the standard profiles really have to use lib64 directories, and this would be a lot of additional work for the hardened team with no real benefits (it's mostly just a cosmetic thing).aaronf0 wrote:well, im 2/3s of the way through the first system, and i must say this is going pretty well. is there any reason the no-multilib profile doesnt do this by default? especially on hardened, this only seems like a security hole...
I don't really see how this could be a security issue...
Just my humble opinion.

Oh, well that's okay then.i92guboj wrote:To the original poster, of course. I was just reiterating what you already saidHopeless wrote: <...snip...>
Who was that directed at?
I completely agree with everything you just said (in fact it's pretty much what I was trying to say in my previous post).
If you think so, then the symlink concept as a whole is troublesome for you. Since symlinks are created for this very same purpose: give any file as many different names as you want.aaronf0 wrote:dunno. i just see symlinks in / as a bad thing. also if portage can swap /lib and /lib64 at will, that is rather troublesome...