summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-24Change macppc's ci_idepth from -1 to 0 when no interruptsGeorge Koehler
Now curcpu()->ci_idepth == 0 would work on macppc as it does on powerpc64 and other archs, by checking that we aren't in an interrupt. This also makes macppc's splassert_check() less different. locore.S checks for the 1st interrupt when it increments ci_idepth. Using -1 for no interrupts had saved an instruction, as "addic." was short for "addi; cmpwi". Using 0, it now does "cmpwi; addi" to compare ci_idepth with 0 before incrementing it. ok mpi@
2024-10-24Stop leaking kernel stack guard pages.Mark Kettenis
ok mpi@, anton@
2024-10-24Adjust ldapclient prototype to prevent an "argument of type 'int[2]' withClaudio Jeker
mismatched bound" warning. OK tb@
2024-10-24remove unused T_BITS define; ok miod@Jonathan Gray
2024-10-24Add missing error check for CBB_init_fixed()Theo Buehler
CID 511280
2024-10-24Add a ci_intrdepth field to struct cpu_info for sh, and use it to implementMiod Vallat
CLKF_INTR properly.
2024-10-24test SIGUSR1 dropping all keys from ssh-agentDamien Miller
2024-10-24amake ssh-agent drop all keys when it receives SIGUSR1;Damien Miller
let's users zap keys without access to $SSH_AUTH_SOCK ok deraadt@
2024-10-24relax valid_domain() checks to allow an underscore as the firstDamien Miller
character. ok deraadt@
2024-10-23Remove not-used-in-the-last-20-years-or-so defines.Miod Vallat
2024-10-23ec_point_conversion: cosmeticsTheo Buehler
2024-10-23ec_point_conversion: extend test coverage by translating back theTheo Buehler
point to an octet string and match with the initial octet string. would have caught the regression found by anton
2024-10-23EC_POINT_point2oct() need to special case the point at infinityTheo Buehler
This is annoying since it undoes some polishing done before commit and reintroduces an unpleasant asymmetry. found by anton via openssl-ruby tests ok jsing
2024-10-23Append fd to the variable names proc, rsync, rrdp, http since these variablesClaudio Jeker
are used to store file descriptors. OK tb@
2024-10-23EC_get_builtin_curves(): the most appropriate name for a list of curves...Theo Buehler
... is obviously r.
2024-10-23Rename `ci_in_intr' to `ci_idepth'.Martin Pieuchot
ok miod@
2024-10-23Rename `ci_intrdepth' to `ci_idepth'.Martin Pieuchot
ok jsg@, aoyama@
2024-10-23Rename `ci_intrdepth' to `ci_idepth'.Martin Pieuchot
ok jsg@, visa@
2024-10-23Decrement uobj reference count without KERNEL_LOCK().Martin Pieuchot
Reduce KERNEL_LOCK() contention when tearing down file-backed regions. Here it is safe to interleave the KERNEL_LOCK() and a rwlock because the former is released if the latter is contented. Contention analysed by and ok claudio@, ok kettenis@
2024-10-23drm/amdgpu: prevent BO_HANDLES error from being overwrittenJonathan Gray
From Mohammed Anees 64cf93b87fe34e72557de294718019c0ad2931b4 in linux-6.6.y/6.6.58 c0ec082f10b7a1fd25e8c1e2a686440da913b7a3 in mainline linux
2024-10-23drm/amdgpu/swsmu: Only force workload setup on initJonathan Gray
From Alex Deucher db0978d3ed8b1f69b6e09c3ccb66897fd2a9f6d7 in linux-6.6.y/6.6.58 cb07c8338fc2b9d5f949a19d4a07ee4d5ecf8793 in mainline linux
2024-10-23drm/radeon: Fix encoder->possible_clonesJonathan Gray
From Ville Syrjala 1a235af0216411a32ab4db54f7bd19020b46c86d in linux-6.6.y/6.6.58 28127dba64d8ae1a0b737b973d6d029908599611 in mainline linux
2024-10-23remove duplicate definesJonathan Gray
2024-10-23remove duplicate IWX_NVM_GET_INFO defineJonathan Gray
2024-10-23remove duplicate defines; ok tb@Jonathan Gray
2024-10-23remove duplicate MCX_CAP_DEVICE_DRAIN_SIGERR defineJonathan Gray
2024-10-23remove duplicate ET_MAC_HDX_REXMIT_MAX defineJonathan Gray
2024-10-23remove duplicate ESA_MINISRC_OUT_BUFFER_SIZE defineJonathan Gray
2024-10-22remove duplicate RT_BUF_SIZE defineJonathan Gray
2024-10-22remove duplicate X509v3_asid_add_id_or_range.3 lineJonathan Gray
2024-10-22remove duplicate rcs idJonathan Gray
2024-10-22rc: Use the correct path to sshd-auth's relink kitlucas
From Josiah Frentsos <jfrent AT tilde.team> OK tb
2024-10-22remove duplicate entry in match tableJonathan Gray
2024-10-22remove duplicate prototypeJonathan Gray
2024-10-22correct argument to klist_free(); ok visa@ mvs@Jonathan Gray
2024-10-22remove redundant include guard in BUS_SPACE_DEBUG pathJonathan Gray
incorrectly renamed in rev 1.26 discussed with claudio@
2024-10-22put opening { on same line as struct nameJonathan Gray
ok claudio@
2024-10-22Move a check for hybrid point encoding into a helper functionTheo Buehler
2024-10-22Rewrite ec_GFp_simple_point2oct() using CBBTheo Buehler
Factor ad-hoc inline code into helper functions. Use CBB and BN_bn2binpad() instead of batshit crazy skip loops and pointer banging. With all this done, the function becomes relatively streamlined and pretty much symmetric with the new oct2point() implementation. ok jsing
2024-10-22Rewrite ec_GFp_simple_oct2point() using CBSTheo Buehler
Transform the spaghetti in here into something more readable. Factor various inline checks into helper functions to make the logic clearer. This is a bit longer but a lot safer and simpler. It accepts exactly the same input as the original version. ok jsing
2024-10-22Start cleaning up oct2point and point2octTheo Buehler
The SEC 1 standard defines various ways of encoding an elliptic curve point as ASN.1 octet string. It's also used for the public key, which isn't an octet string but a bit string for whatever historic reason. The public API is incomplete and inconvenient, so we need to jump through a few hoops to support it and to preserve our own sanity. Split a small helper function out of ec_GFp_simple_point2oct() that checks that a uint8_t represents a valid point conversion form. It supports exactly the four possible variants and helps translating from point_conversion_form_t at the API boundary. Reject the form for the point at infinity since the function has historically done that even for the case that the point actually is the point at infinity. ok jsing
2024-10-22Suppress warning noise from deprecated OpenSSL APITheo Buehler
2024-10-22Revert marking EC_GROUP_method_of() and EC_METHOD_get_field_type() unusedTheo Buehler
breaks tree as noted by krw
2024-10-22Use imsg_get_fd() like everywhere else.Claudio Jeker
OK florian@ dv@
2024-10-22Rename `ci_intrdepth' to `ci_idepth'.Martin Pieuchot
ok gkoehler@, jsg@
2024-10-22ecp_oct.c: add missing includesTheo Buehler
2024-10-22Mark EC_GROUP_method_of() and EC_METHOD_get_field_type() as unusedTheo Buehler
ok jsing
2024-10-22Provide and use ec_group_get_field_type()Theo Buehler
All internal uses of EC_METHOD_get_field_type() and EC_GROUP_method_of() are chained together. Implement this as a single API call that takes a group and use it throughout. Gets rid of another eyesore in this part of the tree. Not that there will be a shortage of eyesores anytime soon... ok jsing
2024-10-22Inline a use of EC_GROUP_method_of()Theo Buehler
We can just reach into the group to obtain its EC_GROUP_METHOD. After all ec_local.h has to be in scope. This will permit marking this ugly API as unused internally after the next commit. ok jsing
2024-10-22Protect the ps_pgrp pointer by either the KERNEL_LOCK or the ps_mtx.Claudio Jeker
This should be enough to be on the safe side when unlocking ptsignal where a pr->ps_pgrp->pg_jobc == 0 check happens. OK mpi@ kettenis@