summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Expand)Author
2015-10-17Move a system header include from the global header (sh.h) into themmcc
2015-10-17Change allocarray() to areallocarray(), a full reallocarray clone. Allmmcc
2015-10-17Copy alloc()'s overflow check to aresize().mmcc
2015-10-16Change x_do_ins()'s arg type from int to size_t for correctness's sake,mmcc
2015-10-16Move the overflow check to alloc() so that the link struct overhead canmmcc
2015-10-16Cast iscntrl()'s arg to unsigned char.mmcc
2015-10-16wrap a long lineTheo de Raadt
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
2015-10-16Add allocarray(), an overflow-safe allocation function.mmcc
2015-10-15Remove three distracting aliases for NULL.mmcc
2015-10-15Remove an unused included header (sys/stat.h).mmcc
2015-10-15Introduce an unsigned char variable for the ctype function calls.mmcc
2015-10-14Use a strict $PATH of "/usr/bin:/usr/local/bin" to run the (de)compressorsTheo de Raadt
2015-10-13revert previous. changes the behaviour of:Daniel Dickman
2015-10-12reenable pledge(2) on pax, but only if pmode isn't in use or if actionSebastien Marie
2015-10-12indent the builtin text a little, for naddy;Jason McIntyre
2015-10-12Revert the pledge() call on pax/ar_io.c for now.Sebastien Marie
2015-10-12preservation modes can adjust setugid bits, so no pledge is possible.Theo de Raadt
2015-10-11Don't return errno from main()Philip Guenther
2015-10-11pledge "stdio tty" works once the kernel allows TIOCGWINSZ. Do the pledgeTheo de Raadt
2015-10-11Don't allow "rm -rf /"Daniel Dickman
2015-10-10Pledge that ln only needs "stdio rpath cpath".Doug Hogan
2015-10-10Add a define for the invalid state, from mksh via Michael McConville.Nicholas Marriott
2015-10-10Kill pledges to only use "stdio proc".Doug Hogan
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",Theo de Raadt
2015-10-10Replace calls to x_emacs_putbuf() with x_do_ins() since allTodd C. Miller
2015-10-10Unused macros; from Michael McConville.Nicholas Marriott
2015-10-10Move more declarations out of proto.h into better headers, from MichaelNicholas Marriott
2015-10-10ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"Theo de Raadt
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an ownTobias Stoeckmann
2015-10-09Define functions as static when they are not used outside their own c-files.Tobias Stoeckmann
2015-10-09Lexer states are not needed outside of lex.c.Todd C. Miller
2015-10-09Mark static globals that are only used in their respective .c files.Todd C. Miller
2015-10-09remove null check before afree. from Michael McConvilleTed Unangst
2015-10-09pare down the readme so as to not imply we are tracking upstream.Ted Unangst
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-08stop trying to gift history files to the original owner. instead, don'tTed Unangst
2015-10-08little cleanup from Michael McConville, mostly related to stale comments.Ted Unangst
2015-10-08the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath".Theo de Raadt
2015-10-08Try again. Both -R and -p prevent use of tame, but other cases can use it.Theo de Raadt
2015-10-08ah, fchflags. We will come back to this issue laterTheo de Raadt
2015-10-07tame "stdio cpath". The cpath is for rmdir(). Tame bundles all the systemTheo de Raadt
2015-10-07We cannot tame if -R is specified, because mknod and mkfifo may be called.Theo de Raadt
2015-10-07tame "stdio cpath rpath fattr", unless mkdir -m is passed a mode whichTheo de Raadt
2015-10-07tame "stdio rpath wpath". rpath is for localtime() and mktime(),Theo de Raadt
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edTheo de Raadt
2015-10-06Remove an old and broken test snippet, from Michael McConville. ok millertNicholas Marriott
2015-10-06Drop the silly and distracting ACCEPT and REJECT macros, from MichaelNicholas Marriott
2015-10-06Move tree.c protos into tree.h, from Michael McConville, ok millertNicholas Marriott