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:
@@ -25,3 +25,4 @@ __read_chk (int fd, void *buf, size_t nbytes, size_t buflen)
|
||||
|
||||
return __read (fd, buf, nbytes);
|
||||
}
|
||||
libc_hidden_def (__read_chk)
|
||||
|
Reference in New Issue
Block a user