Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-15 | Indicate that a process has stopped by setting PS_STOPPED flag | Claudio Jeker | |
The checks in dowait6 and orphanpg using ps_mainproc are flawed and fail if the mainproc called pthread_exit before the other threads. Adding the flag in proc_stop_sweep is racy but the best we have right now. This fixes regress/sys/kern/signal/sig-stop3. OK mpi@ | |||
2024-10-15 | Fix runtime calculation. Assiging ts to spc_runtime does not work if ts | Claudio Jeker | |
is modified. OK tb@ jca@ | |||
2024-10-15 | Use pr instead of p->p_p like everywhere else in exit1. | Claudio Jeker | |
2024-10-15 | remove unneeded pte.h include | Jonathan Gray | |
2024-10-15 | Switch ec_asn1_group2parameters() to get0_{order,cofactor}() | Theo Buehler | |
These are more ergonomic, result in more readable code, avoid a copy and we no longer ignore a possible memory allocation error due to API misdesign and bad code. ok jsing | |||
2024-10-15 | Provide EC_GROUP_get0_cofactor() for internal use | Theo Buehler | |
While this is public API in OpenSSL, there are no plans to expose it. ok jsing | |||
2024-10-15 | remove struct arpreq from net/if_arp.h | Jonathan Gray | |
unused since "rewrite to merge arp and routing tables" in CSRG if_ether.c 7.14 (Berkeley) 06/25/91 used by SIOCSARP, SIOCGARP, SIOCDARP, OSIOCGARP ioctls in Net/2 which were removed before 4.4BSD-Lite ok sthen@ who tested this with a ports build | |||
2024-10-15 | grow i386 media a bit | Theo de Raadt | |
2024-10-14 | mention SshdAuthPath option; ok djm@ | Christian Weisgerber | |
2024-10-14 | Set ACS flag for REP. Reported by Romain Francoise, GitHub issue 4182. | Nicholas Marriott | |
2024-10-14 | Make NULL checks in ec_asn1_group2curve() explicit | Theo Buehler | |
2024-10-14 | Extend ec_asn1_test to check for correct curve coefficient encoding | Theo Buehler | |
2024-10-14 | Fix field element encoding for elliptic curve coefficients | Theo Buehler | |
SEC 1, section 2.3.5, is explicit that the encoding of an element of the field of definition for an elliptic curve needs to be a zero-padded octet string whose length matches the byte size of the field's degree. So use BN_bn2binpad() to fix this. Factor things into a simple helper to avoid copy-pasting. This gets rid of some of the most grotesque code in this file. ok jsing | |||
2024-10-14 | Drop an obvious comment and fix indent for setting the seed | Theo Buehler | |
Also remove a pointless cast. ok jsing | |||
2024-10-14 | In ec_asn1_group2curve() rename ok to ret, per usual | Theo Buehler | |
ok jsing | |||
2024-10-14 | remove unneeded vmparam.h include from pte.h | Jonathan Gray | |
include vmparam.h in process_machdep for USER_SPACE_BITS | |||
2024-10-14 | Fix build w/o SUSPEND option | Jan Klemkow | |
with tweaks from miod@ ok miod@ | |||
2024-10-14 | remove unneeded device.h include | Jonathan Gray | |
2024-10-14 | remove unused struct sigstate; ok miod@ | Jonathan Gray | |
2024-10-14 | remove duplicate includes and license; feedback and ok miod@ | Jonathan Gray | |
2024-10-14 | remove notes about unsupported modifiers; from nir lichtman | Jason McIntyre | |
confirmed by miod | |||
2024-10-14 | regress support for split sshd-auth binary | Damien Miller | |
2024-10-14 | sshd-auth also has a relink kit | Theo de Raadt | |
2024-10-14 | sync | Theo de Raadt | |
2024-10-14 | change mutex.h include to rwlock.h | Jonathan Gray | |
missed when dh_mtx changed from mutex to rwlock in rev 1.6 | |||
2024-10-14 | Split per-connection sshd-session binary | Damien Miller | |
This splits the user authentication code from the sshd-session binary into a separate sshd-auth binary. This will be executed by sshd-session to complete the user authentication phase of the protocol only. Splitting this code into a separate binary ensures that the crucial pre-authentication attack surface has an entirely disjoint address space from the code used for the rest of the connection. It also yields a small runtime memory saving as the authentication code will be unloaded after thhe authentication phase completes. Joint work with markus@ feedback deraadt@ Tested in snaps since last week | |||
2024-10-14 | remove unneeded proc.h include | Jonathan Gray | |
2024-10-13 | don't start the ObscureKeystrokeTiming mitigations if there has been | Damien Miller | |
traffic on a X11 forwarding channel recently. Should fix X11 forwarding performance problems when this setting is enabled. Patch from Antonio Larrosa via bz3655 | |||
2024-10-13 | byt -> but; ok tb@ | Jonathan Gray | |
2024-10-13 | include stdio.h for sscanf() snprintf() | Jonathan Gray | |
2024-10-13 | remove unneeded timeout.h include | Jonathan Gray | |
2024-10-13 | remove unneeded limits.h and errno.h includes | Jonathan Gray | |
2024-10-13 | Be more eager to install qcpas firmware (more pattern matches) | Theo de Raadt | |
2024-10-12 | Make fw_update -a mean all | Andrew Fresh | |
When downloading or installing, not just deleting. Noticed by Paul de Weerd Help with manual wording from jmc@ Just fix -a, deraadt@ | |||
2024-10-12 | remove unneeded rwlock.h include | Jonathan Gray | |
2024-10-12 | remove unneeded time.h include | Jonathan Gray | |
2024-10-12 | remove unneeded percpu.h include | Jonathan Gray | |
2024-10-12 | Exercise the EC parameters code a bit more | Theo Buehler | |
Ensure all builtin curves can be roundtripped through DER as named curves, via explicit parameterization, using uncompressed, compressed and hybrid point formats. | |||
2024-10-12 | remove blank line; | Jason McIntyre | |
2024-10-12 | remove duplicate misc.h include | Jonathan Gray | |
ok dtucker@ | |||
2024-10-12 | Call realpath on the source file to match -f on the command line, GitHub | Nicholas Marriott | |
issue 4180. | |||
2024-10-12 | Do not rename a buffer to itself, GitHub issue 4181. | Nicholas Marriott | |
2024-10-12 | remove duplicate unistd.h include | Jonathan Gray | |
2024-10-12 | introduce a new build class to be used by the build user | Robert Nagy | |
this class will be required for the upcoming llvm update that requires bumped datasize because of llvm-tblgen ok deraadt@ | |||
2024-10-12 | remove vmparam.h include | Jonathan Gray | |
not required since VM_PHYSSEG_MAX changed to HIB_PHYSSEG_MAX in rev 1.45 | |||
2024-10-12 | Remove unnecessary str variable in ssl_stat.c | Theo Buehler | |
Drop about 1/4 of the lines in here by avoiding the use of a variable. For some reason the API in this file made me go listen to Pow R. Toc H. All of a sudden the lyrics made sense. I should probably be worried. ok beck jsing | |||
2024-10-11 | Use a and b for the curve coefficients | Theo Buehler | |
No idea how anyone would think that tmp_1 and tmp_2 are better suited for this. ok jsing | |||
2024-10-11 | Clean up ec_asn1_group2fieldid() | Theo Buehler | |
This drops some unnecessary freeing that was turned into a double free reachable via public API in OpenSSL 1.1. Other than that it unindents code and uses better variable names. ok jsing | |||
2024-10-11 | Fix a long-standing bug in ec_asn1_group2pkparameters() | Theo Buehler | |
Only check for the OPENSSL_EC_NAMED_CURVE being set to treat the curve parameters as named curve parameters. ok jsing | |||
2024-10-11 | Use defines for the CHOICE variants of ECPKPARAMETERS | Theo Buehler | |
ok jsing |