Age | Commit message (Expand) | Author |
2018-01-15 | Revert my changes in r1.60 back to nicm@'s latest for now. | Bryan Steele |
2017-11-30 | Default unknowns to application/octet-stream instead of x-not-regular-file. | Anthony J. Bentley |
2017-07-01 | close open fd after testing files, ensuring that fd isn't stdin. | Bryan Steele |
2017-06-28 | Fix stdin file read support, accidentally broken in my last commit. | Bryan Steele |
2017-06-28 | remove excess #include | Theo de Raadt |
2017-06-28 | perform an initial pledge very early on, and drop tzset to later. | Theo de Raadt |
2017-06-28 | Simplify file(1) by removing the no longer necessary parent/child separation | Bryan Steele |
2017-04-18 | Style nits; no binary change. | Nicholas Marriott |
2016-05-01 | Tidy up some #include lines. | Nicholas Marriott |
2015-12-24 | Add --brief and --dereference, used by xdg-open/xdg-mime. | Jeremie Courreges-Anglas |
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker |
2015-11-13 | Break the message preparation bit of the main loop into its own function | Nicholas Marriott |
2015-11-13 | Call stat not lstat with -L, makes links actually be followed. Reported | Nicholas Marriott |
2015-10-17 | The file(1) magic-parsing process was using pledge "stdio getpw proc recvfd" | Theo de Raadt |
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt |
2015-10-06 | Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on which | Theo de Raadt |
2015-10-05 | use the normal -1 check for tame failure | Theo de Raadt |
2015-10-04 | Add tame(2) to file(1) and drop the old systrace(4) sandbox. tame(2) is | Nicholas Marriott |
2015-10-02 | use limits.h instead of sys/param.h to get PATH_MAX | Theo de Raadt |
2015-07-12 | Keep one byte for terminating '\0'. | Tobias Stoeckmann |
2015-07-08 | Properly handle files >= 4 GB on 32 bit architectures. | Tobias Stoeckmann |
2015-05-30 | Support - to read from stdin, from Sebastien Marie. | Nicholas Marriott |
2015-05-29 | millert points out I can just call tzset() early to avoid having to | Nicholas Marriott |
2015-05-29 | Only mmap() on regular files; mmap() on /dev/stdin will happily map as | Nicholas Marriott |
2015-05-29 | Make things a little less confusing by making fill_buffer self-contained | Nicholas Marriott |
2015-05-29 | If reading into buffer, correct the stored file size at EOF, we don't | Nicholas Marriott |
2015-05-29 | Silently fall back to /etc/magic if ~/.magic can't be opened, ok deraadt stsp | Nicholas Marriott |
2015-05-28 | probably makes more sense to show "file" as being mandatory; | Jason McIntyre |
2015-05-18 | No longer need tricks with setvbuf(). Instead, we just give permission | Theo de Raadt |
2015-04-28 | Add a missing free in the error path. | Lawrence Teo |
2015-04-27 | Use a systrace(4) sandbox with a short whitelist of allowed syscalls for | Nicholas Marriott |
2015-04-27 | Add simple privilege separation to file(1). Two processes, file | Nicholas Marriott |
2015-04-26 | Don't support -s on FIFOs, it doesn't work well and the workarounds are | Nicholas Marriott |
2015-04-26 | stat() the original link path not the resolved one which may be relative. | Nicholas Marriott |
2015-04-24 | Do not attempt to use ~/.magic if running as root (or issetugid()). | Nicholas Marriott |
2015-04-24 | We need to loop over the files once to work out the width of the labels | Nicholas Marriott |
2015-04-24 | Trying to drop privileges means we can't handle ARG_MAX arguments, so | Nicholas Marriott |
2015-04-24 | Use symbolic constants for st_mode flags, no binary change. | Nicholas Marriott |
2015-04-24 | If ~/.magic exists but can't be used, fail rather than silently falling | Nicholas Marriott |
2015-04-24 | New implementation of the file(1) utility. This is a simplified, | Nicholas Marriott |
2015-01-16 | Add missing <limits.h> to file.c and remove definition of PATH_MAX | Todd C. Miller |
2015-01-16 | Replace <sys/param.h> with <limits.h> | Doug Hogan |
2015-01-16 | If MAXPATHLEN is undefined, do not set it to 512. Dangerous. | Theo de Raadt |
2011-04-15 | Make the file_mbswidth() function cope if wcwidth() returns -1. | Stefan Sperling |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt |
2009-10-26 | Fix usage; requested by jmc@ | Antoine Jacoutot |
2009-08-27 | Appease gcc2 (I wish people would write in C, rather than "latest crap | Theo de Raadt |
2009-04-24 | file update to 4.24 | Charles Longeau |
2008-05-08 | Update file to 4.21. | Charles Longeau |
2007-02-19 | Our version of file(1) doesn't have the MIME magic file, so remove | Tom Cosgrove |