This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH roland/dl-fileid] Factor file identity rules out of generic rtld code.


On 07/14/2015 04:47 PM, Roland McGrath wrote:
> I first posted this back in February.  I have gotten no objections.
> I think this patch is entirely unchanged by the fresh rebasing.
> I'd always intended to get this in before the 2.22 cut.
> 
> OK now?
> 
> 
> Thanks,
> Roland
> 
> 
> 2015-07-14  Roland McGrath  <roland@hack.frob.com>
> 
> 	* sysdeps/generic/dl-fileid.h: New file.
> 	* sysdeps/posix/dl-fileid.h: New file.
> 	* sysdeps/nacl/dl-fileid.h: New file.
> 	* include/link.h: Include <dl-fileid.h>.
> 	(struct link_map): Replace l_dev and l_ino with l_file_id.
> 	* elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
> 	than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
> 	and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.

OK.

c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]