Replace our GNU libssp with the NetBSD libssp (BSD licensed)
The library has been versionned the same way we versionned the GNU libssp
Integrate libssp the exact same way GNU libssp was integrated to ease import and
compatibility
Differential D7380
Import libssp from NetBSD bapt on Jul 31 2016, 10:18 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions The modification on NetBSD libssp are: replacing dead with dead2 and adding some __unused I plan to upstream Comment Actions No, no, no ... please do *not do this. NetBSD's libssp is a minomer for two things:
FORTIFY_SOURCE doesn't have anything to do with the stack protector, the NetBSD guys just didn't think of a better place to put it. It does happen that the "strong" stack protector catches most of the issues that FORTIFY_SOURCE was meant to catch. Hmm ... we have to investigate exactly what the libssp included in GCC does. It maybe that it is something very basic to support the stack protector, or it something that is not used at all. |