summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Expand)Author
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
2015-10-03BIO_get_fd() could return fd 0; fix error condition. Found atTheo de Raadt
2015-10-03switch from using the systrace-based sandbox to the tame-based sandbox.Theo de Raadt
2015-10-03patch appears to work fully with tame "stdio rpath wpath cpath tmppath fattr".Theo de Raadt
2015-10-03uniq has a complicated initialization around getopt. beforehands, weTheo de Raadt
2015-10-03script is two processes. the main io-loop process can be locked down withTheo de Raadt
2015-10-03finger can either do local users only, or in in remote users. (whoTheo de Raadt
2015-10-03whois uses dns to lookup whois servers, and then opens sockets to them.Theo de Raadt
2015-10-03even before it reaches getopt(), this program will never do more thanTheo de Raadt
2015-10-03sed only works on files, so the obvious goal is to remove it's networkTheo de Raadt
2015-10-02update the -t args list; ok guentherJason McIntyre
2015-10-02use limits.h instead of sys/param.h to get PATH_MAXTheo de Raadt
2015-10-02avoid sys/param.h, by using PATH_MAXTheo de Raadt
2015-10-02fix emailTheo de Raadt
2015-10-02Replace %s in the format string, with its value (macro).Alexandre Ratchov
2015-10-02As the socket path is known, use its size rather that PATH_MAX.Alexandre Ratchov
2015-10-02use macros instead of hard-coded strings for unix sockets pathsAlexandre Ratchov
2015-10-02Add ktracing of argv and envp to execve(2), with envp not traced by defaultPhilip Guenther
2015-10-02a sandbox using tameTheo de Raadt
2015-10-02re-order system calls in order of risk, ok i'll be honest, ordered thisTheo de Raadt
2015-10-01update currency exchange rates;Jason McIntyre
2015-10-01Another s/M_ASN1_INTEGER_free/ASN1_INTEGER_free/.Joel Sing
2015-09-29Check to see if the file to be opened is a directory as soon as isMark Lumsden
2015-09-29rename random.c to util.c so it doesn't look scary. (util.c repo copied)Ted Unangst
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsPhilip Guenther
2015-09-29Mark eread(), veread(), and eformat() as printf-like andPhilip Guenther
2015-03-19Clean up the includes in mg.Brian Callahan
2015-03-16Change the internal name of the newline function to deconflict with aBrian Callahan
2014-03-26Previously, C-t (transpose two chars) did not behave the same asMark Lumsden
2013-03-25Display the window's column number in mode line not theFlorian Obser
2012-05-18Allow no-tab-mode to compile. From James Turner.Mark Lumsden
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding