• sendmail and gcc -fhardened

    From HQuest@21:1/5 to All on Thu May 30 13:05:28 2024
    With the release of GCC 14.1 earlier this month[1], they introduced a
    few new security related options, most notably -fhardened[2], which
    according to the documentation[3], "(e)nable a set of flags for C and
    C++ that improve the security of the generated code without affecting
    its ABI (...) intended to be used in production builds (...) supported
    on GNU/Linux targets."

    While I would think its use should cause no side effects, has anyone
    built and run sendmail compiled with such flags? If so, any noticeable difference/errors/warnings/changes to any behavior?

    [1] https://gcc.gnu.org/gcc-14/
    [2] https://www.phoronix.com/news/GCC-fhardened-Hardening-Option
    [3] https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Instrumentation-Options.html#index-fhardened

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)