summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-06-22Don't call setgroups if we have zero groups; there's no guarantee that itDarren Tucker
won't try to deref the pointer. Based on a patch from mail at quitesimple.org, ok djm deraadt
2015-06-21There is no need to include sys/ucred.h. Only sys/file.h is needed for theClaudio Jeker
DTYPE defines.
2015-06-20Handle NIST curve names in openssl(1) ecparam.Joel Sing
From OpenSSL.
2015-06-20Less mdc2.Joel Sing
2015-06-20Remove obsolete MDC-2DES from libcrypto.Doug Hogan
ok deraadt@ jsing@ miod@
2015-06-19Add missing message digests to function table.Joel Sing
Diff from kinichiro via github. ok doug@
2015-06-19Remove fallback dynamic engine loading support.Brent Cook
Since we no longer have dynamic engines, don't bother falling back to them if a builtin engine is not found first. Before: $ openssl dgst -engine unknown invalid engine "unknown" 27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown 27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=dynamic After: $ openssl dgst -engine unknown invalid engine "unknown" 27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown ok doug@
2015-06-18Use the SRCDST define for usage.Nicholas Marriott
2015-06-18Use xsnprintf.Nicholas Marriott
2015-06-18Remove a stray : and tweak paragraph.Nicholas Marriott
2015-06-18spelling fixes from theo buehler;Jason McIntyre
2015-06-17Use strdup in xstrdup; from Fritjof Bornebusch.Nicholas Marriott
2015-06-17Change break-pane to take target and source panes (-t and -s) in lineNicholas Marriott
with other commands, from Thomas Adam.
2015-06-17Use strdup in xstrdup from Fritjof Bornebusch. While here, remove xfreeNicholas Marriott
which is unused.
2015-06-17Break cmdq_continue inner loop into a helper function.Nicholas Marriott
2015-06-17Move the shuffle code from new-window -a into a function and add a -aNicholas Marriott
flag for move-window too. From Thomas Adam.
2015-06-17Use an explicit job state instead of avoid closing our side of theNicholas Marriott
socketpair and setting it to -1 to mark when the other side is closed. This avoids closing it while the libevent bufferevent still has it (it could try to add it to the polled set which some mechanisms don't like). Fixes part a problem reported by Bruno Sutic.
2015-06-17Remove NULL check before free; Fritjof Bornebusch.Nicholas Marriott
2015-06-16Add support for OPTION_DISCARD.Doug Hogan
ok jsing@
2015-06-15If AuthorizedPrincipalsCommand is specified, howeverJoel Sing
AuthorizedPrincipalsFile is not (or is set to "none"), authentication will potentially fail due to key_cert_check_authority() failing to locate a principal that matches the username, even though an authorized principal has already been matched in the output of the subprocess. Fix this by using the same logic to determine if pw->pw_name should be passed, as is used to determine if a authorized principal must be matched earlier on. ok djm@
2015-06-15Make the arguments to match_principals_command() similar toJoel Sing
match_principals_file(), by changing the last argument a struct sshkey_cert * and dereferencing key->cert in the caller. No functional change. ok djm@
2015-06-15Add window_activity format, from Thomas Adam based on a diff originallyNicholas Marriott
from propos6 at gmail dot com.
2015-06-15Remove ancient compat hack SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG.Doug Hogan
This was imported into OpenSSL from SSLeay. It was recently deleted in OpenSSL commit 7a4dadc3a6a487db92619622b820eb4f7be512c9
2015-06-15return failure on RSA signature error; reported by Albert SDamien Miller
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff forNicholas Marriott
client_pid from Thomas Adam.
2015-06-13Convert xfree to free. From Fritjof Bornebusch. ok deraadtNicholas Marriott
2015-06-10wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.Nicholas Marriott
2015-06-09Fix loop comparison broken in last commit, from Thomas Adam.Nicholas Marriott
2015-06-07Add -E flag when attaching or switching client to bypassNicholas Marriott
update-environment, from Steven Lu.
2015-06-05Use ints for the calculations rather than u_char, they could end upNicholas Marriott
signed.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)Nicholas Marriott
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Use fixed colour tables rather than generated and do a quick search forNicholas Marriott
exact match before doing the distance comparison.
2015-06-05Similarly, for sessions use a callback to free rather than checkingNicholas Marriott
every loop.
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.Nicholas Marriott
2015-06-05Instead of putting dead clients on a list and checking it every loop,Nicholas Marriott
use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
2015-06-05For "ssh -L 12345:/tmp/sock" don't fail with "No forward host name."Todd C. Miller
(we have a path, not a host name). Based on a diff from Jared Yanovich. OK djm@
2015-06-05Do not use the key variable uninitialized (in a debug log statement),Nicholas Marriott
reported by jungleboogie0 at gmail dot com.
2015-06-05Fix a warning.Nicholas Marriott
2015-06-05Make it so that if a window or session target is prefixed with an =,Nicholas Marriott
only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
2015-06-05typo: accidental repetition; bz#2386Damien Miller
2015-06-04Move the nested check from client to server and compare the client ttyNicholas Marriott
name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
2015-06-04systrace(4) STRIOCATTACH can only fail for file(1) if it is alreadyNicholas Marriott
systraced. If so, silently ignore the error and do not attempt to apply our own systrace policy. From Patrick Keshishian.
2015-06-04tweak SYNOPSIS and usage();Jason McIntyre
2015-06-04Make unsetting a global option restore it to the default. Diff lyingNicholas Marriott
around for a while, I have forgotten who suggested it :-/.
2015-06-04Add support for a single "marked pane". There is one marked pane in theNicholas Marriott
server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
2015-06-04teminal -> terminal, from Corey Farwell.Nicholas Marriott
2015-06-03Remove unused defines and functions.Brian Callahan
"Looks fine." deraadt@
2015-06-03Treat a missing mail spool the same as a zero-length mail spoolTodd C. Miller
unless the -f option was specified. OK deraadt@
2015-06-03Move warning on open failure to open_mbox() where we have the file name.Todd C. Miller
2015-06-02Modernize from(1) a bit. Use getline() to support longer lines andTodd C. Miller
document the environment variables used. OK deraadt@