summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-09-02style polishingTed Unangst
2016-09-02replace exit() with err() and errx() so user knows what happenedTed Unangst
2016-09-02use err() instead of errx when an errno is setTed Unangst
2016-09-02Fix 'c'hange command handling if last line of a file is removed.Tobias Stoeckmann
If the last line of a file is removed, the line cache is erroneously considered empty, which means that changed lines are added at the top. spotted by and okay otto@
2016-09-02the old check for when verify needed to create files (affecting pledge)Ted Unangst
was slightly wrong, but it didn't matter. new gzip mode however falls into the gap. the zsig code will default to stdout, therefore it needs much fewer privileges if msgfile is not specified.
2016-09-02combine the pledge switch with the execution switch. no changes yet,Ted Unangst
but we can do a little better in some cases.
2016-09-02-e and -z cannot be combinedTed Unangst
2016-09-02space out the exampleTed Unangst
2016-09-02Remember the number of lines scrolled into the history (versus clearedNicholas Marriott
into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
2016-09-02clarify that -L will exit without running a command.Ted Unangst
2016-09-02shorten s_server;Jason McIntyre
2016-09-02finish the sentence;Jason McIntyre
2016-09-02add support for the verified auth ioctls using 'persist' rules.Ted Unangst
ok deraadt henning
2016-09-02_PASSWORD_LEN is length that comes out of crypt(), not a meaningfulTed Unangst
length for user entered passwords. And the +1 is just superstitious nonsense inherited from getpass() guts. Switch to a pleasing fixed size of 1024. ok millert
2016-09-02more jmc tweaksMarc Espie
2016-09-02document the new stuff, usage nits.Marc Espie
some input by jmc@, to be polished later "get it in now" tedu@ deraadt@
2016-09-02convert getpass to readpassphrase. from Dimitris PapastamosTed Unangst
2016-09-02duplicate varMarc Espie
2016-09-02add a new option (-z) for signing gzip archives.Marc Espie
- simple barebones gzip header parsing - signature is outside of the archive - checksums for blocks of 64K - verify stuff then pass it to the pipeline lots of inputs by tedu@ and deraadt@ okay tedu@
2016-09-02Fix the begin of word issue in vi(1).Martijn van Duren
Similar fix went in sed and ed. Feedback and OK schwarze@
2016-09-02move more code into createsig. callers just pass seckey filename.Ted Unangst
2016-09-02split the sign() function into two, with a pure memory core madeTed Unangst
available as a separate function to make it easier to reuse in other code.
2016-09-02style cleanup: sort headers; group and sort variables; no parens forTheo Buehler
return; sort getopt string and corresponding switch; and some more tedious stuff ok martijn
2016-09-02When "makewhatis -d" tries to add to a database that doesn't (yet) exist,Ingo Schwarze
silently create it from scratch instead of printing a warning. The annoying warning message was reported by ajacoutot@, and espie@ convincingly argues that a non-existing database can be considered equivalent to an empty one.
2016-09-02make sure to explicitly clear memory that is used for password input.Gleydson Soares
OK tedu@
2016-09-02If reading fails, do not go into infinite loop asking for a filenameOtto Moerbeek
Happens in bulf build where no tty is available. ok sthen@ naddy@ $(jot -b yes 1000) landry@
2016-09-02Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and addVincent Gross
the relevant counters. Ok mikeb@
2016-09-01Fix file descriptor leakMark Lumsden
Found by Coverity Scan. The ffropen() function returns FIODIR when the file is a directory. Check return value on error, in case of directory, close the descriptor. Source Joachim Nilsson, ok sunil@
2016-09-01don't initialize variables with functionsTed Unangst
2016-09-01unconst these parameters; i won't be changing bsd auth today.Ted Unangst
2016-09-01add a -t keytype option for untrusted comment automatic key extractionMarc Espie
(not in VERIFYONLY mode) to be documented and used shortly okay tedu@
2016-09-01remove "sparc" from a commentIngo Schwarze
2016-09-01move "sparc" down to discontinued architecturesIngo Schwarze
2016-09-01Document all letters used for route flags in "netstat -r".Alexander Bluhm
OK jmc@ mpi@ sthen@
2016-09-01move the authentication code to a functionTed Unangst
2016-09-01Fix possible NULL pointer dereference.Sunil Nimmagadda
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check. From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
2016-09-01remove sparc supportTed Unangst
2016-09-01keep the code that endian swaps, but remove the explanation that it'sTed Unangst
for converting between freebsd and sunos.
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
output. Sort them according to the RTF_... defines in route.h. OK claudio@ mpi@
2016-09-01shorten s_client;Jason McIntyre
2016-09-01update currency exchange rates;Jason McIntyre
2016-08-31Complete do-over for column to prepare for implementing UTF-8 support.Martijn van Duren
Fix a few bugs while here, namely: - Fix the width-calculation of a tab-character - Correct treatment of files without trailing newlines. - Repair "-xc 7" - Overflow protection for the number of rows and columns Lots of help from and OK schwarze@ Get it in deraadt@
2016-08-31rlog: add -E and -S options to configure revision separators, toJoshua Stein
work around commits that might have the default strings in them ok tom deraadt
2016-08-31replace obsolete getpass with readpassphrase.Ted Unangst
ok gsoares
2016-08-31new: Joe Ossanna 1928-1977Ingo Schwarze
from Jan Stary <hans at stare dot cz>
2016-08-31Fix a bug reported by Han Boetes. Easily reproducible via:Mark Lumsden
mg c-x b RET c-x k RET mg segvs. Initial diff from Joachim Nilsson. This diff tested by Han and Joachim and ok florian@ jasper@
2016-08-31We don't need any VMS access tricks.Theo de Raadt
ok beck tedu
2016-08-31nicer format strings and use dprintf instead of writeTed Unangst
2016-08-31close an opened fd before returning from mainJonathan Gray
ok guenther@
2016-08-31When iterating over the list of input files close them whenJonathan Gray
processing of each is done. ok guenther@