diff options
Diffstat (limited to 'ldso/ldso/readelflib1.c')
-rw-r--r-- | ldso/ldso/readelflib1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c index ae7a86a37..c1a4a41ee 100644 --- a/ldso/ldso/readelflib1.c +++ b/ldso/ldso/readelflib1.c @@ -321,7 +321,7 @@ struct elf_resolve *_dl_load_elf_shared_library(int secure, we don't load the library if it isn't setuid. */ if (secure) { - struct kernel_stat st; + struct stat st; if (_dl_stat(libname, &st) || !(st.st_mode & S_ISUID)) return NULL; |