summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-09-07Remove stray spaces. No code change.Marco Peereboom
2010-09-06add ssh_host_ecdsa_key to /etc; from Mattieu Baptiste <mattieu.b@gmail.com>Christian Weisgerber
ok deraadt@
2010-09-06decl before code for compiler compatibilityTheo de Raadt
2010-09-06fix an off by one found by parfaitJonathan Gray
ok schwarze@ and kristaps
2010-09-04two more EXIT STATUS sections;Jason McIntyre
2010-09-03add EXIT STATUS (these two were hiding...);Jason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-09-03zap trailing whitespace;Jason McIntyre
2010-09-03Make 'file' an argument in -f description.lum
ok jmc@
2010-09-03Rename RCSNUM's fd to rf_fd, complies to other variable names andTobias Stoeckmann
OpenRCS. ok xsa, zinovik
2010-09-03Make second parameter of poll() the correct type. Removes compile warning.lum
advice and ok martynas@
2010-09-02Switch ECDSA default key size to 256 bits, which according to RFC5656Christian Weisgerber
should still be better than our current RSA-2048 default. ok djm@, markus@
2010-09-02unbreak ControlPersist=yes for ControlMaster=yes; ok djm@Markus Friedl
2010-09-02permit -b 256, 384 or 521 as key size for ECDSA; ok djm@Markus Friedl
2010-09-02remove trailing whitespace.Igor Sobrado
2010-09-02rcsnum_parse() allocates already an RCSNUM struct, so it's not needed toTobias Stoeckmann
copy it into a newly allocated one (which is even a memory leak). ok zinovik
2010-09-01prefer ECDH in a 256 bit curve field; prompted by naddy@Damien Miller
2010-09-01Simplify xterm modifier detection by treating as a bitmask + 1. SpottedNicholas Marriott
by and diff from Emanuele Giaquinta.
2010-09-01Reset running jobs when the status line is enabled or disabled as well,Nicholas Marriott
some people have it bound to a key.
2010-09-01pick up ECDSA host key by default; ok djm@Christian Weisgerber
2010-09-01Oracle has re-licensed sunrpc under a three-clause BSD license.Todd C. Miller
Update our sources appropriately. OK deraadt@ jsg@
2010-09-01Remove unused variable: linkfaillum
ok gilles@
2010-08-31Add missing prototype.Nicholas Marriott
2010-08-31small text tweak to accommodate previous;Jason McIntyre
2010-08-31styleTobias Stoeckmann
2010-08-31Removed ra_uid, which was supposed to save the uid of a delta's author.Tobias Stoeckmann
Is not used and not useful. ok xsa, zinovik
2010-08-31fix some macro abuse;Jason McIntyre
2010-08-31reintroduce commit from tedu@, which I pulled out for release engineering:Damien Miller
OpenSSL_add_all_algorithms is the name of the function we have a man page for, so use that. ok djm
2010-08-31Implement Elliptic Curve Cryptography modes for key exchange (ECDH) andDamien Miller
host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer better performance than plain DH and DSA at the same equivalent symmetric key length, as well as much shorter keys. Only the mandatory sections of RFC5656 are implemented, specifically the three REQUIRED curves nistp256, nistp384 and nistp521 and only ECDH and ECDSA. Point compression (optional in RFC5656 is NOT implemented). Certificate host and user keys using the new ECDSA key types are supported. Note that this code has not been tested for interoperability and may be subject to change. feedback and ok markus@
2010-08-31Add buffer_get_cstring() and related functions that verify that theDamien Miller
string extracted from the buffer contains no embedded \0 characters* This prevents random (possibly malicious) crap from being appended to strings where it would not be noticed if the string is used with a string(3) function. Use the new API in a few sensitive places. * actually, we allow a single one at the end of the string for now because we don't know how many deployed implementations get this wrong, but don't count on this to remain indefinitely.
2010-08-26sys/param.h is for kernel interface programs.Theo de Raadt
sys/types.h is the file you want to include.
2010-08-25don't free proxyurl and cookie twice in the location code; with halex@Martynas Venckus
2010-08-25get rid of the nawk hard linkTheo de Raadt
ok millert guenther
2010-08-25When destroying a pane, reset any mode (which reenables paneNicholas Marriott
bufferevent) before freeing the bufferevent.
2010-08-25fix potential use of uninitialized variable.Charles Longeau
reported by gcc. ok jasper@
2010-08-24backout VIS_HEX. guenther@ points out that the C89 \xff encodingDamien Miller
idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
2010-08-23Clear options before setting up HOME and SHELL, not after. Fixes parsingNicholas Marriott
.tiprc reported by nick@.
2010-08-23Can't call event_del() without event_set() first - so call event_set()Nicholas Marriott
when setting up the client.
2010-08-22small style fixes of no consequnceTed Unangst
2010-08-22MSG_EXIT can now have a return code in the message, so check for thatNicholas Marriott
size as well. Stops the client fatal()ing on exit.
2010-08-21mirror new flags to vis(3): -a to encode all characters, -h to useDamien Miller
hex encoding. feedback jmc@ ok millert@
2010-08-21Backout previous.Ingo Schwarze
As Kristaps found out, i was wrong: .Bl -column phrases do not ignore spacing rules for trailing punctuation in general. In particular, - the rightmost column of a column list is unaffected - columns terminated by the .Ta macro instead of a tab are unaffected - columns ending in a blank are unaffected Spacing rules for trailing punctuation are only ignored when the tab follows the punctuation immediately, without a blank in between, because then the combination of punctuation and tab is treated by roff as a word, and the punctuation is not recognized as isolated. The reason this doesn't work in mandoc is that in the special case of .Bl -column (not in general!), mandoc treats tabs as word delimiters. We either need to solve this differently, or call it a bug in roff.
2010-08-20Centralize handling of literal tabs in term_flushln() in one place,Ingo Schwarze
making the code simpler and easier to understand. No functional change.
2010-08-20When a column contains trailing spaces, calculate the paddingIngo Schwarze
to the start of the next column correctly. Fixing a problem found by jmc@ in sysctl(3), reminded by kettenis@.
2010-08-20.Bl -column phrases ignore spacing rules for trailing punctuationIngo Schwarze
and render it just like normal text. Minimal fix of a formatting bug in operator(7) reported by ray@.
2010-08-20fix previous: when bailing out due to -Wstop,Ingo Schwarze
skip output functions, but not *_endparse; problem reported by kristaps@
2010-08-20polish the code: remove few unused #includes, add missing ones,Alexandre Ratchov
fix NULL vs 0, etc. No behaviour change.
2010-08-20Implement a simple, consistent user interface for error handling.Ingo Schwarze
We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction.
2010-08-19Do not call event_del() for signals after fork(), just use sigaction()Nicholas Marriott
directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
2010-08-19Do not need to dup() the tty fd sent from the client because it isNicholas Marriott
already dup()d again later. Fixes a leak seen by espie@.