summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Expand)Author
2015-10-05Very trivial changes from file 5.x: spelling mistakes, %ld->%d and someNicholas Marriott
2015-10-05Get BE and LE UTF-32 correct, from file 5.x.Nicholas Marriott
2015-10-05Update compress magic from the upstream file 5.x magic files.Nicholas Marriott
2015-10-05Remove the non-standard -l flag that pipes the output through pr(1).Todd C. Miller
2015-10-05Add support for !:strength modifier to adjust strength of a test.Nicholas Marriott
2015-10-05Offset into the file can be size_t and add some casts to remove warnings.Nicholas Marriott
2015-10-05Style nits on a couple of casts.Nicholas Marriott
2015-10-05some more bzero->explicit_bzero, from Michael McConvilleDamien Miller
2015-10-05correct picasso's birth date;Jason McIntyre
2015-10-05use different tame requests if TMPDIR is in env:Sebastien Marie
2015-10-05Handle ifi_oqdrops in netstat(8).Masao Uebayashi
2015-10-05If expression omits -exec/execdir/-ok primaries, then find will neverTheo de Raadt
2015-10-05If the -l flag is set, diff will fork/execve pr on a pipe. But otherTheo de Raadt
2015-10-05tame "stdio rpath" or tame "stdio" suffices for all of these programs.Theo de Raadt
2015-10-05This can use tame "stdio rpath" from the top. If we are only working onTheo de Raadt
2015-10-05tame "stdio rpath" works. (Someone could refactor the processing loopTheo de Raadt
2015-10-05tame "stdio rpath" works fine, as long as we sidestep the demanglingTheo de Raadt
2015-10-05Since the dawn of time, this has contained freopen() for the tty pathTheo de Raadt
2015-10-05tame "stdio rpath" initially; if we find out the only file operated onTheo de Raadt
2015-10-05tame "stdio rpath wpath cpath fattr", because this creates new files,Theo de Raadt
2015-10-05refactor, so we don't a C function in a .h file, yuck!Theo de Raadt
2015-10-05tame "stdio getpw" right at the top; this runs the whole gamut ofTheo de Raadt
2015-10-05tame "stdio rpath" for the entire lifetime. newsyntax() could open a fileTheo de Raadt
2015-10-05small KNFTheo de Raadt
2015-10-05tame "stdio rpath" early on, but if we discover only stdin is beingTheo de Raadt
2015-10-05use the normal -1 check for tame failureTheo de Raadt
2015-10-05use the normal -1 check for tame failureTheo de Raadt
2015-10-05tame "stdio rpath" is enough for the general case, which opens fileTheo de Raadt
2015-10-05tame "stdio rpath" works here. It may look like the stdin case can avoidTheo de Raadt
2015-10-05col can be locked down with tame "stdio", in case it is fed nasty input,Theo de Raadt
2015-10-05banner can be restricted to tame "stdio". if this program is put into aTheo de Raadt
2015-10-04remove tame "proc". it is not useful, because the "ed" diffs requireTheo de Raadt
2015-10-04Also needs "rpath" for some circumstances.Theo de Raadt
2015-10-04Add tame(2) to file(1) and drop the old systrace(4) sandbox. tame(2) isNicholas Marriott
2015-10-04Repair tame() error check to be == -1Theo de Raadt
2015-10-03Add ktracing of tame()'s arguments' valuesPhilip Guenther
2015-10-03option LFS is dead, but we missed option ACCOUNTING herePhilip Guenther
2015-10-03you can't edit stdin in place. check for this before the hack thatTed Unangst
2015-10-03Now that dc(1) no longer supports !command with popen(), we can startTheo de Raadt
2015-10-03delete documentation for ! commandTheo de Raadt
2015-10-03disable ! command, makes dc(1) more tameableOtto Moerbeek
2015-10-03wc only opens files read-only, proceses them, and spits results to stdout.Theo de Raadt
2015-10-03As pointed out by tobiasu, ed-style patches still use popen() and executeTheo de Raadt
2015-10-03- Simplify use of ctype functions.Tim van der Molen
2015-10-03tame "stdio" right between setlocale and getopt, it is easy to reviewTheo de Raadt
2015-10-03Fix wrong cast.Vadim Zhukov
2015-10-03grep only opens files read-only, reads via stdio or other methods, performsTheo de Raadt
2015-10-03tame "stdio getpw rpath" can be done quite early after the getopt.Theo de Raadt
2015-10-03leave does a fork, but other than that it is boring stdio.Theo de Raadt
2015-10-03gzip can use tame "stdio wpath cpath fattr". this blocks a lot ofTheo de Raadt