Check for ET_DYN in ldconfig

Andreas Jaeger aj@suse.de
Tue Jul 22 19:45:00 GMT 2003


Roland McGrath <roland@redhat.com> writes:

>> +  /* Libraries have to be shared object files.  */
>> +  if (!elf_header->e_type & ET_DYN)
>
> This is plainly nutso.  elf_header->e_type != ET_DYN is the only that makes
> sense.

Ok with that change, then?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-hacker mailing list