>>> So for mime types to distinguish, "file" needs to grow reporting of the INTERP presence.
Distinguish between shared libraries and PIC executables based on INTERP ELF header is not always correct. Consider following 2 exceptions: GLIBC main library libc-2.24.so This shared object has an INTERP header, which is /lib64/ld-linux-x86-64.so.2 in my system. However we usually considering it a shared library, not an executable. GLIBC dynamic linker ld-2.24.so This shared object doesn't have INTERP header because this object itself is an interpreter. It should be considered as an executable since it is useful to load and run GLIBC linked dynamic executables. This indicates a clear boundary between shared libraries and PIC executables just does not exist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1747711 Title: file mis-identifies modern executables as application/x-sharedlib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/file/+bug/1747711/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
