[Bug 1747711] Re: file mis-identifies modern executables as application/x-sharedlib

2019-01-23 Thread WHR
>>> 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

[Bug 1747711] Re: file mis-identifies modern executables as application/x-sharedlib

2019-01-23 Thread WHR
>>> Yes, this is very much a bug. While ELF position independent executables are ELF shared objects, they weren't being recognized as executables by desktop launchers. So they wouldn't run. So those launchers should accept shared objects (application/x-sharedlib) as executables from now. -- You

[Bug 1747711] Re: file mis-identifies modern executables as application/x-sharedlib

2018-08-20 Thread WHR
And I don't think this is a bug because technically an ELF position independent executable IS a ELF shared object, right? -- 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

[Bug 1747711] Re: file mis-identifies modern executables as application/x-sharedlib

2018-08-20 Thread WHR
Looks like the upstream fix makes many dynamic libraries wrongly detected as 'pie executable's. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906727 ** Bug watch added: Debian Bug tracker #906727 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906727 -- You received this bug