diff options
author | Frédéric Bérat <fberat@redhat.com> | 2023-06-07 11:34:36 +0200 |
---|---|---|
committer | Frédéric Bérat <fberat@redhat.com> | 2023-07-05 16:59:48 +0200 |
commit | b17d65ff927241d2bc36cbfe258431bec2ffad1b (patch) | |
tree | 243485f37e989122e82430b951521e82a816f359 /login | |
parent | 391f5e9619ef540eea00fb622f4381dae9d8cb44 (diff) | |
download | glibc-b17d65ff927241d2bc36cbfe258431bec2ffad1b.tar.gz glibc-b17d65ff927241d2bc36cbfe258431bec2ffad1b.tar.xz glibc-b17d65ff927241d2bc36cbfe258431bec2ffad1b.zip |
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>
Diffstat (limited to 'login')
-rw-r--r-- | login/getlogin_r_chk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/login/getlogin_r_chk.c b/login/getlogin_r_chk.c index 12a0d12bd4..26ec3e6970 100644 --- a/login/getlogin_r_chk.c +++ b/login/getlogin_r_chk.c @@ -26,3 +26,4 @@ __getlogin_r_chk (char *buf, size_t buflen, size_t nreal) return getlogin_r (buf, buflen); } +libc_hidden_def (__getlogin_r_chk) |