summaryrefslogtreecommitdiffstats
path: root/usr.bin/file (follow)
Commit message (Expand)AuthorAgeFilesLines
* After fork(2) the pledge(2) in the parent proc can be reduced tomestre2019-11-301-1/+4
* asprintf returns -1, not an arbitrary value < 0. Also upon error thederaadt2019-06-281-2/+2
* dev_t is signed to permit passing -1 as an invalid condition, but thederaadt2019-02-051-3/+3
* Regex flags should include REG_NEWLINE and REG_ICASE should actually benicm2019-01-151-2/+2
* the parent process doesn't do much but open files, but just the sametedu2019-01-061-1/+4
* Update qcow file definitionsccardenas2018-10-041-26/+60
* Return from magic_test does not need to be copied because the callernicm2018-06-141-3/+3
* Revert my changes in r1.60 back to nicm@'s latest for now.brynet2018-01-152-110/+243
* Default unknowns to application/octet-stream instead of x-not-regular-file.bentley2017-11-301-2/+2
* add missing types; from klemens nannijmc2017-09-201-5/+26
* Replace fgetln with POSIX getline, even though file was using fgetln inbrynet2017-07-021-10/+11
* close open fd after testing files, ensuring that fd isn't stdin.brynet2017-07-011-1/+3
* magicfp is fclosed where it was opened, remove fclose from magic_load()brynet2017-07-011-2/+1
* Fix stdin file read support, accidentally broken in my last commit.brynet2017-06-281-2/+6
* remove excess #includederaadt2017-06-281-6/+1
* perform an initial pledge very early on, and drop tzset to later.deraadt2017-06-281-4/+6
* Simplify file(1) by removing the no longer necessary parent/child separationbrynet2017-06-282-238/+101
* Style nits; no binary change.nicm2017-04-184-17/+12
* Recognise AArch64 binaries and core dumps.jsg2017-02-191-1/+2
* Pull in <time.h> for ctime_r, gmtime, etcguenther2016-08-261-1/+2
* Remove old unused prototype, from Ilya Kaliman.nicm2016-06-121-4/+1
* Tidy up some #include lines.nicm2016-05-012-10/+11
* Exact match use and name with strcmp rather than prefix with strncmp.nicm2016-05-011-3/+3
* Use the right size (include the length byte) when working out if anicm2016-05-011-2/+2
* Add support for 'name' and 'use' which allows more of the latest magicnicm2016-05-014-46/+241
* Trim = prefix from regex (it a noop).nicm2016-05-011-1/+3
* Remove __unused that are now lies.nicm2016-05-011-4/+3
* Add support for 'clear' test, and fix 'default' to expand the resultnicm2016-05-013-5/+32
* magic_test_type_default parameter is no longer __unused.nicm2016-04-301-3/+2
* Fix the default type to work properly, that is to only match if nonicm2016-04-302-3/+7
* Replace regex match string in results (some new magic entries use this).nicm2016-04-301-3/+5
* Partially sync magdir/sniffer from the file distribution on astron.com,sthen2016-04-281-3/+108
* typos;jmc2016-04-241-3/+3
* Sync 'archive' magic from file 5.25. Various improvements includingsthen2016-03-061-158/+330
* fix broken listczarkoff2016-03-041-2/+2
* fix typoczarkoff2016-03-041-3/+3
* Fix the C type used for 32-bit float/lefloat/befloat, it should be floatnicm2016-02-201-2/+2
* Therefor -> Therefore (where appropriate)tb2016-01-291-2/+2
* Sync magdir/animation with file 5.25, amongst other updates this fixes ansthen2016-01-021-78/+309
* Add --brief and --dereference, used by xdg-open/xdg-mime.jca2015-12-242-8/+10
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-051-2/+4
* Merge xmalloc.[ch] files across base, skipping OpenSSH for now.tobias2015-11-172-14/+9
* When validating a char by calling strchr() with a string of allowed chars,tobias2015-11-151-3/+3
* Break the message preparation bit of the main loop into its own functionnicm2015-11-131-39/+47
* Call stat not lstat with -L, makes links actually be followed. Reportednicm2015-11-131-27/+29
* palmpilot should have gone when palm was added, it is redundant.nicm2015-11-051-12/+0
* Update Matroska magic file.nicm2015-10-311-4/+6
* The file(1) magic-parsing process was using pledge "stdio getpw proc recvfd"deraadt2015-10-171-2/+2
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-6/+6
* Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on whichderaadt2015-10-061-3/+3