DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Compiler hardening flags for libraries and performance implications
@ 2016-07-26 14:53 Luca Boccassi
  2016-07-26 16:44 ` Matthew Hall
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Boccassi @ 2016-07-26 14:53 UTC (permalink / raw)
  To: dev; +Cc: christian.ehrhardt, cjcollier, ricardo.salveti

Hello,

While working on uploading DPDK to Ubuntu and Debian, we were wondering
if anyone had any thoughts/opinions on enabling compiler hardening flags
for the DPDK libraries and the possible performance implications.

Especially 2 of the hardening options provided on Debian/Ubuntu [1]
explicitly cite performance implications:

- "bind now" (ld -z now), which forces to resolve all dynamic symbols
immediately at load
- "stack protector" (-fstack-protector-strong), which adds safety checks
against stack overwrites

Any opinions? Would anyone have reservations if we enabled all of these
in the packages that will be distributed in Ubuntu and Debian?

Thanks!

-- 
Kind regards,
Luca Boccassi

[1] https://wiki.debian.org/Hardening#Environment_variables

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-27 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 14:53 [dpdk-dev] Compiler hardening flags for libraries and performance implications Luca Boccassi
2016-07-26 16:44 ` Matthew Hall
2016-07-27 12:58   ` Mcnamara, John
2016-07-27 15:46     ` Matthew Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).