svn commit: r368789 - head/libexec/rtld-elf/rtld-libc

Konstantin Belousov kostikbel at gmail.com
Sun Dec 20 04:34:36 UTC 2020


On Sat, Dec 19, 2020 at 08:27:31PM -0800, Ryan Libby wrote:
> On a tangent, it might be neat to split out an rtld_bootstrap
> (everything through init_rtld()) so that only the bootstrap code needs
> to be compiled and linked with no-SSP.  I looked at this some but I
> figured there might not be appetite for a bunch of reorganization of
> rtld just to enable SSP.  Anyway the bootstrap code would still need
> these particular libcompiler_rt functions to be no-SSP, as they get used
> in the printf procedure, which I am guessing the bootstrap may need.

Just my opinion.  SSP is not too useful itself, and I believe it is useless
in rtld, simply due to what rtld typically executes (matching static strings).
Rototiling early rtld stages to get another bullet on the list of doubtful
features should not be done.


More information about the svn-src-all mailing list