summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-07Support MCC update response used by newer iwm(4) firmware, and verifyStefan Sperling
the size of the response we receive for MCC_UPDATE commands (even though we aren't doing anything with this response yet).
2021-07-07Support the SoC configuration command used by newer iwm(4) 9560 firmware.Stefan Sperling
2021-07-07Support the critical temperature detection feature of newer iwm(4) firmware.Stefan Sperling
2021-07-07Parse CMD_VERSION TLV found in iwm(4) fw images and add iwm_lookup_cmd_ver().Stefan Sperling
It seems Intel saw a risk of eventually running out of firmware capability support and API support flags, so yet another such mechanism was added. If you want to know which variant of a command needs to be used there are now at least three places to check for related information.
2021-07-07Support a new variant of the binding command required by new iwm(4) firmware.Stefan Sperling
2021-07-07Support the larger phy context command required by newer iwm(4) firmware.Stefan Sperling
2021-07-07Recognize and ignore new debug sections found in latest iwm(4) 9k fw images.Stefan Sperling
2021-07-07Support a new time quota command required for newer iwm(4) firmware.Stefan Sperling
2021-07-07Hoist whole TLS initialization instead of loading the cert/key into memory firstRicardo Mestre
and setting them up later on, nowadays it's possible to do both steps in just one go through tls_config_set_{cert,key}_file(3) so use it and then init TLS. No functional change. OK kn@
2021-07-07update drm to linux 5.10.47Jonathan Gray
hardware support changes include inteldrm: better support for tiger lake amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus amdgpu: support for cezanne "green sardine" ryzen 5000 apu Thanks to the OpenBSD Foundation for sponsoring this work, patrick@ for helping adapt rockchip drm, kettenis@ and mpi@ for uvm discussions and various testers.
2021-07-06Make test more verbose to see commands and error messages in output.Alexander Bluhm
This makes it easier to debug if something fails. Add some ${SUDO} in a way that this tests runs as root or regular user with and without SUDO set.
2021-07-06Shifts (<<) of more than 32 bits must be done on 64-bit values.Patrick Wildt
Reported by some grumpy old cheese lover "looks reasonable" jsg@ ok kettenis@
2021-07-06fix an m4 macro which showed up unexpanded. kill some trailing whitespace ↵Jasper Lievisse Adriaanse
while here
2021-07-06document X509_signature_dump(3) and X509_signature_print(3)Ingo Schwarze
2021-07-06Fix iwx(4) against access points which use TKIP as the group cipher.Stefan Sperling
This was broken when key installation was moved into a task context. Reported by and confirmed fixed by gnezdo@ and zxystd from OpenIntelWireless ok gnezdo@
2021-07-06Make use of the existing bsd.regress.mk logic to flag root only targets,anton
allowing the actual tests to become less repetitive. ok bluhm@
2021-07-06This regress checks that 400 singals are evenly distributed over 4Alexander Bluhm
threads. It works well on idle 4 CPU machines, but with load or fewer cores the distribution of the threads' signal handlers is worse. Reduce the limit of signals that each thread must receive from 75 to 50. This should prevent random test fails. from Christian Ludwig
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-07-06Fix typo in comment.Alexander Bluhm
2021-07-06Fix a bug in X509_print_ex(3).Ingo Schwarze
If the user set nmflags == X509_FLAG_COMPAT and X509_NAME_print_ex(3) failed, the error return value of 0 was misinterpreted as an indicator of success, causing X509_print_ex(3) to ignore the error, continue printing, and potentially return successfully even though not all the content of the certificate was printed. The X509_NAME_print_ex(3) manual page explains that this function indicates failure by returning 0 if nmflags == X509_FLAG_COMPAT and by returning -1 if nmflags != X509_FLAG_COMPAT. That's definitely atrocious API design (witnessed by the complexity of the code needed for correct error checking), but changing the API contract and becoming incompatible with OpenSSL would make matters even worse. Note that just checking for <= 0 in all cases would not be correct either because X509_NAME_print_ex(3) returns 0 to indicate that it successfully printed zero bytes in some cases, for example when all three of the following conditions hold: 1. nmflags != X509_FLAG_COMPAT 2. indent == 0 (which X509_print_ex(3) does use in some cases) 3. the name object is NULL or empty I found the bug by code inspection and proposed an incomplete patch, then jsing@ proposed this improved version of the patch. OK jsing@.
2021-07-06Introduce CPU_IS_RUNNING() and us it in scheduler-related code to preventMark Kettenis
waiting on CPUs that didn't spin up. This will allow us to spin down CPUs in the future to save power as well. ok mpi@
2019-09-05Test IPv6 multicast sender, receiver, router. Minimal mc6routeAlexander Bluhm
implmentation does not care about ICMPv6, it simply adds static multicast routes. Multicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested. Currently receiving link-local packets via loopback does not work due to wrong scope id. Everything is mostly copied from IPv4 regress.
2021-07-06Improve error reporting when the tmux /tmp directory cannot be createdNicholas Marriott
or used, GitHub issue 2765 from Uwe Kleine-Koenig.
2021-07-06Forbid empty session names, GitHub issue 2758.Nicholas Marriott
2021-07-06sync man page with changes 1.2.3 -> 1.2.11. some changes:Jason McIntyre
- update references version number - Z_NULL -> NULL; from millert - terminate function synopses in main body with ";"; from tb - NULL -> NUL; from tb - update NAME and SYNOPSIS for added functions - updated copyright, to match zlib.h - simplify \-1 -> -1 ok tb
2021-07-06correct mailtoanton
2021-07-05document i2a_ASN1_OBJECT(3)Ingo Schwarze
2021-07-05Write ktrace output files onto NFS mounted file systems.Alexander Bluhm
2021-07-05Don't use a non-standard empty statement in while loopsJeremie Courreges-Anglas
Empty statements accepted by ksh(1) pointed out by millert@, use of this non-standard grammar in the installer pointed out by halex@. ok halex@ millert@
2021-07-05Do not permit an empty list between "while" and "do".Todd C. Miller
This avoids a cpu loop for "while do done" and is consistent with the behavior of AT&T ksh and most other shells. OK jca@ halex@
2021-07-05Print SA MTU if included in pfkey message.tobhe
ok bluhm@ sthen@ mpi@
2021-07-05Export tdb MTU to userland via SADB_GET. This helps debug path MTUtobhe
discovery issues with ESP in UDP. ok bluhm@ sthen@ mpi@
2021-07-05Fix off-by-one array access when 64 channel stream is resampledAlexandre Ratchov
2017-01-13Use a NFS mount via loopback for testing file system operations.Alexander Bluhm
By changing files directly on the server and accessing them on the client or vice versa, specific kernel behavior can be triggered. Especially using file mmap(2) over NFS is tested.
2021-07-05rename kd_put() -> kd_copy()anton
2021-07-05rename kd_put() -> kd_copy()anton
2021-07-05etherbridge_map was way too clever, so simplify it.David Gwynne
the code tried to carry state from the quick smr based lookup through to the actual map update under the mutex, but this led to refcnt leaks, and logic errors. the simplification is that if the smr based checks say the map needs updating, we prepare the update and then forget what we learnt inside the smr critical section and redo them under the mutex again. entries in an etherbridge map are either in it or they aren't, so we don't need to refcnt them. this means the thing that takes an entry out of the map becomes directly responsible for destroy it, so they can do the smr call or barrier directly rather than via a refcnt. found by hrvoje popovski while testing the stack running in parallel, and fix tested by him too. ok sashan@
2021-07-05Fix a couple of whitespace things. Portable already has these so thisDarren Tucker
removes two diffs between the two.
2021-07-05Order includes as per style(9). Portable already has these so thisDarren Tucker
removes a handful of diffs between the two.
2021-07-05Remove comment referencing now-removed RhostsRSAAuthentication. ok djm@Darren Tucker
2021-07-05allow spaces to appear in usernames for local to remote, and scp -3Damien Miller
remote to remote copies. with & ok dtucker bz#1164
2021-07-04Fix legacy booting.Kenneth R Westerback
Don't flag the EFI SYS partition "DOSACTIVE". Leave that status to the OpenBSD partition. Reverts part of r1.77. Problem reported and fix tested by Mihai Popescu. Thanks! Cluebats from deraadt@ and code bisecting by dv@. ok kettenis@
2021-07-04store provider ID in umb(4), and display it in ifconfig. OK stsp deraadtStuart Henderson
Previously only the provider's display name was used. The text used depends on how the SIM is configured and not just on the network in use (for example, an MVNO SIM on another network will often display the MVNO's name rather than that of the underlying network). I have a SIM that roams to any network in my country - whichever network it roams onto, the display name is the same, so you can't tell which network you're really using. By printing the provider ID (in GSM-land this is MCC+MNC) it's easy to lookup and check this. As the provider was printed on the ifconfig line also showing subscriber-id and ICCID it was already a bit long, and adding the provider-id there is a bit too much, so move it to the output line showing APN, now looking like : subscriber-id 2400xxxxxxxxxxx ICC-id 8946203xxxxxxxxxxxxx : device EM7455 IMEI 01458xxxxxxxxxx firmware SWI9X30C_02.24.0 : APN key provider Tele2 IoT provider-id 23420
2021-07-04tb notices i did not add a copyright in 2011Theo de Raadt
2021-07-04Add missing RCS tagsTheo Buehler
2021-07-04syncTheo de Raadt
2021-07-04.Fl marks up options not argumentskn
POSIX says `-v' is an option, not an argument; options may take arguments, as documented in getopt(3). Programs may take arguments as well, e.g. "prog -v -- arg ...", but these are usually marked up with `.Cm'. Change "The arguments are as follows:" to "The options are as follows:" in `.Fl's DESCRIPTION example to match what most of our base manuals say. OK schwarze jmc
2021-07-04The mandoc(1) manual already mentions that -T man output modeIngo Schwarze
neither supports tbl(7) nor eqn(7) input. If an input file contains such code anyway, tell the user rather than failing an assert(3)ion. Fixing a crash reported by Bjarni Ingi Gislason <bjarniig at rhi dot hi dot is> in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901636 which the Debian maintainer of mandoc, Michael at Stapelberg dot ch, forwarded to me.
2021-07-04syncTheo de Raadt
2021-07-04bump major after zlib updateTheo Buehler