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