summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-09-13Eliminate unnecessary isupper() check before tolower().Todd C. Miller
2016-09-13Eliminate the FOLD and DICT macros. There's no need to check forTodd C. Miller
isascii() with ANSI ctype macros/functions. Eliminating the macros makes the code clearer. OK jca@
2016-09-12handle certs in rsa_hash_alg_from_ident(), saving an unnecessaryDamien Miller
special case elsewhere.
2016-09-12list all supported signature algorithms in the server-sig-algsDamien Miller
Reported by mb AT smartftp.com in bz#2547 and (independantly) Ron Frederick; ok markus@
2016-09-12If we can't get the CWD, use relative paths. Fixes editing filesTodd C. Miller
in a directory without read permission. OK lum@
2016-09-12Allow repeat count to be specified in mode key tables with bind-key -R,Nicholas Marriott
and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
2016-09-12shorten speed;Jason McIntyre
help/ok guenther bcook
2016-09-12Spaces->tabs.Darren Tucker
2016-09-12Style whitespace fix. Also happens to remove a no-op diff with portable.Darren Tucker
2016-09-12Add MAXIMUM(), MINIMUM(), and ROUNDUP() to misc.h, then use those definitionsTheo de Raadt
rather than pulling <sys/param.h> and unknown namespace pollution. ok djm markus dtucker
2016-09-11Use the proper HTML escape for double quote ("): &quot; not &quote;.Anthony J. Bentley
ok schwarze@
2016-09-11Install mg tutorial with correct permissions. ok deraadtMartin Natano
2016-09-11Set the usual owner for /usr/bin/skeyprune. ok deraadtMartin Natano
2016-09-11Install the /usr/share/calendar/$lang directories with root as owner.Martin Natano
This will be important as soon as we start building release sets without root privileges. ok deraadt guenther
2016-09-10spaces found during re-readTheo de Raadt
2016-09-09Source Joachim Nilsson:Mark Lumsden
Coverity Scan found this interesting buglet. If read() fails the code, before this patch, would trigger a "Negative array index write". ok florian@
2016-09-08shorten smime;Jason McIntyre
2016-09-08as with ps, update bug to caveat and clarifyTed Unangst
2016-09-08simplify the extra buffer size copyMarc Espie
2016-09-08Source Joachim Nilsson:Mark Lumsden
Collect forked off children from M-| command Mg left zombies from commands executed when piping a region of text to an external command. This patch makes sure to collect for the child before returning. ok sunil@ millert@
2016-09-07Remove other instance of _tolowerTodd C. Miller
2016-09-07Avoid using the obsolete _tolower() macro.Todd C. Miller
2016-09-07sort; from matthew martinJason McIntyre
2016-09-07Source Joachim Nilsson:Mark Lumsden
Found by Coverity Scan. The popbuf() function iterated over a list to find a wp pointer, then sent it to showbuffer() which immediately went ahead and dereferenced it. This patch simply adds a NULL pointer check before calling showbuffer(), if NULL then just return NULL to callee. ok awolk@ millert@
2016-09-06If you have a paragraph:Mark Lumsden
123 456 With the cursor on either the 4, 5 or 6 and no newline after the '6', and then execute forward-paragraph (M-}), the cursor sits still and does not move to the end of the second line (after the 6), which is in effect the end of parapraph. This diff fixes that behaviour.
2016-09-06ssh_set_newkeys: print correct block counters on rekeying; ok djm@Markus Friedl
2016-09-06update ext_info_c every time we receive a kexinit msg; fixes sending ofMarkus Friedl
ext_info if privsep is disabled; report Aris Adamantiadis & Mancha; ok djm@
2016-09-05remove 3des-cbc from the client's default proposal; 64-bit block ciphersDamien Miller
are not safe in 2016 and we don't want to wait until attacks like sweet32 are extended to SSH. As 3des-cbc was the only mandatory cipher in the SSH RFCs, this may cause problems connecting to older devices using the defaults, but it's highly likely that such devices already need explicit configuration for KEX and hostkeys anyway. ok deraadt, markus, dtucker
2016-09-05enforce expected request flow for GSSAPI calls; thanks to Jakub JelenDamien Miller
for testing; ok markus@
2016-09-05remove a cms leftoverTheo de Raadt
2016-09-05Initialize stack variables to zero before memmove().Mark Lumsden
Coverity Scan reported these two stack variables as uninitialized, in particular the .r_lineno struct member was uninitialized. This patch clears the 'struct region' rather than setting .r_lineno because if any more struct members are added in the future the clear will cover them too. Source Joachim Nilsson. ok tom@ millert@
2016-09-04Add full UTF-8 support to column(1).Martijn van Duren
Feedback and OK schwarze@
2016-09-04shorten sess_id;Jason McIntyre
2016-09-04Nuke one more cms tendrilBob Beck
ok jsing@
2016-09-04bye bye cms. send it to the atticBob Beck
ok jsing@
2016-09-04Add support for performing a full width split (with splitw -f), ratherNicholas Marriott
than splitting the current cell. From Stephen Kent.
2016-09-04s,getpass,readpassphrase,Gleydson Soares
OK tedu
2016-09-04well, adding the filename doesn't help... mostly used with pipes anyhowMarc Espie
2016-09-04Replace strlen + calloc + snprintf with asprintf.Theo Buehler
ok martijn, beck, deraadt, gsoares
2016-09-04Add missing getpw pledgeTheo Buehler
ok deraadt
2016-09-04usage() is __dead and main() needs no prototypeTheo Buehler
2016-09-04usage() is static and __dead; add prototype for print_passwd;Theo Buehler
return instead of exit from main
2016-09-04remove two blanks that shouldn't be thereTheo Buehler
2016-09-04-L means no commandTed Unangst
2016-09-04don't allow combining nopass and persist in a single ruleTed Unangst
2016-09-04straightforward realloc -> reallocarray conversionTheo Buehler
ok deraadt, guenther, tedu
2016-09-04Options that take a time argument....take an argumentPhilip Guenther
diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com)
2016-09-03move zaurus down to the discontinued architecturesIngo Schwarze
2016-09-03add the keyname to meta-info that passes thruMarc Espie
2016-09-03squash some possibly-used-uninitialized warningsBrent Cook