summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2024-07-18mention mux proxy modeDamien Miller
2024-07-17sed: use warn()/err() where appropriateTodd C. Miller
Use warn()/err() instead of sed's homegrown warning()/error() for things other than parser problems. The warning()/error() functions display the file and line number in addition to the error message. This also removes of the COMPILE/FATAL argument to error() since now all calls to error() are for compilation/parsing issues. OK op@ espie@
2024-07-17Display an error message for "sed -i" if the file is unwritableTodd C. Miller
Previously, sed would fail silently if it was unable to move the temporary file into place. Also allow "sed -i" on symbolic link--the link will be broken but this matches GNU sed behavior. From espie@ OK op@
2024-07-14fix double word; ok dtucker@Jonathan Gray
2024-07-13Move the sigaction next to multiTheo Buehler
Reduces diff in -portable
2024-07-12UTF-8 keys now contain the internal representation and not the UnicodeNicholas Marriott
codepoint, so convert extended keys properly. From Stanislav Kljuhhin.
2024-07-12use sigaction() to setup SIGARLM so we can set SA_RESTART, andTheo de Raadt
remove the re-arming in the handler. Better than using siginterrupt(), and avoids the errno saving requirement in the handler also. ok guenther millert
2024-07-10correct keyword; from Yatao Su via GHPR509Damien Miller
2024-07-10an universal -> a universalJason McIntyre
2024-07-09document C-u handling on shell-command{,-on-region}, forgot in previousOmar Polo
2024-07-09mg: handle C-u in M-! and M-|Omar Polo
With the C-u modifier, these commands (respectively shell-command and shell-command-on-region) will operate in-place instead of opening a special buffer with the result. ok and lots of feedback from florian@ (signature for iomux and preadin changed after the ok -- the buffer pointer was no longer needed)
2024-07-09do not need to force bss values to 0Theo de Raadt
2024-07-09KNF a pile of else if blocks; ok tbTheo de Raadt
2024-07-08aucat: check for failled allocationAlexandre Ratchov
From Nihal Jere <nihal@nihaljere.xyz>, thanks!
2024-07-08mg: fix auto-indent-mode with custom tab widthsOmar Polo
dointent() didn't know about set-tab-width so it was mis-indenting the lines. Diff from Mark Willson (mark dot willson at hydrus.org.uk), with a tiny change by me.
2024-07-08IN_MULTICAST uses host byte orderFlorian Obser
I somehow missed this when ripping out 3 layers of indirections. from niklas
2024-07-08Adjust manpage for SPKAC removalTheo Buehler
ok jsing
2024-07-08Remove spkac subcommandTheo Buehler
Google killed efforts to have SPKAC in html5 by zapping it from chrome a decade ago. This effort doesn't look like it's going anywhere: https://datatracker.ietf.org/doc/draft-leggett-spkac/ Unfortunately, PHP and Ruby still support NETSCAPE_SPKI, so we can't kill that code, but I see no real reason we need to support this in our openssl command. If the need should arise we can write a somewhat less poor version of this. ok jsing
2024-07-08Remove spkac handling from openssl(1) caTheo Buehler
This is very poorly written code and now the only consumer of some public API that should not have survived the turn of the millenium. ok jsing
2024-07-08don't need return at end of void functionDamien Miller
2024-07-04fix grammar: "a pattern lists" -> "one or more pattern lists"Damien Miller
2024-07-01signal handler must use the save_errno dance, and massage a variableTheo de Raadt
of type 'volatile sig_atomic_t' ok tb
2024-07-01missing save_errno dance inside non-terminal signal handlerTheo de Raadt
2024-07-01openssh-9.8Damien Miller
2024-07-01when sending ObscureKeystrokeTiming chaff packets, we can'tDamien Miller
rely on channel_did_enqueue to tell that there is data to send. This flag indicates that the channels code enqueued a packet on _this_ ppoll() iteration, not that data was enqueued in _any_ ppoll() iteration in the timeslice. ok markus@
2024-06-29remove unused varsJonathan Gray
2024-06-27delete obsolete commentDamien Miller
2024-06-27retire unused APIDamien Miller
2024-06-27ssl(8) no longer contains a HISTORY section;Jason McIntyre
2024-06-26move child process waitpid() loop out of SIGCHLD handler;Damien Miller
ok deraadt
2024-06-26Instead of using possibly complex ssh_signal(), write all the partsTheo de Raadt
of the grace_alarm_handler() using the exact things allowed by the signal-safe rules. This is a good rule of thumb: Handlers should be written to either set a global volatile sig_atomic_t inspected from outside, and/or directly perform only safe operations listed in our sigaction(2) manual page. ok djm markus
2024-06-26save_errno wrappers inside two small signal handlers that performTheo de Raadt
system calls, for systems with libc that do perform libc sigtramps. ok djm markus
2024-06-24Add a way (refresh-client -r) for control mode clients to provide OSC 10Nicholas Marriott
and 11 responses to tmux so they can set the default foreground and background colours, from George Nachman in GitHub issue 4014.
2024-06-24Check the underline style colour against the correct default value againNicholas Marriott
(it was changed from 0 to 8), from Romain Francoise.
2024-06-24- uppercase start of sentenceJason McIntyre
- correct sentence grammar ok djm
2024-06-24mention SshdSessionPath optionDamien Miller
2024-06-23openssl ca: avoid double free for spkac files without default sectionTheo Buehler
ok jsing
2024-06-20stricter check for overfull tables in penalty record pathDamien Miller
2024-06-19put back reaping of preauth child process when writes from the monitorDamien Miller
fail. Not sure how this got lost in the avalanche of patches.
2024-06-18Quiet compiler warnings when built with WARNINGS=YesTodd C. Miller
Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2024-06-18Rename mf_fgets() and cu_fgets() to mf_getline() and cu_getline().Todd C. Miller
These functions now use getline(), not fgets(). From espie@
2024-06-17remove one more mention of DSAChristian Weisgerber
2024-06-17disable the DSA signature algorithm by default; ok markus@Damien Miller
(yes, I know this expands to "the Digitial Signature Algorithm signature algorithm)
2024-06-17promote connection-closed messages from verbose to info log level;Damien Miller
they could be the only record of the connection terminating if the client doesn't send a SSH2_MSG_DISCONNECT message. ok dtucker@
2024-06-16Add note about timeout(1)'s standards complianceJob Snijders
OK jmc@
2024-06-16Add new argument for IEEE 1003.1-2024 aka POSIX.1Job Snijders
OK jmc@ schwarze@
2024-06-14support (ignore) universal ctags extended metadata in tagaddressOmar Polo
universal ctags "abuses" the tagaddress, which can be an arbitrary vi command even if mg assumes it's just a search pattern, to store metadata after a "vi comment". While it could be worthwile to support the uctags annotations this just ignores them so the search patterns work again. The diff is from Joachim Wiberg "troglobit" mg. ok tb@
2024-06-14sort -q in the options list;Jason McIntyre
2024-06-14clarify KEXAlgorithms supported vs available. Inspired by bz3701Damien Miller
from Colin Watson.
2024-06-14ssh-keyscan -q man bitsDamien Miller