summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.Nicholas Marriott
2015-11-20Fix multiple issues regarding process group and signal mask handlingIngo Schwarze
found by tb@ and millert@; parts of the code, in particular in tag.c, by millert@; OK millert@.
2015-11-20pledge "stdio rpath wpath cpath fattr flock tty"Theo de Raadt
ok millert
2015-11-20switch back to yaccing parse.y, it seems to work.Ted Unangst
2015-11-20ansiTed Unangst
2015-11-20The alerts callback should be fired for bells even if bell-action isNicholas Marriott
none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@.
2015-11-20wrapping an ioctl for TIOCGWINSZ inside #ifdef TIOCGWINSIZE (entirelyTheo de Raadt
different) makes no sense; instead, accept all modern systems have TIOCGWINSZ.
2015-11-20spacesTheo de Raadt
2015-11-20do not need sys/param.hTheo de Raadt
2015-11-20Replace hardcoded "2" with SHUT_RDWR; from Ricardo MestreJeremie Courreges-Anglas
2015-11-20Instead of separate tables for different types of options, give eachNicholas Marriott
option a scope type (server, session, window) in one table.
2015-11-20vi -S doesn't need proc or exec.Anthony J. Bentley
ok tb@
2015-11-20Always use the system m4; OK tedu@Todd C. Miller
2015-11-20Back out rev 1.22 which somehow had unreported merge conflicts.Todd C. Miller
2015-11-20Always use the system m4.Todd C. Miller
2015-11-20add cast to make -Werror cleanDamien Miller
2015-11-20quick hack to fix "tail +n", reported broken by Mikolaj Kucharski.Ted Unangst
this doesn't attempt to repair all cases, but restoring basic functionality is a first step.
2015-11-20Cast two ctype args to u_char.mmcc
2015-11-19burn down all the gratutious alloca() compatability that autofuck injectedTed Unangst
to ensure nobody uses alloca by accident.
2015-11-19make sure parse.c depends on initparse.cTed Unangst
2015-11-19remove the LGPL gettext.h since we aren't using it anyway.Ted Unangst
spotted by nicm
2015-11-19split out some variable initialization to be easierTed Unangst
2015-11-19Replace Char (defined as unsigned char) with u_char.mmcc
ok tedu@
2015-11-19it is not necessary to cast the result of malloc/calloc.Ted Unangst
also replace some 0s with the modern concept of NULL
2015-11-19flex_alloc and flex_free are nothing more than malloc and free, so replaceTed Unangst
them with the real functions so as to not trick people into thinking they are special
2015-11-19it should be safe to assume the presence of memset these days instead ofTed Unangst
implementing a local version.
2015-11-19remove VMS and MSDOS supportTed Unangst
2015-11-19mechanical knfTed Unangst
2015-11-19orbital strike from moonbase knfTed Unangst
2015-11-19Only assume pasting with at least two characters, reduces problems forNicholas Marriott
people who can type ^B c very fast, or who are using tmux inside something else that buffers.
2015-11-19typically indentation decreases after a block is closedTed Unangst
2015-11-19repair some of the preposterously damaged indentationTed Unangst
2015-11-19we don't keep vim modelines in filesTed Unangst
2015-11-19how did the pledge "dns" get forgotten?!?! wow..Theo de Raadt
2015-11-19Sort and simplify includes, remove a couple needless extern decls.mmcc
From Michael Reed. ok tedu@
2015-11-19add back flex++.1 link noticed by sthenTed Unangst
2015-11-19Update flex from ancient 2.5.4 to the recent 2.5.39.Ted Unangst
This work was all done by Serguey Parkhomovsky. Thanks. Some changes from upstream: * Removed autotools cruft/localization/texinfo manual/etc * Kept the old manpage, as the new manpage is content-free * Used safe string handling functions and fixed several compiler warnings * pledge(2). Flex 2.5.39 now forks/execs its filter chains and needs proc exec in addition to what was previously pledged * Removed register keyword from all variable declarations * renamed parse.c, parse.h, scan.c, skel.c with init prefix so compiling flex outside of obj by accident wouldn't clobber the bootstrap files * Minor fixes (spelling, accessing buf[strlen(buf) - 1] for zero-length strings in initscan.c/scan.l, etc) that were already in our tree This is a huge change, so it's going in the tree code bomb style. I'm not excited about the growth in complexity (like now running m4 to _post_ process lexers) but hopefully this will be a one time update and we will now take "ownership" of the code.
2015-11-19"tty proc exec", not "proc exec tty"Anthony J. Bentley
2015-11-19if you're going to call err(), need to use <err.h>Ted Unangst
2015-11-19another try to allow tailing multiple files. maybe it works?Ted Unangst
commit now to allow people to test. from Martijn van Duren
2015-11-19opencvs can use pledge "stdio rpath wpath cpath fattr proc exec".Theo de Raadt
I have not looked into adding stricter pledges later in the code.
2015-11-19The activity flag could already be set, so queue the callback always (ifNicholas Marriott
not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@
2015-11-19backout pledge completely for now, newsyslog needs chown() which is restrictedStuart Henderson
2015-11-19ban ConnectionAttempts=0, it makes no sense and would causeDamien Miller
ssh_connect_direct() to print an uninitialised stack variable; bz#2500 reported by dvw AT phas.ubc.ca
2015-11-19Remove cscope support in vi.Anthony J. Bentley
It makes no sense to keep support for a non-base tool in base, especially for a feature that few if any people use.
2015-11-19pledge "stdio rpath". Might not need "rpath", but ...Theo de Raadt
2015-11-19trailing whitespaceDamien Miller
2015-11-19print host certificate contents at debug levelDamien Miller
2015-11-19move the certificate validity formatting code to sshkey.[ch]Damien Miller
2015-11-18don't drop "pledge exec", it's needed for compression. ok deraadt@Stuart Henderson