summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-23drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2Jonathan Gray
From George Shen 383e32fa274a330dbf2d2db538b6bf2f9ef390aa in linux-6.1.y/6.1.13 275d8a1db261a1272a818d40ebc61b3b865b60e5 in mainline linux
2023-02-23drm/amd/display: Adjust downscaling limits for dcn314Jonathan Gray
From Daniel Miess 7dbd205349f1fb098057c28a9a2af244aa868f72 in linux-6.1.y/6.1.13 dd2db2dc4bd298f33dea50c80c3c11bee4e3b0a4 in mainline linux
2023-02-23drm/amd/display: Add missing brackets in calculationJonathan Gray
From Daniel Miess 0c42622a573b716d79c57ff61c52fea46c0a5c94 in linux-6.1.y/6.1.13 ea062fd28f922cb118bfb33229f405b81aff7781 in mainline linux
2023-02-23adjust documentation for ktrace.h changes. utrace() is now easier to useTheo de Raadt
ok guenther
2023-02-23include two required header files, because we want people to use utrace()Theo de Raadt
easier ok guenther
2023-02-22Explicitly initialize vmd_vm pointer with NULL before calling vm_register.Moritz Buhl
Found by codechecker. ok dv@
2023-02-22remove .Pp before .Sh;Jason McIntyre
2023-02-22Point to <signal.h> and not <sys/signal.h>: the latter isPhilip Guenther
an implementation detail for the kernel, libc, and libkvm, and should not be a concern for others.
2023-02-22Don't mention <sys/signal.h>: <pthread_np.h> pulls in everything that'sPhilip Guenther
needed.
2023-02-22Prefer 'argument' over 'parameter' when refering to the valuePhilip Guenther
passed in a specific call. From discussion with schwarze@ and jmc@ ok jmc@
2023-02-22Prefer "get or set" over "get/set" or "get and set".Philip Guenther
From discussion with schwarze@ and jmc@ ok jmc@
2023-02-22Adjust parentheses in mont->ri assignment.Joel Sing
Requested by tb@
2023-02-22Replace bn_sub_part_words() with bn_sub().Joel Sing
Now that bn_sub() handles word arrays with potentially different lengths, we no longer need bn_sub_part_words() - call bn_sub() instead. This allows us to entirely remove the unnecessarily complex bn_sub_part_words() code. ok tb@
2023-02-22Rework bn_add()/bn_sub() to operate on word arrays.Joel Sing
Rather than working on BIGNUMs, change bn_add()/bn_sub() to operate on word arrays that potentially differ in length. This matches the behaviour of s2n-bignum's bignum_add() and bignum_sub(). ok tb@
2023-02-22Rewrite and simplify BN_MONT_CTX_set()Joel Sing
OpenSSL commit 4d524040bc8 changed BN_MONT_CTX_set() so that it computed a 64 bit N^-1 on both BN_BITS2 == 32 and BN_BITS2 == 64 platforms. However, the way in which this was done was to duplicate half the code and wrap it in #ifdef. Rewrite this code to use a single code path on all platforms, with #ifdef being limited to setting an additional word in the temporary N and storing the result on BN_BITS2 == 32 platforms. Also remove stack based BIGNUM in favour of using the already present BN_CTX. ok tb@
2023-02-22fix progressmeter corruption on wide displays; bz3534Damien Miller
feedback/ok dtucker@
2023-02-21adress -> address;Jason McIntyre
2023-02-21rpki-client: refactor manifest/crl parsing a bitTheo Buehler
Now that we always try to load the CRL from both locations, we can deal with loading the DER directly in proc_parser_mft_pre(), so shuffle the code around to accomplish that. This should make an upcoming diff by claudio a bit simpler. ok claudio
2023-02-21hppa does some weird callgate stuff, so the pinsyscall() provides theTheo de Raadt
wrong address to the kernel. disable for now.
2023-02-21dlfcn/init.cTheo de Raadt
2023-02-21spelling.Moritz Buhl
ok jmc
2023-02-21Do pinsyscall() after static libc is configured for errno storage.Theo de Raadt
2023-02-21pinsyscall(2) is not just for dynamic binaries anymore, so make theTheo de Raadt
text more generic
2023-02-21In static binaries, if WEAK execve can be found, use pinsyscall(2) toTheo de Raadt
tell the kernel where the execve stub is found. With this mechanism we cannot tell the size, so use 128 as an estimate for the most we expect from any architecture. discussed with kettenis, ok guenther
2023-02-21create a stub for pinsyscall(2)Theo de Raadt
ok guenther
2023-02-21for process kills due to execve from non-pinned syscall address, exportTheo de Raadt
a new AEXECVE bit to acct(4), and print it in lastcomm(8) ok bluhm
2023-02-21Attach Apollo Lake HD Audio device, enabling audio on machines with it.Brian Callahan
ok jsg@ phessler@
2023-02-21Have disk and string list helpers print trailing newlins consistentlyKlemens Nanni
In practise, omitting \n is pointless in get_*devs*(), addel() and rmel() as they are all all used in such a way that the shell always ensures a trailing \n anyway. (This might have been needed with the old recursive bsort(), but not now.) The one exception being the case of a ramdisk with no disks, which revealed \n mishandling in the root disk question where it ought to print "none" instead of an empty list of available disks (since inception in r1.1114): Available disks are: . Which disk is the root disk? ('?' for details) ? OK afresh1
2023-02-21perlasm: properly spell .rodata for macOS on intelTheo Buehler
ok jsing
2023-02-21remove extra argumentBrent Cook
ok tb@
2023-02-21Check all possible storage areas for a matching CRLJob Snijders
This change makes proc_parser_mft_pre() -> parse_load_crl_from_mft() search in both DIR_TEMP and DIR_VALID for a CRL with a matching SHA256 hash, increasing our chances of constructing a full publication point. With and OK tb@ claudio@
2023-02-21rpki-client: ensure there is no trailing garbage in signed objectsTheo Buehler
The d2i functions are designed in such a way that the caller is responsible to check if the entire buffer was consumed. Add checks on deserializing a signed object to ensure the entire file has been consumed. Reject the file if it has trailing garbage. found by & ok job, ok claudio
2023-02-21some nameserver proposal bits:Jason McIntyre
unwind.8: point to resolvd(8) for autoconf sources unwind.conf.5: order preferred list by order of preference resolvd.8: reformat to read better route.8: no need to discuss unwind in the nameserver command umb.4 + sppp.4: note the sending of nameserver proposals the umb/sppp text is from claudio tobhe confirmed iked sending proposals when configured to do so much assistance and ok: florian claudio
2023-02-21fseek to end of known_hosts before writing to it. POSIX and ANSI CDarren Tucker
require that applications call fseek or similar between read and writing to a RW file. OpenBSD doesn't enforce this, but some (System V derived) platforms need this to prevent it from writing a spurious extra byte (in this case, a newline). ok djm@ deraadt@
2023-02-21Unifdef MONT_WORD.Joel Sing
It does not make sense to use code that is slower, currently broken and prevents the use of assembly Montgomery implementations. This is the result of `unifdef -m -DMONT_WORD`, followed by some manual clean up and the removal of the Ni bignum from BN_MONT_CTX (which was only used in the non-MONT_WORD case). ok miod@ tb@
2023-02-21syncTheo de Raadt
2023-02-21Set the current pmap in macppc's pmap_activateGeorge Koehler
This fixes a possible freeze in execve(2). It sometimes froze when a dual-cpu macppc started daemons during boot. There is a chance that uvm_map.c uvmspace_exec sees ovm->vm_refcnt != 1 and switches curproc to a new pmap. If this happened, then execve froze by trying to copyout to the wrong pmap; curpcb->pcb_pm was old. Fix by setting pointers when uvmspace_exec calls pmap_activate. ok miod@
2023-02-21syncTheo de Raadt
2023-02-21Remove conflict markers from perl testsAndrew Fresh
This is upstream PR 28103 https://github.com/Perl/perl5/pull/20813 Requested by stsp@ for quality of life improvments for Game of Trees users.
2023-02-21correct parameter typeTheo de Raadt
2023-02-21Don't install DebugWrap.1 manpageAndrew Fresh
It's from a test file and should never have been installed. Noticed by xse in #openbsd on libera.chat
2023-02-20sndiod(8) is the audio daemon now; from david demelierJason McIntyre
2023-02-20Rework/modernize verbiage in the "AUTOMATIC DISK ALLOCATION" andKenneth R Westerback
"EXAMPLES" sections. Build tables with 'Bd -column' instead of tabs inside 'Bl -literal'. Columns now line up (more or less) in text, .pdf and .html versions. Prompted by kn@, feedback & suggestions from jmc@ and schwarze@.
2023-02-20Rewrite the ROM walk logic to correctly iterate over non-STI ROMs (and skipMiod Vallat
them), such as x86 bios ROMs.
2023-02-20Wrap all printf calls in sti_check_rom() in order to automagically cope withMiod Vallat
ROM enable/disable; makes addition of debug code more fool-proof. NFC (yet)
2023-02-20Disable strict bourne shell mode to get ksh behaviour in (S)hellKlemens Nanni
Enable features like arithmatic expression and thus make the debug aid `FUNCS_ONLY=1 . /install.sub' work in those prompts. '!' answers spawn their own ksh process, but (S)hell drops into /.profile sourced by /bin/sh executed by init(8), i.e. a korn shell defaulting to strict bourne shell mode. Shell options in this interactive parent shell do not effect install.sub aka. /install, /autoinstall and /upgrade as it is executed in a child. OK afresh1
2023-02-20Adjust inline !libc check to match the intent in ld.soGreg Steuck
right, deraadt@
2023-02-20Unbreak RAMDISK build by adding a check for MULTIPROCESSOR.Patrick Wildt
2023-02-19Improve media disk question defaultKlemens Nanni
Sets on an unmounted disk partition are most likely to be on install media, e.g. CD or USB stick. Default 'Which disk contains the install media?' to the first disk that is a) not the root disk and b) not a disk with softraid chunks (hosting the root disk, for example). This makes it point at the right disk in most setups. All disks remain valid answers, this is only about the default. OK afresh1
2023-02-19auth_getchallenge does not exist anymoreaisha