Age | Commit message (Collapse) | Author |
|
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@
|
|
ok mpi@, anton@
|
|
mismatched bound" warning.
OK tb@
|
|
|
|
CID 511280
|
|
CLKF_INTR properly.
|
|
|
|
let's users zap keys without access to $SSH_AUTH_SOCK
ok deraadt@
|
|
character. ok deraadt@
|
|
|
|
|
|
point to an octet string and match with the initial octet string.
would have caught the regression found by anton
|
|
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
|
|
are used to store file descriptors.
OK tb@
|
|
... is obviously r.
|
|
ok miod@
|
|
ok jsg@, aoyama@
|
|
ok jsg@, visa@
|
|
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@
|
|
From Mohammed Anees
64cf93b87fe34e72557de294718019c0ad2931b4 in linux-6.6.y/6.6.58
c0ec082f10b7a1fd25e8c1e2a686440da913b7a3 in mainline linux
|
|
From Alex Deucher
db0978d3ed8b1f69b6e09c3ccb66897fd2a9f6d7 in linux-6.6.y/6.6.58
cb07c8338fc2b9d5f949a19d4a07ee4d5ecf8793 in mainline linux
|
|
From Ville Syrjala
1a235af0216411a32ab4db54f7bd19020b46c86d in linux-6.6.y/6.6.58
28127dba64d8ae1a0b737b973d6d029908599611 in mainline linux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
From Josiah Frentsos <jfrent AT tilde.team>
OK tb
|
|
|
|
|
|
|
|
incorrectly renamed in rev 1.26
discussed with claudio@
|
|
ok claudio@
|
|
|
|
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
|
|
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
|
|
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
|
|
|
|
breaks tree as noted by krw
|
|
OK florian@ dv@
|
|
ok gkoehler@, jsg@
|
|
|
|
ok jsing
|
|
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
|
|
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
|
|
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@
|