Re: move the pf_state_tree type around

2023-01-02 Thread Alexandr Nedvedicky
Hello, On Tue, Jan 03, 2023 at 03:31:42PM +1000, David Gwynne wrote: > the pf_state_tree type represents the rb tree that pf_state_key structs > go into. currently pf_state_key is declared in pfvar_priv.h (because > it's a kernel private data structure) but pf_state_tree was left in > pfvar.h.

move the pf_state_tree type around

2023-01-02 Thread David Gwynne
the pf_state_tree type represents the rb tree that pf_state_key structs go into. currently pf_state_key is declared in pfvar_priv.h (because it's a kernel private data structure) but pf_state_tree was left in pfvar.h. this moves it to pfvar_priv.h, because it is also kernel private. while here,

Re: Making wscons a bit more like xterm

2023-01-02 Thread Crystal Kolipe
Here is an updated version of this patch. Unlike the first version which just added some new control sequences in order to fix the display, this also touches some input code. New in this version: * F1 - F4 now send different sequences. * F13 - F24 now send different sequences, but see notes

Re: ifconfig description for wireguard peers

2023-01-02 Thread Mikolaj Kucharski
This seems to work fine for me. Patch also available at: https://marc.info/?l=openbsd-tech=167185582521873=mbox On Sat, Dec 24, 2022 at 03:29:35AM +, Mikolaj Kucharski wrote: > On Sat, Nov 19, 2022 at 12:03:59PM +, Mikolaj Kucharski wrote: > > Kind reminder. > > > > Below diff also

Re: ESRT support for the amd64 bootloader

2023-01-02 Thread Peter Stuge
Mark Kettenis wrote: > patrick@, mlarkin@, yasuoka@ and other devs: ok? Do what you have to do, but I plead to avoid (U)EFI lock-in as far as technically possible, since most (U)EFI implementations are not open source, and that does exist. I understand too well that (U)EFI is the modern popular

Suggested change to ports.7 man page

2023-01-02 Thread Jon Fineman
I was trying to make clean a port I was updating and it wasn't clear to me that I should be adding the FLAVOR variable to the make line to clean the correct build. My suggested change below might help other people. Jon Index: ports.7

Re: [RFC resend v1 2/2] Use arc4random_range() instead of arc4random_uniform() when appropriate

2023-01-02 Thread Alejandro Colomar
On 1/1/23 01:08, Alejandro Colomar wrote: On 12/31/22 20:08, Alejandro Colomar wrote: This makes the code much more readable and self-documented.  While doing this, I noticed a few bugs, and other cases which may be bugs or not. Switching to this specialized API makes it easier to spot such

Re: athn auto media type (Was: Re: Explicit NULL assignment after free)

2023-01-02 Thread Stefan Sperling
On Sun, Jan 01, 2023 at 10:37:44PM +, Ali Farzanrad wrote: > OK, I started in a working state where I was connected to my Android > phone: OK, let's untangle this... see below... > # cat /etc/hostname.athn0 > nwid [..name..] wpakey [..pass..] > inet autoconf Before you get to "status: