HomeFreeBSD

Prepare the system for _FORTIFY_SOURCE

Description

Prepare the system for _FORTIFY_SOURCE

Notably:

  • libc needs to #undef some of the macros from ssp/* for underlying implementations
  • ssp/* wants a __RENAME() macro (snatched more or less from NetBSD)

There's some extra hinkiness included for read(), since libc spells it
as "_read" while the rest of the world spells it "read."

Reviewed by: imp, ngie
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D32307

Details

Provenance
kevansAuthored on May 13 2024, 5:23 AM
Reviewer
imp
Differential Revision
D32307: Prepare the system for _FORTIFY_SOURCE
Parents
rGbe04fec42638: Import _FORTIFY_SOURCE implementation from NetBSD
Branches
Unknown
Tags
Unknown