summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2022-02-23free(3) wants stdlib.hDamien Miller
2022-02-23put back the scp manpage changes for SFTP mode tooDamien Miller
2022-02-23and we go back to testing sftp-scp after the 8.9 release...Theo de Raadt
2022-02-23avoid integer overflow of auth attempts (harmless, caught by monitor)Damien Miller
2022-02-23randomise the password used in fakepwDamien Miller
2022-02-23use asprintf to construct .rhosts pathsDamien Miller
2022-02-23openssh-8.9Damien Miller
2022-02-22whitespaceTheo Buehler
2022-02-22Check asprintf() return to avoid crashing in strcmp().Theo Buehler
ok deraadt millert
2022-02-22MAXCOMLEN is no longer needed in these programs, so remove the annotationTheo de Raadt
from sys/param.h include lines, or remove the include lines entirely if it this was the least requirement. ok millert
2022-02-22Since ktr_comm is now a string, we do not need MAXCOMLEN to limit printf.Theo de Raadt
And thus, sys/param.h is not needed either. ok millert
2022-02-22Pledge stdio.Rob Pierce
Ok millert@
2022-02-22Remove -v option from usage.Rob Pierce
Ok millert@
2022-02-22Add a seq(1) command, similar to what is present in GNU and Plan9.Todd C. Miller
Adapted from the NetBSD version with some changes from FreeBSD. OK gnezdo@
2022-02-22Do not attempt to update focus (and crash) when there is no previous window.Nicholas Marriott
2022-02-22Add next_session_id format with the next session ID, GitHub issue 3078.Nicholas Marriott
2022-02-22Initialize copy_width before adjusting it, GitHub issue 3079.Nicholas Marriott
2022-02-22Use correct size for screen when popup is created without borders.Nicholas Marriott
2022-02-22Add window-resized hook to man page, from Thomas Adam.Nicholas Marriott
2022-02-22repair sys/param.h namespace listTheo de Raadt
2022-02-22need a local nitems() definitionTheo de Raadt
2022-02-22need a local nitems() definitionTheo de Raadt
2022-02-20Fix vi recovery mode.Theo Buehler
From trondd, tested by various ok afresh1
2022-02-20move to 7.1-betaTheo de Raadt
2022-02-20sys/proc.h requires sys/signal.h (will become visible when sys/param.hTheo de Raadt
is removed)
2022-02-19mininumu -> minimumJonathan Gray
2022-02-18Avoid gendered language in man pages when not referring to a specificJonathan Gray
person. Rewrite or use singular they. ok thfr@ sthen@ daniel@ ian@ job@ kmos@ jcs@ ratchov@ phessler@ and others I'm likely missing on an earlier version. feedback tj@, feedback and ok jmc@
2022-02-18prefer https links in man pagesJonathan Gray
ok gnezdo@ miod@ jmc@
2022-02-17new sentence, new lineJonathan Gray
2022-02-17check for EINTR/EAGAIN failures in the rfd fast-path;Damien Miller
caught by dtucker's minix3 vm :) ok dtucker@
2022-02-17Add a window-resized hook which is fired when the window is actuallyNicholas Marriott
resized which may be later than the client resize, GitHub issue 2995.
2022-02-16Support more mouse buttons when the terminal sends them, GitHub issueNicholas Marriott
3055.
2022-02-15Add an option (default off) to control the passthrough escape sequence.Nicholas Marriott
Like set-clipboard and allow-rename it is safer to forbid this by default.
2022-02-15Do not create a buffer from an OSC 52 response if we have not sent aNicholas Marriott
query.
2022-02-15unifdef CDIOCCLOSE __OpenBSD__Jonathan Gray
2022-02-15document the unbound/host-bound options to PubkeyAuthentication;Damien Miller
spotted by HARUYAMA Seigo
2022-02-14Do not return error with -q, GitHub issue 3065.Nicholas Marriott
2022-02-11tr(1): rename lookup tablesScott Soule Cheloha
The lookup tables in tr(1) are called "string1" and "string2". This is misleading: - They aren't C strings, they are lookup tables. - The names "string1" and "string2" don't hint at what their contents actually mean. The meaning of a given table changes with tr(1)'s operating mode. There are five different modes. It would be considerably easier to see what is happening at a glance if the tables were named for their corresponding byte transformation. So instead of two tables named "string1" and "string2" we'll have three tables named "delete", "squeeze", and "translate". In addition, the "string" passed to the setup() function will be called a "table". With this patch the code in main() is way easier to understand. Hopefully this makes subsequent patches easier to review. Thread: https://marc.info/?l=openbsd-tech&m=164355980600901&w=2 No complaints on tech@ after over a week.
2022-02-11Always initialize delim before passing to hpdelim2 which might not set it.Darren Tucker
Found by the Valgrind tests on github, ok deraadt@
2022-02-10Casting a char pointer to struct ctf_header causes bus error onAlexander Bluhm
sparc64. Use memcpy() to align the data. found by regress/usr.bin/ctfdump; OK mpi@
2022-02-10look(1): use a stricter pledge(2) in lieu of unveil(2)Scott Soule Cheloha
We're only reading one file here, so unveil(2) is overkill. We can achieve the same effect with just pledge(2): - Start with an initial pledge(2) of "stdio rpath" at the top of main(). We know we need to read a file at this point but don't yet know which one. - Drop the pledge(2) down to "stdio" after we open(2) and fstat(2) the chosen file. - Dropping "rpath" obviates unveil(2). Thread: https://marc.info/?l=openbsd-tech&m=164437072017248&w=2 ok millert@
2022-02-10unveil _PATH_LOGIN_CONF_DRobert Nagy
2022-02-10revert for imminent OpenSSH release, which wil ship with scp in RCP mode.Damien Miller
> revision 1.106 > date: 2021/10/15 14:46:46; author: deraadt; state: Exp; lines: +13 -9; commitid: w5n9B2RE38tFfggl; > openbsd 7.0 release shipped with the (hopefully last) scp that uses RCP > protocol for copying. Let's get back to testing the SFTP protocol. This will be put back once the OpenSSH release is done.
2022-02-09Fix the -f option when passed multiple files.Todd C. Miller
Found by robert@
2022-02-08In the first example, use "mandoc -a" directly rather "mandoc -l".Ingo Schwarze
It feels more natural to me to use -a directly when asking mandoc(1) to use a pager. The reason that "mandoc -l" does exactly the same as "mandoc -a" is that "mandoc" is essentially "man -lc", so the -a implied by -l negates the -c and the -l has no effect because it is already the default for mandoc(1). The more usual command for doing the same is "man -l foo.1 bar.1 ..." but that's off-topic for the mandoc(1) manual page. Patch on tech@ from Anders Damsgaard <anders at adamsgaard dot dk>.
2022-02-08rev(1): drop "rpath" promise in no-file branch.Scott Soule Cheloha
We don't need "rpath" if we're only processing the standard input. Thread: https://marc.info/?l=openbsd-tech&m=164433848419371&w=2 ok deraadt@ millert@
2022-02-08Switch hpdelim interface to accept only ":" as delimiter.Darren Tucker
Historicallly, hpdelim accepted ":" or "/" as a port delimiter between hosts (or addresses) and ports. These days most of the uses for "/" are no longer accepted, so there are several places where it checks the delimiter to disallow it. Make hpdelim accept only ":" and use hpdelim2 in the other cases. ok djm@
2022-02-07head(1): check for stdio errorsScott Soule Cheloha
- Output errors are terminal. - Input errors yield a warning and cause head(1) to fail gracefully. Tweaked by millert@. Thread: https://marc.info/?l=openbsd-tech&m=164419238123928&w=2 ok millert@
2022-02-07use libfido2 1.8.0+ fido_assert_set_clientdata() instead of manuallyDamien Miller
hashing data outselves. Saves a fair bit of code and makes life easier for some -portable platforms.
2022-02-06remove please from manual pagesJonathan Gray
ok jmc@ sthen@ millert@