summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-03Unbreak btrace(8) regress, adding missing files.Dave Voutila
2021-10-03bt(5)/btrace(8): add support for str()Dave Voutila
Implement initial support for the str() function, which is used primarily to truncate or NUL-terminate strings from either cli args or args to tracepoints and syscalls. Current implementation only supports cli args and is primarily for compatability with bpftrace. Future work is needed once dt(4) supports builtin args other than long values. Adds a regress test and wires in argument-based tests again. ok mpi@
2021-10-03Apparently some athn(4) variants are buggy and may hand us corrupt framesMark Kettenis
that are marked "ok". Linux has some workarounds for this and checks whether the status word has error bits set in it regardless of the bit that marks the frame as "ok". Adapt this workaround to our driver and drop the frame after setting input errors. This doesn't filter out all corrupted frames, but it does keep things down to a level where it doesn't fill up the node cache anymore when athn(4) is used in hostap mode. Seen with: athn0 at pci1 dev 0 function 0 "Atheros AR9281" rev 0x01: intx athn0: AR9280 rev 2 (2T2R), ROM rev 16, address xx:xx:xx:xx:xx:xx ok stsp@
2021-10-03Extend filesystem tests to test mfs and tmpfs. Hook up mfs but leave tmpfsClaudio Jeker
out for now since it is not enabled by default. mfs reports the same errors as ffs (no real surprise), tmpfs has a few different errors. OK bluhm@
2021-10-03syncTheo de Raadt
2021-10-03un.ifdef USB and PCI, since all our architectures (minus one) have modelsTheo de Raadt
which can have these busses, might as well make these distributable firmwares available in case the drivers find devices. ok kettenis
2021-10-02fuse: avoid namei_pool leaks in several functionsSebastien Marie
when calling namei(), cn_pnbuf is kept allocated when fs implementation is setting SAVENAME flag. In such cases, it is expected the fs implementation to also release memory when work is done. fuse(4) didn't put back the memory to the pool. correct it. ok mpi@
2021-10-02Extend workaround for reset on context closure from gen 7-8 to gen 4-8Jonathan Gray
as asavvycomputist@disroot.org reported this occurs on gm45 (gen 4).
2021-10-02remove dead variable from sys___realpath()Sebastien Marie
it is a leftover from LOCKPARENT removal in NDINIT() (in rev 1.337) ok mpi@
2021-10-02Use SSL_CTX_get0_param() rather than reaching into the SSL_CTX.Joel Sing
2021-10-02vfs: merge *_badop to vop_generic_badopSebastien Marie
It replaces spec_badop, fifo_badop, dead_badop and mfs_badop, which are only calls to panic(9), to one unique function vop_generic_badop(). No intented behaviour changes (outside the panic message which isn't the same). ok mpi@
2021-10-02syncStuart Henderson
2021-10-02Remove iwx_assoc() and iwx_disassoc(). Not needed because they duplicateStefan Sperling
work that is already handled by state transitions involving AUTH or RUN.
2021-10-02Remove iwm_assoc() and iwm_disassoc(). Not needed because they duplicateStefan Sperling
work that is already handled by state transitions involving AUTH or RUN.
2021-10-02Fix panic when iwx(4) firmware is not present at boot time.Stefan Sperling
Uncomfortable bug found the hard way by deraadt@
2021-10-02quote sudoAnton Lindqvist
2021-10-02add missing sudoAnton Lindqvist
2021-10-02hook up btraceAnton Lindqvist
2021-10-02Dynamically allocate encoded HashKnownHosts and free as appropriate.Darren Tucker
Saves 1k of static storage and prevents snprintf "possible truncation" warnings from newer compilers (although in this case it's false positive since the actual sizes are limited by the output size of the SHA1). ok djm@
2021-10-01Add test for ssh hashed known_hosts handling.Darren Tucker
2021-10-01unbreak FIDO sk-ed25519 key enrollment for OPENSSL=no builds;Damien Miller
ok dtucker@
2021-10-01amd/display: downgrade validation failure log levelJonathan Gray
From Simon Ser 526261c1b706fec0ea80ce9f14c8fe8468bee34d in linux 5.10.y/5.10.70 7bbee36d71502ab9a341505da89a017c7ae2e6b2 in mainline linux
2021-10-01treewide: Change list_sort to use const pointersJonathan Gray
From Sami Tolvanen 55e6f8b3c0f5cc600df12ddd0371d2703b910fd7 in linux 5.10.y/5.10.70 4f0f586bf0c898233d8f316f471a21db2abd522d in mainline linux
2021-10-01drm/amd/pm: Update intermediate power state for SIJonathan Gray
From Lijo Lazar 68d4fbe6220cd1f3d07cab0a4901e62f8c12cc68 in linux 5.10.y/5.10.70 ab39d3cef526ba09c4c6923b4cd7e6ec1c5d4faa in mainline linux
2021-09-30Mark another test as failing with the legacy verifier.Joel Sing
This test now fails with the legacy verifier, due to X509_V_FLAG_TRUSTED_FIRST being enabled by default.
2021-09-30Enable X509_V_FLAG_TRUSTED_FIRST by default in the legacy verifier.Joel Sing
In order to work around the expired DST Root CA X3 certficiate, enable X509_V_FLAG_TRUSTED_FIRST in the legacy verifier. This means that the default chain provided by Let's Encrypt will stop at the ISRG Root X1 intermediate, rather than following the DST Root CA X3 intermediate. Note that the new verifier does not suffer from this issue, so only a small number of things will hit this code path. ok millert@ robert@ tb@
2021-09-30delete expired DST Root CA X3 to work around bugs various librariesTheo de Raadt
ok sthen, beck, jsing, tb, etc etc
2021-09-30Quote SUDO value during propagation, allowing `doas -n' to be correctlyAnton Lindqvist
honored which I use while running regress. The same principle is already applied to the PYTHON variable here.
2021-09-30In iwm(4) and iwx(4), prevent attemps to transition towards the same stateStefan Sperling
in cases where this would result in a redundant or illegal state transition. jmc@ observed ASSOC -> ASSOC transitions which would result in a hang. Such transitions are invalid and never intentionally triggered by net80211. They imply a race between the Rx interrupt handler and the newstate task. Tested by jmc@ on AX200 for a week and several known issues seem to be fixed.
2021-09-30Fix up whitespace left by previous change removing privsep. No otherDarren Tucker
changes.
2021-09-30Remove (almost all) references to privsep. This removes several do..whileDarren Tucker
loops but does not change the indentation of the now-shallower loops, which will be done in a separate whitespace-only commit to keep changes of style and substance separate.
2021-09-30Use "skip" instead of "fatal" if SUDO isn't set for the *-command tests.Darren Tucker
This means running "make tests" without SUDO set will perform all of the tests that it can instead of failing on the ones it cannot run.
2021-09-29Don't constrain -b specified block count or block size to be greater than 63.Kenneth R Westerback
Allow any value from 1 to UINT32_MAX. MBR boot partition sizes/offsets are completely machine dependent. Pointed out by loongson.
2021-09-29Global variables to track initialisation behave poorly with MP.Alexander Bluhm
Move the tdb pool init into an init function. OK mvs@
2021-09-29Add support for Cannon Lake H and Tiger Lake H platforms.Mark Kettenis
ok jcs@
2021-09-29syncJonathan Gray
2021-09-29drm/amdgpu: add some additional RDNA2 PCI IDsJonathan Gray
From Alex Deucher 8f0c93f454bd7ab04eaec1d3c436c4c7c2378f07 in mainline linux
2021-09-29regenJonathan Gray
2021-09-29intel 0x5915 is a kaby lake graphics id not imaging unitJonathan Gray
fix strings in some other graphics devices as well
2021-09-29regenJonathan Gray
2021-09-29add amdgpu and inteldrm devices matched by 5.15 drm without force probeJonathan Gray
includes amd codenames for codenames so subject to change
2021-09-29add some debug output showing how many key file/command linesDamien Miller
were processed. Useful to see whether a file or command actually has keys present
2021-09-29Test certificate hostkeys held in ssh-agent too. Would have caughtDamien Miller
regression fixed in sshd r1.575 ok markus@
2021-09-28Revert part of the previous diff to fix a regression (another endless loop)Ingo Schwarze
reported by Michael <Stapelberg at Debian> in the Linux md(4) manual. The reason the colwidth[] array is needed is not that it stores widths different from those in tbl->cols[].width, but that only part of the columns participate in the comparisons, i.e. only those intersecting at least one span the still requires width distribution.
2021-09-28testcase for the avahi/avahi-lib/avahi-glib/cups updateMarc Espie
2021-09-28Make prototype for rijndaelEncrypt match function including the bounds.Darren Tucker
Fixes error in portable where GCC>=11 takes notice of the bounds. ok deraadt@
2021-09-28Import regenerated moduli.Darren Tucker
2021-09-28Fix timeout behaviour bug introduced in 1.241.Claudio Jeker
If the timespec is zero-valued sys___thrsigdivert() should just do the check for pending signals and return immediatly. OK kettenis@
2021-09-28Turns out that older SPARC CPUs (like the UltraSPARC II) do report an exactMark Kettenis
fault address, while others (like the UltraSPARC T2) report an inexact address. Deal with this by using the EXPADDR_MASK on both the expected and the reported fault address. ok bluhm@
2021-09-28Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with baseMark Kettenis
gcc. ok patrick@, millert@, jca@