aboutsummaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-07-14 13:15:26 -0700
committerRoland McGrath <roland@hack.frob.com>2015-07-14 13:15:26 -0700
commitc01ae97eb8986600488332f4db98f4b6d6ebedbc (patch)
treead6174a92b8436b96b3ac1819c2b81fa898cc9c2 /include/link.h
parent38b759496b0483491e54f3946ae8f0e55d8c079f (diff)
downloadglibc-c01ae97eb8986600488332f4db98f4b6d6ebedbc.tar
glibc-c01ae97eb8986600488332f4db98f4b6d6ebedbc.tar.gz
glibc-c01ae97eb8986600488332f4db98f4b6d6ebedbc.tar.bz2
glibc-c01ae97eb8986600488332f4db98f4b6d6ebedbc.zip
Factor file identity rules out of generic rtld code.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/link.h b/include/link.h
index 7ccd9c3760..423a69585d 100644
--- a/include/link.h
+++ b/include/link.h
@@ -40,6 +40,7 @@ extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
#include <stdint.h>
#include <stddef.h>
#include <bits/linkmap.h>
+#include <dl-fileid.h>
#include <dl-lookupcfg.h>
#include <tls.h>
#include <bits/libc-lock.h>
@@ -235,8 +236,7 @@ struct link_map
/* This information is kept to check for sure whether a shared
object is the same as one already loaded. */
- dev_t l_dev;
- ino64_t l_ino;
+ struct r_file_id l_file_id;
/* Collected information about own RUNPATH directories. */
struct r_search_path_struct l_runpath_dirs;