| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
MFC after: 2 weeks
|
| | |
| |
| |
| |
| |
| |
| | |
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
|
| | |
| |
| |
| | |
Obtained from: https://github.com/file/file/pull/134/
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Trimming of the line feed is no longer necessary after
https://github.com/file/file/commit/d993c6b0db20711b2c4cb9d2bee8c7f2e59b0a43
Currently the tests:
- bcachefs2
- gpkg-1-zst
- multiple
are failing, but a fix will be committed upstream.
This also reverts c5e957ad4 "file: fix test case for gpkg by removing the extra \n."
MFC after: 3 days
|
| |\|
| |
| |
| | |
MFC after: 3 days
|
| |\|
| |
| |
| |
| | |
PR: bin/267221
MFC after: 3 days
|
| | |
| |
| |
| | |
MFC after: 3 days
|
| |\|
| |
| |
| | |
MFC after: 3 days
|
| |\|
| |
| |
| |
| | |
MFC after: 1 week
PR: bin/266264
|
| |\|
| |
| |
| | |
MFC after: 2 weeks
|
| |\|
| |
| |
| | |
MFC after: 2 weeks
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A file update in 2018 broke many ports as it misidentified shared
libraries as PIE binaries. r333944 reverted part of the change,
restoring ports builds but misidentifying objects in the opposite
direction.
Earlier this month file 5.39 was imported, and then the change
originally from r333944 was recommitted as r362261. However, the
issue was fixed upstream, so r362261 serves no purpose.
PR: 246960, 247461 [exp-run]
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=362782
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Such change should not have happen without prior discussion and review.
With hat: transitioning core
Notes:
svn path=/head/; revision=362488
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
No functional change intended.
s/Master Boot/Main Boot/ (also called MBR)
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=362466
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=362261
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=362258
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=357757
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apply vendor fixes:
06de62c Detect multiplication overflow when computing sector position
46a8443 Limit the number of elements in a vector (found by oss-fuzz)
Requested by: wen
MFC after: 3 days
Security: CVE-2019-18218
Notes:
svn path=/head/; revision=354802
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 3 days
Notes:
svn path=/head/; revision=354595
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The distinction between ELF header version and OpenPOWER ELF ABI version is
confusing for most of people, so this adds text to "file" output to make it
clear about which OpenPOWER ELF ABI version binary was built for.
The strings used in this change are based on "64-Bit ELF V2 ABI
Specification/3.1. ELF Header" document available at
http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/dbdoclet.50655241_97607.html
Example:
$ file t1-Flag2 -m -m contrib/file/magic/Magdir/elf t1-Flag2: ELF 64-bit MSB
executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1
(FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD
13.0 (1300033), FreeBSD-style, not stripped
Submitted by: alfredo.junior_eldorado.org.br
Reviewed by: luporl
Differential Revision: https://reviews.freebsd.org/D20771
Notes:
svn path=/head/; revision=349509
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
PR: 230141
exp-run by: antoine
Notes:
svn path=/head/; revision=337442
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Magic file for dump(8) had this dump and previous dump dates reversed.
Fix order for all three flavours of the dump(8) format.
This fix was committed to upstream repo as magic/Magdir/dump,v 1.17
and will be merged during next vendor import.
PR: 223155
MFC after: 2 weeks
Notes:
svn path=/head/; revision=335675
|
| | |
| |
| |
| |
| |
| |
| |
| | |
libraries installed from ports as pie executables instead of shared libraries,
and consequently breaks ports.
Notes:
svn path=/head/; revision=333944
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge the latest file(1) in.
Relevent Changelog:
- 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
Relnotes: yes
Notes:
svn path=/head/; revision=333919
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
Approved by: emaste (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D12400
Notes:
svn path=/head/; revision=323683
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Reported by: Thomas Jarosch of Intra2net AG
Reviewed by: emaste, jhb
Security: CVE-2017-1000249
Notes:
svn path=/head/; revision=323278
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=308420
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
Relnotes: yes
MFC after: 2 weeks
Approved by: re (gjb)
Notes:
svn path=/head/; revision=302221
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Relnotes: yes
Notes:
svn path=/head/; revision=299736
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: 209211
MFC after: 2 weeks
X-MFC: if there is no new file release
Notes:
svn path=/head/; revision=299238
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert: Don't close stdin...
This have been observed by portupgrade in its interaction with file(1),
as reported as a regression in bin/209211.
PR: 209211
MFC after: 3 days
Notes:
svn path=/head/; revision=299234
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update file to 5.26.
MFC after: 2 weeks
Relnotes: yes
Notes:
svn path=/head/; revision=298192
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Notes:
svn path=/head/; revision=288143
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=287454
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
PR: 181436
MFC after: 2 weeks
Notes:
svn path=/head/; revision=287453
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
Reported by: jkim
MFC after: 13 days
Notes:
svn path=/head/; revision=284277
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
Update file to 5.23.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=284237
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
Update file to 5.22.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=276577
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=275698
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
filesystems. It differs from file(1) in that it gives machine-parseable
output, it outputs filesystem labels, doesn't get confused by other
formats metadata, and runs in Capsicum sandbox.
Differential Revision: https://reviews.freebsd.org/D1255
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=275680
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Security: FreeBSD-SA-14:28.file
Security: CVE-2014-3710, CVE-2014-8116, CVE-2014-8117
Notes:
svn path=/head/; revision=275666
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update filesystems magic. This fixes a regression introduced by
libmagic 5.19 which prevents file(1) to show more verbose information
about a MBR.
Submitted by: madpilot
MFC after: 2 weeks
Notes:
svn path=/head/; revision=273689
|
| |\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267897
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Security: FreeBSD-SA-14:16.file
Approved by: so
Notes:
svn path=/head/; revision=267827
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The NetBSD Foundation states "Third parties are encouraged to change the
license on any files which have a 4-clause license contributed to the
NetBSD Foundation to a 2-clause license."
This change removes clauses 3 and 4 from copyright / license blocks that
list The NetBSD Foundation as the only copyright holder.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=263289
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
zoulasc) to contrib/file:
don't write a char to a pointer.
MFC after: 3 days
Notes:
svn path=/head/; revision=259724
|
| | |
| |
| |
| |
| |
| |
| | |
Submitted by: skreuzer
Notes:
svn path=/head/; revision=245307
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Magic tests containing "search" or "regex" directives were incorrectly
compiled by "mkmagic" and were effectively ignored. This caused troff
files (for example) to be detected as simply "ASCII text" instead of
as "troff or preprocessor input, ASCII text".
PR: bin/170415
Approved by: consensus on developers@
MFC after: 3 days
Notes:
svn path=/head/; revision=239348
|
| |\|
| |
| |
| | |
Notes:
svn path=/head/; revision=234449
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
problem. (This fix has already been applied upstream, but we do not
have the latest version of file in the tree at the moment.)
MFC after: 1 week
Notes:
svn path=/head/; revision=228553
|