Skip to content
Commit eea000f6 authored by Frédéric Bérat's avatar Frédéric Bérat
Browse files

misc/sys/cdefs.h: Create FORTIFY redirects for internal calls



The __REDIRECT* macros are creating aliases which may lead to unwanted
PLT entries when fortification is enabled.
To prevent these entries, the REDIRECT alias should be set to point to the
existing __GI_* aliases.
This is done transparently by creating a __REDIRECT_FORTIFY* version of
these macros, that can be overwritten internally when necessary.

Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 505c884a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment