summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2024-08-04-l should be before -r, pointed out by jmc a while ago.Nicholas Marriott
2024-08-04Adjust the logic when deleting last buffer to better preserve theNicholas Marriott
selection: if selecting the element below the deleted one fails (because as the last one), select the one above it instead. From Daniel Mueller, GitHub issue 4043.
2024-08-04Use paste_is_empty to check if there are no buffers since paste_get_topNicholas Marriott
will return NULL if there are no automatic buffers.
2024-08-03The maximum count is SKEY_MAX_SEQ + 1 not SKEY_MAX_SEQ - 1.Todd C. Miller
Sequence numbers are in the range [0, SKEY_MAX_SEQ] inclusive. This means the maximum value for the -n option (count) should be SKEY_MAX_SEQ + 1. From Denis Bodor.
2024-08-03Update awk to the July 28, 2024 version.Todd C. Miller
* Fixed readcsvrec resize segfault when reading csv records longer than 8k. * Rewrite if-else chain in quoted as a switch.
2024-08-02nc(1): remove useless function pointer dereferencingJan Klemkow
ok tb@
2024-08-01sndiod: Fix insufficent check of input from clientsAlexandre Ratchov
Fixes possible sndiod(8) crashes caused by a global table overread triggered by the client. Found and analysed by Henry Ford <henryfordkjv at gmail.com>, thanks! ok blumh, help from millert, mlarkin
2024-07-31bump posix spec 2008 -> 2024;Jason McIntyre
2024-07-31add a random amount of time (up to 4 seconds) to the grace login time.David Gwynne
ok deraadt@ djm@
2024-07-31quote the book title (%T) reference, to prevent formatters (in this caseJason McIntyre
groff) stumbling over literal words that match macro names;
2024-07-30bump posix ref 2008 -> 2024;Jason McIntyre
2024-07-30fold the "timespec" info into the options list (since "time_arg" is alreadyJason McIntyre
there). move the information of "time_arg" matching touch -t to the "time_arg" description, instead of "timespec". ok millert
2024-07-30bump posix spec from 2008 to 2024; ok millertJason McIntyre
2024-07-29bump posix spec from 2008 -> 2024:Jason McIntyre
- "now" is a permissable timespec - split the at and batch notes in STANDARDS - note batch behaviour differences - note default queue name differences ok millert
2024-07-28The dash must not come first in the getopt(3) stringKlemens Nanni
Broken/sorted in previous -u addition, fix/move it to the end. By tb
2024-07-28Support "-u name" to remove variable from environmentKlemens Nanni
OK aisha millert Feedback jmc
2024-07-26Trace struct itimervalPhilip Guenther
ok deraadt@ claudio@
2024-07-26document the reduced logingrace penaltyChristian Weisgerber
2024-07-25reduce logingrace penalty.Damien Miller
A single forgotton login that times out should be below the penalty threshold. ok deraadt/claudio
2024-07-25Fix proxy multiplexing (-O proxy) bugDamien Miller
If a mux started with ControlPersist then later has a forwarding added using mux proxy connection and the forwarding was used, then when the mux proxy session terminates, the mux master process will send a channel close to the server with a bad channel ID and crash the connection. This was caused by my stupidly reusing c->remote_id for mux channel associations when I should have just added another member to struct channel. ok markus@
2024-07-25fix double space; from crystal kolipeJason McIntyre
2024-07-23sndiod: Properly update the poll(2) event masks after i/o.Alexandre Ratchov
If there are no descriptors to poll for an event source, we call the i/o handlers immediately (before poll(2) is called). As this may generate output for other descriptors, their the poll(2) event masks need to be updated.
2024-07-22rpcgen(1): default to "STDIN" as input file when compiling to headers.Dave Voutila
FreeBSD, NetBSD, and GNU all use a variation of "STDIN" as the default input filename when compiling to header files (-h) to prevent a NULL-pointer deference. Adopt a similar approach. ok millert@
2024-07-22Expand full array option values if no index is provided, GitHub issueNicholas Marriott
4051.
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