yasuoka [Sun, 22 Jan 2023 23:05:51 +0000 (23:05 +0000)]
Fix pf_anchor_stackframe commit to revert pf rule matching to the
previous behavior that stops when any rule matches within quick
anchors.
ok sasha kn
tb [Sun, 22 Jan 2023 22:38:23 +0000 (22:38 +0000)]
Fix list of possible values of MODRUBY_REV
With Ruby 2.7 in the attic, MODRUBY_REV can no longer be set to 2.7.
It has been possible to set it to 3.2 for a while.
dv [Sun, 22 Jan 2023 22:18:40 +0000 (22:18 +0000)]
vmd(8): don't remove known vm's from the config on error.
Multiple error paths, specifically the one related to if a guest
cannot allocate memory at start, resulted in a known vm (via
vm.conf(5)) being removed from the vm list. Adjust the error paths
to check if the failing vm is defined in the config before tearing
it down.
Tested with help from beck@ and Mischa Peters.
ok beck@
jeremy [Sun, 22 Jan 2023 20:57:21 +0000 (20:57 +0000)]
Update documentation for removal of ruby27 FLAVOR
krw [Sun, 22 Jan 2023 19:57:25 +0000 (19:57 +0000)]
Fix incorrect comparison. Restores ability to edit 'p'.
cheloha [Sun, 22 Jan 2023 18:36:38 +0000 (18:36 +0000)]
gptimer(4): remove dead MD microtime(9) implementation
anton [Sun, 22 Jan 2023 16:38:36 +0000 (16:38 +0000)]
Cope with xonly on amd64 by moving the testfly routine to the rodata
section.
kettenis [Sun, 22 Jan 2023 13:14:21 +0000 (13:14 +0000)]
Simplify the (so far unused) apm_record_event() function a bit and use it
to send a resume event to userland when we come out of suspend.
ok deraadt@
mvs [Sun, 22 Jan 2023 12:05:44 +0000 (12:05 +0000)]
Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' of
receive buffer. As it was done for SS_CANTSENDMORE bit, the definition
kept as is, but now these bits belongs to the `sb_state' of receive
buffer. `sb_state' ored with `so_state' when socket data exporting to the
userland.
ok bluhm@
miod [Sat, 21 Jan 2023 19:39:28 +0000 (19:39 +0000)]
Remove dead/unused prototypes
mvs [Sat, 21 Jan 2023 17:35:01 +0000 (17:35 +0000)]
Introduce `rt_lock' rwlock(9) and use it instead of kernel lock to
serialize arpcache() and arpresolve(). In fact, net stack already has
sleep points, so the rwlock(9) is better here because we avoid
intersection with the rest of kernel locked paths. Also this new lock
assumed to use to route layer protection instead of netlock.
Hrvoje Popovski had tested this diff and found no visible performance
impact.
ok bluhm@
jsing [Sat, 21 Jan 2023 17:30:50 +0000 (17:30 +0000)]
Enable bn_sqr() on amd64.
ok tb@
jsing [Sat, 21 Jan 2023 17:29:56 +0000 (17:29 +0000)]
Provide an implementation of bn_sqr() that calls s2n-bignum's bignum_sqr().
ok tb@
jsing [Sat, 21 Jan 2023 16:35:18 +0000 (16:35 +0000)]
Fix include.
jsing [Sat, 21 Jan 2023 16:30:57 +0000 (16:30 +0000)]
Include the ISC license from s2n-bignum's LICENSE file.
jsing [Sat, 21 Jan 2023 16:29:52 +0000 (16:29 +0000)]
Bring in s2n-bignum's bignum_sqr() for amd64.
ok tb@
krw [Sat, 21 Jan 2023 16:20:25 +0000 (16:20 +0000)]
editor_resize(), editor_change(), editor_modify() and
editor_name() use identical logic to choose a partition to act
on, with some minor verbiage differences.
Extract getpartno() to contain/tighten this logic and shrink the
editor_* functions by using it.
No intentional functional change but for verbiage tweaks.
jsing [Sat, 21 Jan 2023 15:53:54 +0000 (15:53 +0000)]
Include the ISC license from s2n-bignum's LICENSE file.
jsing [Sat, 21 Jan 2023 15:51:17 +0000 (15:51 +0000)]
Bring in the internal and "public" headers for s2n-bignum.
s2n-bignum provides a collection of bignum routines that are written in
pure machine code. Each function is written in constant-time style and
has a formal proof. We intend on making use of these for libcrypto's
bignum implementation on aarch64 and amd64.
ok tb@
jsing [Sat, 21 Jan 2023 15:40:13 +0000 (15:40 +0000)]
Refactor BN_mul().
This splits BN_mul() into two parts, one of which is a separate bn_mul()
function. This makes the code more readable and managable, while also
providing a better entry point for assembly optimisation. A separate
bn_mul() is provided for the BN_RECURSION implementation, to reduce
complexity.
This also enables bn_mul_comba4() for four word long bignums - this was
disabled for unknown reasons.
ok tb@
deraadt [Sat, 21 Jan 2023 15:38:05 +0000 (15:38 +0000)]
enable --exec-only as default on AMD64. There will be a some ports fallout
for a little while more (a few more data tables inside text), but they are
being handled quickly
ok tb naddy
jsing [Sat, 21 Jan 2023 14:10:46 +0000 (14:10 +0000)]
Refactor BN_sqr().
This splits BN_sqr() into two parts, one of which is a separate bn_sqr()
function. This makes the code more readable and managable, while also
providing a better entry point for assembly optimisation.
ok tb@
jsing [Sat, 21 Jan 2023 13:24:39 +0000 (13:24 +0000)]
Provide basic benchmarks for BN_mul() and BN_sqr().
mvs [Sat, 21 Jan 2023 11:23:23 +0000 (11:23 +0000)]
Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.
This time, socket's buffer lock requires solock() to be held. As a part of
socket buffers standalone locking work, move socket state bits which
represent its buffers state to per buffer state.
Opposing the previous reverted diff, the SS_CANTSENDMORE definition left
as is, but it used only with `sb_state'. `sb_state' ored with original
`so_state' when socket's data exported to the userland, so the ABI kept as
it was.
Inputs from deraadt@.
ok bluhm@
kettenis [Sat, 21 Jan 2023 10:34:49 +0000 (10:34 +0000)]
The Qualcomm UEFI Secure Application that handles EFI variables seems to
insist on shared memory in the low 4G of the physical address space.
Use bus_dmamem_alloc_range(9) to make sure this is the case.
Makes setting and getting the RTC time reliable.
ok patrick@, deraadt@, phessler@
kettenis [Sat, 21 Jan 2023 10:30:11 +0000 (10:30 +0000)]
Make bus_dmamem_alloc_range(9) API available.
ok patrick@, deraadt@, phessler@
jsing [Sat, 21 Jan 2023 09:21:11 +0000 (09:21 +0000)]
Reorder functions and drop unnessary static prototypes.
No functional change.
kn [Sat, 21 Jan 2023 09:01:55 +0000 (09:01 +0000)]
sync EXTRACT_CASES and PATCH_CASES with reality
xz handles .lz now, we deal with zstd patches by default, bzip2 and gzip
have command variables.
job [Fri, 20 Jan 2023 22:00:47 +0000 (22:00 +0000)]
Refactor x509v3_cache_extensions
Simplify x509v3_cache_extensions() by using a wrapper to avoid
duplication of code for locking and checking the EXFLAG_INVALID flag.
OK tb@
nicm [Fri, 20 Jan 2023 21:36:00 +0000 (21:36 +0000)]
Add a flag to display-menu to select the manu item chosen first, GitHub
issue 3442.
krw [Fri, 20 Jan 2023 17:47:07 +0000 (17:47 +0000)]
editor_name() and get_mp() don't change the disklabel so
const'ify some parameters and local variables.
jsing [Fri, 20 Jan 2023 17:34:52 +0000 (17:34 +0000)]
Remove various #ifndef BN_SQR_COMBA.
bn_sqr_comba{4,8}() is now always available.
ok tb@
jsing [Fri, 20 Jan 2023 17:31:52 +0000 (17:31 +0000)]
Move bn_{mul,sqr}_comba{4,8}() from bn_asm.c to bn_mul.c/bn_sqr.c.
Wrap these in HAVE_BN_{MUL,SQR}_COMBA{4,8} defines. Add these defines to
bn_arch.h where the architecture currently provides its own version.
ok tb@
jsing [Fri, 20 Jan 2023 17:26:03 +0000 (17:26 +0000)]
Move {mul,sqr}_add_c{,2} macros from bn_asm.c to bn_local.h.
These depend on other macros that are in already in bn_local.h and this
makes them available to other source files. A lot more clean up will be
needed in the future.
Of course x86_64-gcc.c makes use of the same macro names - sprinkle some
undef in there for the time being.
ok tb@
millert [Fri, 20 Jan 2023 17:21:12 +0000 (17:21 +0000)]
The locale is ignored on OpenBSD, match the wording used in isalpha.3.
OK schwarze@
cheloha [Fri, 20 Jan 2023 17:18:08 +0000 (17:18 +0000)]
hppa: simplify itmr_rearm()
The nest of branches in itmr_rearm() can be simplified to:
if (cycles <= t1 - t0) {
/* we probably missed */
}
We're doing modular unsigned 32-bit, so the rollover case in the
current code is superfluous.
Tested by miod@.
"Works for me." miod@
kn [Fri, 20 Jan 2023 17:15:22 +0000 (17:15 +0000)]
Sync usage with SYNOPSIS, mention that -x may use stdout
Feedback from jmc and Crystal Kolipe
OK jmc
deraadt [Fri, 20 Jan 2023 16:03:14 +0000 (16:03 +0000)]
amd64 now has xonly support via the PKU feature. Marking ld.so exec-only
is no longer a NOP on those systems, let's do it.
deraadt [Fri, 20 Jan 2023 16:01:04 +0000 (16:01 +0000)]
On cpu with the PKU feature, prot=PROT_EXEC pages now create pte which
contain PG_XO, which is PKU key1. On every exit from kernel to userland,
force the PKU register to inhibit data read against key1 memory. On
(some) traps into the kernel if the PKU register is changed, abort the
process (processes have no reason to change the PKU register). This
provides us with viable xonly functionality on most modern intel & AMD
cpus. I started with a xsave-based diff from dv@, but discovered the
fpu save/restore logic wasn't a good fit and went to direct register management.
Disabled on HV (vm) systems until we know they handle PKU correctly.
ok kettenis, dv, guenther, etc
claudio [Fri, 20 Jan 2023 15:43:25 +0000 (15:43 +0000)]
Update config regress test now that aspa-set syntax changed.
OK tb@
claudio [Fri, 20 Jan 2023 15:42:34 +0000 (15:42 +0000)]
Remove 'allow' from aspa-set provider-set lists. That keyword is no longer
needed.
OK tb@
claudio [Fri, 20 Jan 2023 15:41:33 +0000 (15:41 +0000)]
Document the aspa-set table. While there remove the superfluous 'allow'
keyword.
OK tb@
kettenis [Fri, 20 Jan 2023 15:11:44 +0000 (15:11 +0000)]
When ppb(4) detaches, make its bus range available again even if it was
configured by the firmware and pre-allocated by our parent pci(4) bus.
Fixes unplugging and replugging thunderbolt devices that were plugged in
when the machine was booted.
ok mlarkin@, deraadt@, miod@
krw [Fri, 20 Jan 2023 14:35:43 +0000 (14:35 +0000)]
char * -> const char * parameters where clang doesn't complain.
jsing [Fri, 20 Jan 2023 12:16:46 +0000 (12:16 +0000)]
Remove unused code.
ok tb@
claudio [Fri, 20 Jan 2023 10:30:41 +0000 (10:30 +0000)]
comma space not space comma
claudio [Fri, 20 Jan 2023 10:28:22 +0000 (10:28 +0000)]
Bad indent
jsing [Fri, 20 Jan 2023 10:07:52 +0000 (10:07 +0000)]
Replace BN_DIV3W with HAVE_BN_DIV_3_WORDS (in bn_arch.h).
ok tb@
jsing [Fri, 20 Jan 2023 10:04:33 +0000 (10:04 +0000)]
Provide a per machine bn_arch.h.
This will provide a location for machine specific defines, prototypes and
inline functions.
ok tb@
jsing [Fri, 20 Jan 2023 10:00:51 +0000 (10:00 +0000)]
Reorder functions.
No functional change.
claudio [Fri, 20 Jan 2023 09:54:43 +0000 (09:54 +0000)]
remove extra tab
jsing [Fri, 20 Jan 2023 04:49:48 +0000 (04:49 +0000)]
Reorder functions for easier maintenance.
No functional change.
kettenis [Thu, 19 Jan 2023 22:54:45 +0000 (22:54 +0000)]
Revert previous commit (but leave the man page around); llvm-strip behaves
differently on files that are hardlinked and this is tripping up ports.
requested by naddy@
kettenis [Thu, 19 Jan 2023 20:17:11 +0000 (20:17 +0000)]
Revise implementation of pmap_protect(9) in preparation for execute-only
support. The current implementation doesn't handle the transition from
RWX to RW correctly. Also generalize the pmap_write_protect() function
in recognition of the fact that execute permission, write permission,
and in the future read permission on executable pages, are handled by
separate bits.
ok deraadt@, mpi@
dv [Thu, 19 Jan 2023 15:52:51 +0000 (15:52 +0000)]
Restrict vmm(4) exposed cpuid extended feature flags.
We don't emulate or support most of the EAX=7,ECX=0 feature bits,
so restrict the mask further to just UMIP.
ok deraadt@
aoyama [Thu, 19 Jan 2023 10:59:24 +0000 (10:59 +0000)]
Do not use unsupported __attribute__((warn_unused_result)) on gcc3.
This prevents building libfido2 stops with error on luna88k because it
is compiled with -Werror option.
ok, and better #if condition by miod@
dtucker [Thu, 19 Jan 2023 07:53:45 +0000 (07:53 +0000)]
Check if we can copy sshd or need to use sudo to do so during reexec
test. Skip test if neither can work. Patch from anton@, tweaks from me.
jsing [Thu, 19 Jan 2023 04:51:31 +0000 (04:51 +0000)]
Remove more unused assembly generation scripts.
jsing [Thu, 19 Jan 2023 04:43:24 +0000 (04:43 +0000)]
Remove various unused assembly files and assembly generation scripts.
These are just creating clutter and cause grep noise.
ok miod@
jsg [Thu, 19 Jan 2023 00:36:23 +0000 (00:36 +0000)]
drm/i915: Fix CFI violations in gt_sysfs
From Nathan Chancellor
3925336af00f79fb7f3a390b6ab30d455d32d863 in linux-6.1.y/6.1.7
a8a4f0467d706fc22d286dfa973946e5944b793c in mainline linux
jsg [Thu, 19 Jan 2023 00:32:55 +0000 (00:32 +0000)]
drm/amdgpu: Fix potential NULL dereference
From Luben Tuikov
f2faf0699af78968a27ca154bf76e94247f8c471 in linux-6.1.y/6.1.7
0be7ed8e7eb15282b5d0f6fdfea884db594ea9bf in mainline linux
jsg [Thu, 19 Jan 2023 00:31:30 +0000 (00:31 +0000)]
drm/amdgpu: enable VCN DPG for GC IP v11.0.4
From Saleemkhan Jamadar
309278736f35f0937d6338d5986a6a4a48e90d2f in linux-6.1.y/6.1.7
e1d900df63adcb748905131dd6258e570e11aed1 in mainline linux
jsg [Thu, 19 Jan 2023 00:29:55 +0000 (00:29 +0000)]
drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN
From Saleemkhan Jamadar
e30be0ada6e2a55e8581aa55860afc6cf5183300 in linux-6.1.y/6.1.7
2a0fe2ca6e9c9bf9c47a9f9f0d67c13281a13f8c in mainline linux
jsg [Thu, 19 Jan 2023 00:28:00 +0000 (00:28 +0000)]
drm/amdgpu: add soc21 common ip block support for GC 11.0.4
From Yifan Zhang
6ef4543f1f3b21b108021f3dec9bd02bf9f200ee in linux-6.1.y/6.1.7
311d52367d0a7985ee1132662bad46f09169eed2 in mainline linux
jsg [Thu, 19 Jan 2023 00:26:25 +0000 (00:26 +0000)]
drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
From Evan Quan
d90de26bdc97a51a195116428fbb4776394f79a7 in linux-6.1.y/6.1.7
62b9f835a6c60171845642afec4ce4b44865f10f in mainline linux
jsg [Thu, 19 Jan 2023 00:24:35 +0000 (00:24 +0000)]
drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
From Evan Quan
d167ce6c47db12de69d2c2e7bdde9e608183d2a1 in linux-6.1.y/6.1.7
1794f6a9535bb5234c2b747d1bc6dad03249245a in mainline linux
jsg [Thu, 19 Jan 2023 00:22:50 +0000 (00:22 +0000)]
drm/amd/pm: Enable bad memory page/channel recording support for smu v13_0_0
From Candice Li
5e594dbf6e76cf0b75ab4cff2e5d42a3f63963a5 in linux-6.1.y/6.1.7
48aa62f07467c8fcd4b4ec7851e13c83e89a1558 in mainline linux
jsg [Thu, 19 Jan 2023 00:20:35 +0000 (00:20 +0000)]
drm/amd/pm: enable mode1 reset on smu_v13_0_10
From Kenneth Feng
e59d46eed1d930318f36a90138898f7fa7730389 in linux-6.1.y/6.1.7
60cfad329ab877cb62975ea78ed442c2496990ba in mainline linux
kettenis [Thu, 19 Jan 2023 00:18:19 +0000 (00:18 +0000)]
The binutils strip damages GNU_RELRO on binaries linked by ld.lld on at
least amd64. Fix this by switching to the llvm strip on architectures
that use ld.lld.
ok deraadt@
jsg [Thu, 19 Jan 2023 00:17:47 +0000 (00:17 +0000)]
drm/i915/gt: Cleanup partial engine discovery failures
From Chris Wilson
5c855bcc730656c4b7d30aaddcd0eafc7003e112 in linux-6.1.y/6.1.7
78a033433a5ae4fee85511ee075bc9a48312c79e in mainline linux
jsg [Thu, 19 Jan 2023 00:15:38 +0000 (00:15 +0000)]
Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""
From Alex Deucher
f905e03c8ff65d80c24f42d8b93df3cec5a7ab12 in linux-6.1.y/6.1.7
30b8e7b8ee3be003e0df85c857c5cd0e0bd58b82 in mainline linux
jsg [Thu, 19 Jan 2023 00:08:33 +0000 (00:08 +0000)]
drm/amd/display: move remaining FPU code to dml folder
From Ao Zhong
69a75087cd1f10d5be07527f7ed7ed38db429d7e in linux-6.1.y/6.1.7
58ddbecb14c792b7fe0d92ae5e25c9179d62ff25 in mainline linux
jsg [Thu, 19 Jan 2023 00:05:52 +0000 (00:05 +0000)]
drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7
From Evan Quan
363781f72d46c3762d7c0fd8fc13f27dce47f5cf in linux-6.1.y/6.1.7
318ca20893c19ead02845a08204c3f9249bb74cd in mainline linux
jsg [Thu, 19 Jan 2023 00:03:51 +0000 (00:03 +0000)]
drm/amd/pm: correct the reference clock for fan speed(rpm) calculation
From Evan Quan
b435f68e415ca5e17e3425893ea991720a43b595 in linux-6.1.y/6.1.7
6fea87637bf36bd285227f490132e83582ab7513 in mainline linux
jsg [Thu, 19 Jan 2023 00:01:58 +0000 (00:01 +0000)]
drm/amdgpu: Fixed bug on error when unloading amdgpu
From YiPeng Chai
9196eb7c52e55749a332974f0081f77d53d60199 in linux-6.1.y/6.1.7
99f1a36c90a7524972be5a028424c57fa17753ee in mainline linux
jsg [Thu, 19 Jan 2023 00:00:06 +0000 (00:00 +0000)]
drm/amd: Delay removal of the firmware framebuffer
From Mario Limonciello
dcfeba477b3e3df526e0f543b58fa71c045dff8b in linux-6.1.y/6.1.7
1923bc5a56daeeabd7e9093bad2febcd6af2416a in mainline linux
jsg [Wed, 18 Jan 2023 23:58:45 +0000 (23:58 +0000)]
drm/i915: Fix potential context UAFs
From Rob Clark
b696c627b3f56e173f7f70b8487d66da8ff22506 in linux-6.1.y/6.1.7
afce71ff6daa9c0f852df0727fe32c6fb107f0fa in mainline linux
jsg [Wed, 18 Jan 2023 23:56:45 +0000 (23:56 +0000)]
drm/i915: Reserve enough fence slot for i915_vma_unbind_async
From Nirmoy Das
8874730ecefe295931a681a0ae749cda53653078 in linux-6.1.y/6.1.7
476fdcdaaae7b06c780cdfc234c704107f16c529 in mainline linux
jsg [Wed, 18 Jan 2023 23:55:06 +0000 (23:55 +0000)]
drm/i915/gt: Reset twice
From Chris Wilson
4009502c091c1543ae8708a12d1a97583ae411ac in linux-6.1.y/6.1.7
d3de5616d36462a646f5b360ba82d3b09ff668eb in mainline linux
jsg [Wed, 18 Jan 2023 23:53:43 +0000 (23:53 +0000)]
drm: Optimize drm buddy top-down allocation method
From Arunpravin Paneer Selvam
42526442fe3ed9c2487a2a475cb4a6f463ce2eaf in linux-6.1.y/6.1.7
5640e81607152d7f2d2558227c0f6cb78b8f39cf in mainline linux
jsg [Wed, 18 Jan 2023 23:51:35 +0000 (23:51 +0000)]
drm/amd/pm/smu13: BACO is supported when it's in BACO state
From Guchun Chen
b8e6fc445990dce368950bd9553b31f46b50285e in linux-6.1.y/6.1.7
972fb53d3605eb6cdf0d6ae9a52e910626a91ff7 in mainline linux
jsg [Wed, 18 Jan 2023 23:47:25 +0000 (23:47 +0000)]
add __list_add() for 6.1.7 drm
kettenis [Wed, 18 Jan 2023 23:31:37 +0000 (23:31 +0000)]
These days bge_stop() calls intr_barrier(9). So in bge_detach() we need
to disestablish the interrupt *after* calling bge_stop().
ok deraadt@
jsg [Wed, 18 Jan 2023 23:25:32 +0000 (23:25 +0000)]
change BIOSF_SMBIOS bit flag from 6 to 8
matches tom@'s i386 rev 1.47 change
stsp [Wed, 18 Jan 2023 21:57:10 +0000 (21:57 +0000)]
remove redundant SIOCS80211JOIN ioctl call in ifconfig delifjoinlist()
Found by Mathias Koehler, thanks!
deraadt [Wed, 18 Jan 2023 20:56:36 +0000 (20:56 +0000)]
delete useless dependency
deraadt [Wed, 18 Jan 2023 20:45:25 +0000 (20:45 +0000)]
sync
deraadt [Wed, 18 Jan 2023 20:44:40 +0000 (20:44 +0000)]
process the sshd random-relink kit if it is found. sshd's text segment
is now garbled, and in the future xonly univirse you'll have poor success
downloading it or libc to know where gadgets are.
ok djm
deraadt [Wed, 18 Jan 2023 20:43:15 +0000 (20:43 +0000)]
Create and install sshd random relink kit.
../Makefile.inc and Makfile are concatenated for reuse, which hopefully won't
be too fragile, we'll see if we need a different approach.
The resulting sshd binary is tested with the new sshd -V option before
installation. As the binary layout is now semi-unknown (meaning
relative, fixed, and gadget offsets are not precisely known), change
the filesystem permissions to 511 to prevent what I call "logged in BROP".
I have ideas for improving this further but this is a first step
ok djm
anton [Wed, 18 Jan 2023 19:18:49 +0000 (19:18 +0000)]
Add xonly tests, initially written by deraadt@. Tweaked by me to fit and
the regress framework and allowing the expected outcome to be enumerated
per architecture. Currently limited to amd64 and arm64.
cheloha [Wed, 18 Jan 2023 19:12:43 +0000 (19:12 +0000)]
mips64: simplify cp0_rearm_int5(), cp0_trigger_int5_masked()
The tangle of branches in cp0_rearm_int5() can be simplified to:
if cycles <= t1 - t0, we missed
We can simplify cp0_trigger_int5_masked() in the same way.
ok visa@
job [Wed, 18 Jan 2023 18:12:20 +0000 (18:12 +0000)]
Require version 4 UUIDs as RRDP session IDs
OK tb@
claudio [Wed, 18 Jan 2023 17:40:17 +0000 (17:40 +0000)]
Use the vstate of the filterstate struct instead of passing an extra copy
to the various prefix update functions.
While there fix a filterstate leak in up_generate_updates().
With and OK tb@
claudio [Wed, 18 Jan 2023 13:20:00 +0000 (13:20 +0000)]
Improve pending checks in poll loop by ordering them by trigger frequency
and by making peer_imsg_pending() a true O(1) function.
OK tb@
krw [Wed, 18 Jan 2023 12:59:16 +0000 (12:59 +0000)]
Use ROUNDDOWN() to round down to cylinder boundary.
nicm [Wed, 18 Jan 2023 11:08:49 +0000 (11:08 +0000)]
Instead of mapping WSEMUL_UNDERLINE to a different bit in rasops, use
the same bit and the define. rom Crystal Kolipe kolipe.c at
exoticsilicon dot com.
ok miod
kn [Wed, 18 Jan 2023 10:30:20 +0000 (10:30 +0000)]
Typofix array length syntax, spotted by afresh1
claudio [Wed, 18 Jan 2023 10:27:05 +0000 (10:27 +0000)]
Adjust how gcc4 handles the "missing braces around initializer" warning.
In c99 any value can be initalised using a { 0 } constructor independent
of the type. Now if a struct's first member is another struct then gcc4
issues the above warning but it should not do that.
Move the warning check from push_init_level() to pop_init_level() and
check if either { 0 } or { } was used. If additional implicit braces
were added surpress the warning.
Inspired by gcc PR#64709
OK deraadt@ miod@
claudio [Wed, 18 Jan 2023 10:13:46 +0000 (10:13 +0000)]
The default output format is -o (openbgpd) but it now includes both
roa-set and aspa-set by default. So make the man page less specific.
OK tb@ job@ kn@
jmc [Wed, 18 Jan 2023 06:55:32 +0000 (06:55 +0000)]
tweak previous; ok djm