summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-05Add copy-mode-position-format to configure the position indicator.Nicholas Marriott
2024-10-04Document missing window-layout-changed hook.Nicholas Marriott
2024-10-04Allow boot loader to run as AMD SEV guest on QEMU with EFI.Alexander Bluhm
When efibooting amd64, the boot loader rewrites the page table built by EFI firmware to ensure that there are no read-only mappings. The rewrite is needed for some HP EFI BIOS, that maps computrace section read-only. When efibooting on SEV enabled QEMU, we would have to ensure the crypt bit is set when changing page tables. However, there is no need for the HP workaround when booting on QEMU (or any other VM), so just do not modify the page table, when SEV gest mode is detected. from Sebastian Sturm; via hshoexer@; OK kettenis@
2024-10-04Allow kernel boot on QEMU with AMD SEV.Alexander Bluhm
When booting an OpenBSD kernel on Linux QEMU with SEV enabled, the hypervisor does not forward the SME feature, only the SEV bit is set. Therefore do not depend on SME when checking for SEV guest mode in locore0. from Sebastian Sturm; via hshoexer@; OK jsg@
2024-10-04Add -y flag to disable confirmation prompts in modes, GitHub issue 4152.Nicholas Marriott
2024-10-04Remove unused SIGEMT.Miod Vallat
2024-10-04Increase psp(4) timeouts.Alexander Bluhm
On EPYC 9124 psp(4) seems to need more to time to respond. Otherwise it will not attach. Increase timeouts for both polling during autoconf and interrupt during normal operation. from hshoexer@ OK mlarkin@
2024-10-04Do not translate BSpace as Unicode, GitHub issue 4156.Nicholas Marriott
2024-10-04Remove two MHI LOOPBACK channels, there's no need to match them.Kevin Lo
Also move PCI ops registration ahead. That way the ops will be registered if any subsequent operations within the case processing require the ops to See Linux commit fbb2a14afe00a5691b43cd19c946472e59e16fc6 and 515bcdf587f9911f2d5de51524cb7e048d295052 ok stsp@
2024-10-04Rework of copy mode commands ("send-keys -X") to parse the arguments soNicholas Marriott
that flags may be detected propertly rather than just looking for strings ("-O" and so on). Also add -C and -P flags to the copy commands: -C prevents the commands from sending the text to the clipboard and -P prevents them from adding the text as a paste buffer. Note some of the default key bindings change to add "--" and any similar custom key bindings using "send-keys -X" may need a similar change. GitHub issue 4153.
2024-10-04As with other multiqueue drivers, print the number of queues we set upJonathan Matthew
along with the interrupt and ethernet address details. ok dlg@
2024-10-04Expose {T,R}X desc trail and add link_enabled field to prepare VFYASUOKA Masahiko
support. diff from naito.yuichiro at gmail.com ok jan jmatthew
2024-10-03In rucheck() sum up the tusage from all threads to get the real currentClaudio Jeker
runtime of the process. Also this no longer needs the SCHED_LOCK(). OK mpi@
2024-10-03Fix the clock_gettime() handler for pthread_getcpuclockid() toClaudio Jeker
use the proper way to read tu_runtime. OK mpi@
2024-10-03vio: Increase rx mbuf size with lroStefan Fritsch
bluhm found that using bigger rx mbufs helps tcp splice performance if lro is enabled. Use 4k in that case. Also fix confusion in rx dmamap segment count. Even with lro/tso, we only put unfragmented mbufs into the rx queue. Therefore we only need max. 2 segments, one for the mbuf and one for the separate header for legacy virtio devices. OK bluhm@
2024-10-03Remove the unused field_mod_func from EC_GROUPTheo Buehler
This was only used by the NIST method. For all other group methods it's an uninitialized pointer (as EC_GROUP_new() still uses the malloc + set all members to 0 idiom). ok jsing
2024-10-03Improve fix for shifted keys so it works for all the keys it should,Nicholas Marriott
Stanislav Kljuhhin in GitHub issue 4146.
2024-10-03Make EC{,PK}PARAMETERS_it staticTheo Buehler
They aren't used outside of this file.
2024-10-03We've left release mode. Time to re-enable POOL_DEBUGTheo Buehler
ok deraadt
2024-10-03Fix ASN1_INTEGER_to_BN() misuseTheo Buehler
Same issue/leak as for BN_to_ASN1_INTEGER(). Stop reusing the elliptic curve parameters a and b for order and cofacter. It's confusing. ok jsing
2024-10-03Switch field_bits to be an intTheo Buehler
ok jsing
2024-10-03Fix BN_to_ASN1_INTEGER() misuseTheo Buehler
You can either let this API reuse an existing ASN1_INTEGER or you can let it allocate a new one. If you try to do both at the same time, you'll leak. ok jsing
2024-10-03Provide OPENSSL_INIT_NO_ATEXIT noopTheo Buehler
The brilliant idea of installing a fragile non-idempotent cleanup atexit handler as a library has bitten many people over time. This gets particularly exciting when you can't control who dlopens the lib first (don't we all love Python bindings) or if you are in a threaded context. Fake OpenSSL clones chose not to do this but now get to carry a noop flag since people start opting out of this madness (there's a good old tradition at work here). ok beck joshua jsing millert miod
2024-10-03X509V3_EXT_get_nid.3: indicate what nid meansTheo Buehler
2024-10-02Improve the heuristic for detecting i2c devices. On the x1e some of theMark Kettenis
USB controllers have an I2cSerialBusV2() (possibly defining a connection to some sort of eUSB2 to USB2 redriver chip) but are not i2c devices themselves. So check if a device has MMIO resources and assume it isn't a proper i2c device if it has those. Makes the Type-A ports on my vivobook work in acpi mode. ok patrick@, mlarkin@
2024-10-02amd64: implement a pmap_shootept() for non-MP kernels.Dave Voutila
Simplifies some of the recent INVEPT changes and mirrors the design of other pmap tlb shootdown functions that provide simplified non-MP implementations. ok mlarkin@
2024-10-02Update to 2024bgtz from https://github.com/JodaOrg/global-tzTodd C. Miller
o Improve historical data for Mexico, Mongolia, and Portugal. o System V names are now obsolescent. o The main data form now uses %z.
2024-10-02Move some PCI MMIO defines from vmm(4) kernel headers to userland.Dave Voutila
vmm(4) doesn't need this information anymore. vmd(8) is the only consumer of this information. ok mlarkin@
2024-10-02Reorder functions.Joel Sing
Reorder functions so that things are somewhat more logical, moving internal functions towards the top (and removing now unnecessary prototypes).
2024-10-02Remove err_fns and associated machinery.Joel Sing
Like all good OpenSSL code, errors was built to be completely extensible. Thankfully, the ERR_{get,set}_implementation() functions were removed in r1.127 of err.c, which means that the extensibility can no longer be used. Take the first of many steps to clean up this code - remove err_fns and associated machinery, calling functions directly. Rename so that we have an 'err_' prefix rather than 'int_' (or nothing). ok joshua@ tb@
2024-10-02Hook up the err regress.Joel Sing
2024-10-02Add initial regress for the error stack and ERR_* APIs.Joel Sing
2024-10-02Enable additional CRYPTO_get_ex_new_index() tests.Joel Sing
It was previously possible to call CRYPTO_get_ex_new_index() with either a negative index or a positive index that equaled or exceeded CRYPTO_EX_INDEX__COUNT. The reimplementation of exdata treats these as error cases.
2024-10-02On i386 long double is 80bit expanded to 96bits or 12 bytes. This is theClaudio Jeker
size that the ctftools ctfconvert uses and I think we should do as well. Fixes regress/usr.bin/ctfdump on i386. OK miod@
2024-10-02Add MSYSTEM to default update-environment.Nicholas Marriott
2024-10-02Add a define for the socket permissions check so it can be overriddenNicholas Marriott
more easily (for Cgywin).
2024-10-02Modify uvmpd_scan_inactive() to access `uvmexp.pdfreed' only once.Martin Pieuchot
ok kettenis@
2024-10-02Improve responsiveness in OOM situations & make free target checks coherent.Martin Pieuchot
Remove a change introduced in NetBSD to pageout 4 times as many pages as required to meet the low water mark of free pages. With todays' Gbs of RAMs, it makes the pagedaemon hog the CPU for too long when the amount of free pages is close to none. ok sthen@, kettenis@
2024-10-02Return number of freed pages in uvm_pmr_cache_drain().Martin Pieuchot
ok kettenis@
2024-10-02Switch PV pool allocator to use km_alloc(9) instead of uvm_km_kmemalloc(9).Martin Pieuchot
Reduce differences between pmaps & allow us to remove another deprecated allocator. ok phessler@, miod@
2024-10-02No need to check as->established before calling pfkey_remove().Claudio Jeker
Remove the extra checks in the caller and simplify some code because of that. OK tb@
2024-10-02Adding pkg_add from stdin hasn't worked in ages. It was somethingTheo Buehler
we inherited from the initial implemention on FreeBSD which has made no sense in years. prompted by a diff by Johannes Thyssen Tishman from espie
2024-10-02Report shifted keys like S-A as A not as S-A in mode 1 extended keys,Nicholas Marriott
from Stanislav Kljuhhin.
2024-10-01Extend Log->system to support the same features as BaseState->systemTheo Buehler
In order to support privsep in tags, we need to be able to pass some code values in child/parent. from espie, tested by sthen, ok giovanni
2024-10-01Use auth_conf.method instead of auth_state.method. The latter is always 0.Claudio Jeker
2024-10-01Explicitly set peer.auth_conf.method, the auth_state value is neverClaudio Jeker
initialized in the SE so bgpctl did always see 0, auth_conf.method is on the other hand properly shared. OK tb@
2024-10-01In merge_peers also copy over the auth_conf from the new peer to the oldClaudio Jeker
since that one is kept. OK tb@
2024-10-01Fix typo in commentClaudio Jeker
OK tb@
2024-10-01Adjust to the pfkey changes in bgpd.Claudio Jeker
OK tb@
2024-10-01Rework the pfkey and tcp md5 API to not depend on struct peer.Claudio Jeker
Instead use struct auth_config and struct auth_state in the pfkey calls and those tcp_md5 calls where it matters. This is preparation work to allow RTR to use TCP MD5 as well. OK tb@