Page MenuHomeSolus

Update file to 5.36

Authored by der_eismann on Feb 22 2019, 11:15 AM.


  • Fix cast to use cast macros
  • Add UCS-32 builtin detection
  • Fix read and write stack overflows
  • Add FreeBSD ELF core file support
  • Allow all parameter values to be set (don't treat 0 specially) - handle default annotations on the softmagic match instead at the end.
  • Recognize JSON files
  • file --mime-encoding should not print mime-type
  • Add Quad indirect offsets
  • Enable parsing of ELF dynamic sections to handle PIE better
  • extend the support for ${x?:} expansions for magic descriptions
  • add support for ${x?:} in mime types to handle PIE binaries.
  • add support for negative offsets (offsets from the end of file)
  • close the file on error when writing magic
  • seccomp support
Test Plan

Built minikube again, metadata didn't change

$ file minikube-0.34.1-9-1-x86_64.eopkg 
minikube-0.34.1-9-1-x86_64.eopkg: Zip archive data, at least v2.0 to extract
$ file package.yml 
package.yml: ASCII text
$ file --version
magic file from /usr/share/file/magic

Diff Detail

R750 file
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

der_eismann created this revision.Feb 22 2019, 11:15 AM
der_eismann requested review of this revision.Feb 22 2019, 11:15 AM
JoshStrobl accepted this revision.Feb 25 2019, 12:58 PM
This revision is now accepted and ready to land.Feb 25 2019, 12:58 PM
This revision was automatically updated to reflect the committed changes.