summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-08-25add a sIgnore opcode that silently ignores options and use it toDamien Miller
suppress noisy deprecation warnings for the Protocol directive. req henning, ok markus
2016-08-25remove superfluous NOTREACHED commentDamien Miller
2016-08-25when using -o, we may restart a match in the middle of the line.Ted Unangst
set NOTBOL so that anchored patterns don't match. from a patch by Daniël de Kok in freebsd bug 201650 ok martijn
2016-08-25shorten the pkeyutl text;Jason McIntyre
help/ok guenther
2016-08-25Do not crash if display-message used without a client, issue reported byNicholas Marriott
Serge Aleynikov, fix from Thomas Adam.
2016-08-24shorten the pkeyparam text;Jason McIntyre
2016-08-24shorten the pkey text;Jason McIntyre
2016-08-24Convert quad_t to int64_t and %q to %llPhilip Guenther
Convert bzero() to memset() and bcopy() to memcpy() ok natano@ millert@
2016-08-23shorten pkcs12;Jason McIntyre
2016-08-23fix previous, a condition was modified incorrectly; ok markus@ deraadt@Otto Moerbeek
2016-08-23downgrade an error() to a debug2() to match similar casesDamien Miller
in addr_match_list()
2016-08-23fix negated address matching where the address list consists of aDamien Miller
single negated match, e.g. "Match addr !192.20.0.1" Report and patch from Jakub Jelen. bz#2397 ok dtucker@
2016-08-23fix matching for pattern lists that contain a single negated match,Damien Miller
e.g. "Host !example" report and patch from Robin Becker. bz#1918 ok dtucker@
2016-08-22Two minor fixes from dilyan palauzov.Nicholas Marriott
2016-08-22Replace "union sockunion" with "union sockaddr_union" which is alsoTodd C. Miller
used in the kernel. This makes it possible to remove the casts to "struct sockaddr *" when calling networking syscalls. OK jsing@ jca@
2016-08-22When trying to edit an existing database with makewhatis(8) -d or -uIngo Schwarze
but reading the database fails, report the full path to the database on standard error, and mention that the database is automatically recreated from scratch. Suggested by espie@.
2016-08-22When running into a mandoc.db(5) file still using the obsoleteIngo Schwarze
format based on SQLite 3, say so in words that mortals can understand rather than babbling about hex magic. Suggested by espie@.
2016-08-22shorten the pkcs8 text;Jason McIntyre
2016-08-22Sorry Andrew and Luke, I'm pretty sure we deleted your IRIX and VMS code.Theo de Raadt
2016-08-21Change sleep from crazy backoff to one second of sleep between retriesBob Beck
ok deraadt@
2016-08-20Use connect(2) + a connect_wait() function instead of connect_sync(),Todd C. Miller
similar to the example in connect(2). OK tedu@
2016-08-20When a mismatching end macro occurs while at least two nested blocksIngo Schwarze
are open, all except the innermost open block got a bogus MDOC_ENDED marker, in some situations triggering segfaults down the road which tb@ found with afl(1). Fix the logic error by figuring out up front whether an end macro has a matching body, and if it hasn't, don't mark any blocks as broken.
2016-08-20When scanning upwards for a column list to put a .Ta macro in,Ingo Schwarze
ignore body end markers of lists breaking other blocks. Fixing a logical error that caused a NULL deref found by tb@ with afl(1).
2016-08-20If a column list starts with implicit rows (that is, rows without .It)Ingo Schwarze
and roff-level nodes (e.g. tbl or eqn) follow, don't run into an assertion. Instead, wrap the roff-level nodes in their own row. Issue found by tb@ with afl(1).
2016-08-20shorten pkcs7 text;Jason McIntyre
2016-08-20shorten the passwd text; ok jsingJason McIntyre
2016-08-19update man pages now that login.conf uses auto roundsDaniel Jakots
better wording/ok sthen@ ok jmc@
2016-08-19shorten the ocsp text; ok beckJason McIntyre
2016-08-19remove UseLogin option and support for having /bin/login manageDamien Miller
login sessions; ok deraadt markus dtucker
2016-08-18Move connect_sync() to util.c and use it when connecting via httpTodd C. Miller
too. OK sthen@ deraadt@
2016-08-18shorten the nseq text;Jason McIntyre
2016-08-18fix an fd leakJonathan Gray
ok schwarze@
2016-08-17When the content of a manual page does not specify a section, theIngo Schwarze
empty string got added to the list of sections, breaking the database format slightly and causing the page to not be considered part of any section, not even if a section could be deduced from the directory or from the file name. Bug found due to the bogus pcredemo(3) "manual" in the pcre-8.38p0 package.
2016-08-17When reading back a mandoc.db(5) file in order to apply incrementalIngo Schwarze
changes, do not prepend a stray NAME_FILE (0x10) byte to the first names of pages. Bug found while investigating another issue reported by sthen@.
2016-08-17Make sure manuals in architecture-independent directories are treatedIngo Schwarze
as architecture-independent even if they abuse the third (architecture) argument of the .Dt macro for random stuff like "freetds reference manual". While the .Dt syntax is not the same as the .TH syntax in man(7), punishing offenders by treating them as architecture-dependent and hence completely excluding them from searches is too severe. Problem reported by sthen@.
2016-08-17When returning the file size info, only use z_total_in/z_total_outTodd C. Miller
for the read (inflate) case where there might be multiple streams. For the write (deflate) case there can only be a single stream so just use the per-stream total_in/total_out. Fixes "gzip -v" byte counts. OK henning@.
2016-08-16When the commit message is empty, don't default to c)ontinueTheo Buehler
(committing without log message) but a)bort. Also, accept the uppercase versions of the choices. Matches the corresponding change of behavior of GNU cvs. suggested by & ok jcs
2016-08-16Streamline and refactor the code a bit more:Theo Buehler
There are two sentinels for infinite output: infinity == true and reps == 0. Ensure that infinity is set to true whenever reps is set to zero, then we can always use 'if (infinity)'. This allows us to merge the loop for deterministic output into the first if (!randomize) statement, which is a lot tidier. Insert an occasional empty line. "move fast and break stuff" tedu
2016-08-16All that complexity stopped us from getting flying cars by today.Ted Unangst
2016-08-16shorten genrsa; ok jsingJason McIntyre
2016-08-15Catch up with the SSH1 code removal and delete all mention ofChristian Weisgerber
protocol 1 particularities, key files and formats, command line options, and configuration keywords from the server documentation and examples. ok jmc@
2016-08-15Remove more SSH1 server code:Christian Weisgerber
* Drop sshd's -k option. * Retire configuration keywords that only apply to protocol 1, as well as the "protocol" keyword. * Remove some related vestiges of protocol 1 support. ok markus@
2016-08-15Trust the login_getcaptime() declaration and don't cast the arguments toPhilip Guenther
their own expected type
2016-08-14Convert %q to %ll and cast opaque system values to long long.Philip Guenther
Use uint64_t for the KERN_INTRCNT_CNT sysctl() ok krw@
2016-08-14Kill '#if defined(DEBUG) && 0' blocks that used %qPhilip Guenther
ok bentley@ on principle
2016-08-14Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.Philip Guenther
Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position. ok and a ull->ll tweak from natano@, ok tedu@
2016-08-14shorten genpkey; ok guentherJason McIntyre
2016-08-13shorten gendsa;Jason McIntyre
2016-08-13%lld -> %llu for u_int64_t struct fields.Kenneth R Westerback
2016-08-13remove ssh1 server code; ok djm@Markus Friedl