[Bug 241905] SSP setup is not thread-safe ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 12 06:51:01 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241905

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cem at freebsd.org

--- Comment #2 from Conrad Meyer <cem at freebsd.org> ---
OpenBSD has an (?)interesting solution to this problem: they hack in an
".openbsd.randomdata" section to their ELF objects and initialize it before an
object's ctors run.  (Of course, __stack_chk_guard is placed in that section.)

I think this could also be solved by ensuring the __guard_setup ctor runs
first, in some implementation-defined way.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list