add a sshbuf_get_nulterminated_string() function to pull a \0-
terminated string from a sshbuf. Intended to be used to improve
parsing of SOCKS headers for dynamic forwarding.
ok deraadt; feedback Tim van der Molen
Determine how many queue pairs we have by looking at the I40E_PFLAN_QALLOC
register, rather than assuming we have the full capacity of the whole
chip, which is likely to be split among 2 or 4 functions.
ok jan@ dlg@
In the Adj-RIB-Out dmetric has no meaning (by default there is only one
path). Also nhflags are not needed any more since the nexthop selection
happens right before addition to the Adj-RIB-Out in up_prep_adjout().
OK tb@
Split up the PREFIX flags, split the name space and use PREFIX_ADJOUT
for those that only affect that struct.
In the process retire PREFIX_FLAG_ADJOUT.
OK tb@
time.h: const correct tm_zone in struct tm
The Base Specifications, Issue 8 incorporated Austin Group Defect 1533
adding long tm_gmtoff (which we already have) and const char *tm_zone,
which we have but without const. Adapt our struct. This was tested in
an amd64 bulk without fallout and fixes a bunch of compiler warnings
from strptime.c r1.32 where gmt[] and utc[] were moved to rodata.
https://austingroupbugs.net/view.php?id=1533
ok jca millert
Duplicate struct prefix into struct prefix_adjout and adjust code
to work with that.
Make sure that anything in the adj-rib-out uses the new struct. In
some cases code has to be duplicated since it is no longer possible to
use one code path to cover both Local-RIB and Adj-Out-RIB. This is
mostly in the code handling the 'bgpctl show rib' family of commands.
OK tb@
Correct the MLKEM hybrid objects values.
The ietf has had a bunch of back and forth over what will happen here.
in the end the previously mentioned draft will not include the TLS hybrids,
so we change this to use reference the correct draft for TLS, and use the
same name everyone else is using, without an OID.
While we will probably end up needing the *other* hybrids for things like
CMS, we will bring them in when we need them and have official OID values
from IANA.
ok tb@
merge the correct skinny-label into the single sector available.
We don't need to provide a fat-label, because the partitions in the
list don't need it. If this image is later used in a circumstance
where someone wants to tweak and add higher partitions, that will work
fine, but we don't need to create it ahead of time.
ok krw
Pick up MAKEDEV_PARTITIONS from the environment to replace the sysctl
maxpartitions value. It is expected things using this will set it to 16,
and it creates less inodes for the disk entries.
This is intentionally not documented since only a few install media need
this, and use of it is discouraged.
ok visa
Fix two circumstances where the code didn't understand that struct disklabel
doesn't fit inside a sector anymore.
There are a limited number of cases like this showing up throughout the
tree, and we may want a better mechanism to hand-fix them. This however
still means we need to find them..
ok krw
Capture VMCALL and abort the VM loop if invoked from cpl 0
When invoked from user space the expected happens:
VMX_EXIT_VMCALL at cpl=3
And the guest programs gets
Illegal instruction (core dumped)
ok mlarkin@
Implement cleanup helpers for rib_dump_free()
rib_dump_cleanup() and prefix_adjout_dump_cleanup() do the specific
bits of unlocking and removing the held reference to the rib entry
or prefix. This way the code doing that can be properly moved to
rde_adjout.c
OK tb@