summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Expand)AuthorFilesLines
2015-10-16wrap a long linederaadt1-2/+3
2015-10-16Implement real "flock" request and add it to userland programs thatmillert1-2/+2
2015-10-16Add allocarray(), an overflow-safe allocation function.mmcc1-1/+26
2015-10-15Remove three distracting aliases for NULL.mmcc2-15/+11
2015-10-15Remove an unused included header (sys/stat.h).mmcc1-2/+1
2015-10-15Introduce an unsigned char variable for the ctype function calls.mmcc1-5/+7
2015-10-14Use a strict $PATH of "/usr/bin:/usr/local/bin" to run the (de)compressorsderaadt1-1/+5
2015-10-13revert previous. changes the behaviour of:daniel2-25/+14
2015-10-12reenable pledge(2) on pax, but only if pmode isn't in use or if actionsemarie1-6/+6
2015-10-12indent the builtin text a little, for naddy;jmc1-3/+3
2015-10-12Revert the pledge() call on pax/ar_io.c for now.semarie1-1/+3
2015-10-12preservation modes can adjust setugid bits, so no pledge is possible.deraadt2-2/+23
2015-10-11Don't return errno from main()guenther1-2/+2
2015-10-11pledge "stdio tty" works once the kernel allows TIOCGWINSZ. Do the pledgederaadt1-3/+11
2015-10-11Don't allow "rm -rf /"daniel2-14/+25
2015-10-10Pledge that ln only needs "stdio rpath cpath".doug1-1/+4
2015-10-10Add a define for the invalid state, from mksh via Michael McConville.nicm1-2/+3
2015-10-10Kill pledges to only use "stdio proc".doug1-1/+5
2015-10-10normalize a few more tame request orderings, to help reviewderaadt1-2/+2
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",deraadt2-4/+4
2015-10-10Replace calls to x_emacs_putbuf() with x_do_ins() since allmillert1-17/+3
2015-10-10Unused macros; from Michael McConville.nicm1-4/+1
2015-10-10Move more declarations out of proto.h into better headers, from Michaelnicm3-19/+19
2015-10-10ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"deraadt3-3/+13
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an owntobias3-6/+7
2015-10-09Define functions as static when they are not used outside their own c-files.tobias6-55/+56
2015-10-09Lexer states are not needed outside of lex.c.millert2-20/+20
2015-10-09Mark static globals that are only used in their respective .c files.millert7-41/+41
2015-10-09remove null check before afree. from Michael McConvilletedu7-33/+20
2015-10-09pare down the readme so as to not imply we are tracking upstream.tedu1-144/+3
2015-10-09Change all tame callers to namechange to pledge(2).deraadt19-64/+64
2015-10-08stop trying to gift history files to the original owner. instead, don'ttedu1-7/+6
2015-10-08little cleanup from Michael McConville, mostly related to stale comments.tedu1-20/+12
2015-10-08the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath".deraadt1-1/+9
2015-10-08Try again. Both -R and -p prevent use of tame, but other cases can use it.deraadt1-1/+9
2015-10-08ah, fchflags. We will come back to this issue laterderaadt1-6/+1
2015-10-07tame "stdio cpath". The cpath is for rmdir(). Tame bundles all the systemderaadt1-1/+4
2015-10-07We cannot tame if -R is specified, because mknod and mkfifo may be called.deraadt1-1/+6
2015-10-07tame "stdio cpath rpath fattr", unless mkdir -m is passed a mode whichderaadt1-1/+6
2015-10-07tame "stdio rpath wpath". rpath is for localtime() and mktime(),deraadt1-1/+4
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edderaadt1-1/+5
2015-10-06Remove an old and broken test snippet, from Michael McConville. ok millertnicm1-25/+1
2015-10-06Drop the silly and distracting ACCEPT and REJECT macros, from Michaelnicm1-26/+24
2015-10-06Move tree.c protos into tree.h, from Michael McConville, ok millertnicm2-10/+10
2015-10-06we're running rm. call it rm too.tedu1-2/+2
2015-10-05Remove EXTERN from lex.h and put the definitions in lex.c, from Michaelnicm2-9/+19
2015-10-05Remove EXTERN from table.h and put the definitions in table.c, fromnicm2-14/+26
2015-10-05tame "stdio rpath" works for all use cases of pwd(1). In part thisderaadt1-1/+4
2015-10-04expr can use tame "stdio"deraadt1-1/+5
2015-10-04ls can use tame "stdio rpath getpw". It does uid/gid lookups, usingderaadt1-1/+4