[PATCH roland/dl-fileid] Factor file identity rules out of generic rtld code.
Carlos O'Donell
carlos@redhat.com
Tue Jul 14 20:53:00 GMT 2015
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.
More information about the Libc-alpha
mailing list