Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You have no real enemies.


comp / comp.mail.sendmail / sendmail and gcc -fhardened

SubjectAuthor
o sendmail and gcc -fhardenedHQuest

1
Subject: sendmail and gcc -fhardened
From: HQuest
Newsgroups: comp.mail.sendmail
Organization: novaBBS
Date: Thu, 30 May 2024 13:05 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: hquest@hquest.pro.br (HQuest)
Newsgroups: comp.mail.sendmail
Subject: sendmail and gcc -fhardened
Date: Thu, 30 May 2024 13:05:28 +0000
Organization: novaBBS
Message-ID: <8235124fa18835e24cd672584acd4405@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2668797"; mail-complaints-to="usenet@i2pn2.org";
posting-account="2XJ8hjIEUuziWBqN+XBS7yv7yfwqQ5GdIjLva+fAx2c";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 3d3517e5dd24387fdf8da64199401ea731577ab2
X-Rslight-Site: $2y$10$44oy12FPVnAfrDqzL/zE7OTc0dhnIFh.n6yR2jLuP8iNwelzkFmS6
View all headers

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

1

rocksolid light 0.9.8
clearnet tor