mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
unistd: Avoid PLT entries with _FORTIFY_SOURCE
The change is meant to avoid unwanted PLT entries for the read_chk, getdomainname_chk and getlogin_r_chk routines when _FORTIFY_SOURCE is set. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
@@ -26,3 +26,4 @@ __getdomainname_chk (char *buf, size_t buflen, size_t nreal)
|
||||
|
||||
return getdomainname (buf, buflen);
|
||||
}
|
||||
libc_hidden_def (__getdomainname_chk)
|
||||
|
Reference in New Issue
Block a user