Follow

clang architectures will now prefer retguard (-fret-protector) by default, making it mutually exclusive of the stack protector.

marc.info/?l=openbsd-cvs&m=155

Note that retguard also became a better stack protector by accident:

"• RETGUARD verifies integrity of the return address
• Stack protector verifies integrity of the stack cookie
• RETGUARD is a better stack protector
• Per-function random cookie vs Per-object stack cookie
• Verifies return address directly
• In leaf functions, no need to store cookie in frame"

Another recent commit addressed the last point, improving performance and security of leaf functions: marc.info/?l=openbsd-cvs&m=155

-fret-protector 

@brynet Sounds like what you need to keep your guitar ridges safe. :flan_metal:

Sign in to participate in the conversation
BSD Network

bsd.network is a *BSD-adjacent Mastodon Instance. We have a code of conduct.