summaryrefslogtreecommitdiff
path: root/usr.bin/file
AgeCommit message (Expand)Author
2015-04-29the non braced do while made my teeth hurtTheo de Raadt
2015-04-28Add a missing free in the error path.Lawrence Teo
2015-04-27Use a systrace(4) sandbox with a short whitelist of allowed syscalls forNicholas Marriott
2015-04-27Add a _file user and use for privsep, ok deraadtNicholas Marriott
2015-04-27Add simple privilege separation to file(1). Two processes, fileNicholas Marriott
2015-04-27remove some extraneous text; ok nicmJason McIntyre
2015-04-26Don't support -s on FIFOs, it doesn't work well and the workarounds areNicholas Marriott
2015-04-26stat() the original link path not the resolved one which may be relative.Nicholas Marriott
2015-04-25Only print MIME warnings when warnings are enabled.Nicholas Marriott
2015-04-25Fail if a \ appears at EOL rather than continuing off the end of theNicholas Marriott
2015-04-25Switch to using the POSIX endian macros, i.e: be64toh vs. betoh64.Bryan Steele
2015-04-24Document -h, and bring some consistency to the option descriptions. ok jmcNicholas Marriott
2015-04-24tweaks; ok nicmJason McIntyre
2015-04-24Do not attempt to use ~/.magic if running as root (or issetugid()).Nicholas Marriott
2015-04-24move an ugly spaceTheo de Raadt
2015-04-24We need to loop over the files once to work out the width of the labelsNicholas Marriott
2015-04-24Trying to drop privileges means we can't handle ARG_MAX arguments, soNicholas Marriott
2015-04-24Add a couple of missing spaces (style nits).Nicholas Marriott
2015-04-24Use symbolic constants for st_mode flags, no binary change.Nicholas Marriott
2015-04-24If ~/.magic exists but can't be used, fail rather than silently fallingNicholas Marriott
2015-04-24Fix a couple of errors in the magic source files.Nicholas Marriott
2015-04-24New implementation of the file(1) utility. This is a simplified,Nicholas Marriott
2015-02-15Use "In" to mark up include files, instead of wrongly wrapping with Aq.Anthony J. Bentley
2015-01-16Add missing <limits.h> to file.c and remove definition of PATH_MAXTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h>Doug Hogan
2015-01-16If MAXPATHLEN is undefined, do not set it to 512. Dangerous.Theo de Raadt
2014-11-04bounds check, apply from upstream devel/libmagicTheo de Raadt
2014-10-26Place additional parantheses around readdir() and check return does notBrad Smith
2014-10-11Userland reallocarray() audit.Doug Hogan
2014-05-18use reallocarrayMarc Espie
2014-01-16Avoid size_t overflow in apprentice_map.Tobias Stoeckmann
2013-04-20use poll() instead of select() with a limited-size fd_setTheo de Raadt
2013-04-17variety of fixes to correct large time_t code. it is quite broken upstream.Theo de Raadt
2013-01-17remove uesless Pp;Jason McIntyre
2013-01-05teach file about lua 5.2.Federico G. Schwindt
2012-04-10Add a start record to the ktrace and use a special magic string "KTR"Mike Belopuhov
2011-10-15Ignatios Souvatzis at NetBSD rescinded the third and fourth clause inIngo Schwarze
2011-07-25- Use strtof instead of casting strtod back to float (apprentice.c),Martynas Venckus
2011-04-15Make the file_mbswidth() function cope if wcwidth() returns -1.Stefan Sperling
2011-01-10delete embarrasingly horrid use of mktemp() brought in from upstreamTheo de Raadt
2010-10-28more roff adjustments;Jason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-15some escapes i missed;Jason McIntyre
2010-01-17Backport bug fix from upstream.Charles Longeau
2010-01-02Various syntax errors in list headers, found by mandoc(1),Ingo Schwarze
2009-12-23partion -> partition. First one (mkfs.c) noted by Brad Tilley on tech@.Kenneth R Westerback
2009-11-26grammar;Jason McIntyre
2009-11-11fix a buffer overflow found by parfaitJonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-26Fix usage; requested by jmc@Antoine Jacoutot