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: Compatibility symlink from old dynamic loader name to new dynamicloader name doesn't work.


> Then in _dl_map_object_from_fd we check only that the inodes are the
> same, which isn't true for a symlink.

It's fstat, not lstat on a name.  So indeed the inodes are the same.
You cannot possibly have an fd without having followed the symlink.


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