Re: Expanding the list of "Hardened Packages"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



re:  Expanding the list of "Hardened Packages"
> This proposal was originally at https://fedorahosted.org/fesco/ticket/1104

There is another performance interaction between -fPIE and prelinking.
Random placement due to -fPIE on a main program can invalidate the
pre-linking of shared libraries including glibc.  As a result, costs
immediately after execve() can be larger because ld-linux must re-base
the library images dynamically inside the current process.  If it happens
when there are dozens of shared libraries, then the delay can be substantial
because the interference is likely to cascade from one library to others.
It is not possible to share any page which ld-linux modifies, so the cost
is more physical RAM as well as more cycles.

In fact, random placement of vdso (linux-gate.so) causes a similar problem
around 7% of the time (with just one shared library) on i686.  Here's my analysis
from 8 years ago:  https://bugzilla.redhat.com/show_bug.cgi?id=162797#c4

-- 
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux