Age | Commit message (Expand) | Author |
2015-08-11 | When an exact string match is found, only print the test string, not up | Nicholas Marriott |
2015-08-11 | Any type can be prefixed with "u", even where it makes no sense. Also | Nicholas Marriott |
2015-08-11 | Warn sensibly for unrecognised !: lines rather than trying to parse them. | Nicholas Marriott |
2015-08-11 | Accept hexadecimal numbers without 0x if they aren't a valid decimal | Nicholas Marriott |
2015-08-11 | Actually leave the invalid ml in the tree after making it type NONE. | Nicholas Marriott |
2015-08-11 | An invalid line can't just be thrown away because if it has any children | Nicholas Marriott |
2015-08-11 | Extend accepted operators to +-&/%* for integer tests. | Nicholas Marriott |
2015-08-11 | Support = test for floats and doubles. | Nicholas Marriott |
2015-08-11 | If we are expecting a signed number but it fails, try to parse it as | Nicholas Marriott |
2015-08-11 | Allow spaces around any operator, not just =. | Nicholas Marriott |
2015-08-11 | Include more context in warnings where it is possible. | Nicholas Marriott |
2015-08-11 | Add another function for printing warnings before the magic_line is | Nicholas Marriott |
2015-07-30 | note that symlinks are not followed by default; | Jason McIntyre |
2015-07-20 | Remove leftover xfree() prototype. | Nicholas Marriott |
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-07-08 | Do not allow '\0' as an offset operator or type. | Tobias Stoeckmann |
2015-06-17 | Use strdup in xstrdup from Fritjof Bornebusch. While here, remove xfree | Nicholas Marriott |
2015-06-04 | systrace(4) STRIOCATTACH can only fail for file(1) if it is already | Nicholas Marriott |
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 | Use gmtime not localtime when we want UTC, I got it right in one place | Nicholas Marriott |
2015-05-29 | Don't stop at the first successful test unless it has generated some | Nicholas Marriott |
2015-05-29 | The case-insensitive flag (c) for string and search tests doesn't make | Nicholas Marriott |
2015-05-29 | I got confused and made the strength multiplier 20, it should be 10. | Nicholas Marriott |
2015-05-29 | file(1) needs access(/etc/localtime) for localtime(). | 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-30 | Add a comment about waitpid, suggested by espie@. | Nicholas Marriott |
2015-04-30 | Tweak comment so it doesn't imply line buffering is needed (any will do | Nicholas Marriott |
2015-04-29 | the non braced do while made my teeth hurt | 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 a _file user and use for privsep, ok deraadt | Nicholas Marriott |
2015-04-27 | Add simple privilege separation to file(1). Two processes, file | Nicholas Marriott |
2015-04-27 | remove some extraneous text; ok nicm | Jason McIntyre |
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-25 | Only print MIME warnings when warnings are enabled. | Nicholas Marriott |
2015-04-25 | Fail if a \ appears at EOL rather than continuing off the end of the | Nicholas Marriott |
2015-04-25 | Switch to using the POSIX endian macros, i.e: be64toh vs. betoh64. | Bryan Steele |
2015-04-24 | Document -h, and bring some consistency to the option descriptions. ok jmc | Nicholas Marriott |
2015-04-24 | tweaks; ok nicm | Jason McIntyre |
2015-04-24 | Do not attempt to use ~/.magic if running as root (or issetugid()). | Nicholas Marriott |
2015-04-24 | move an ugly space | Theo de Raadt |
2015-04-24 | We need to loop over the files once to work out the width of the labels | Nicholas Marriott |