More on mimmutable

2022-11-17 Thread Theo de Raadt
[LONG] I am getting close to having the big final step of mimmutable in the tree. Here's a refresher on the how it works, what's already done, and the next bit to land. DESCRIPTION The mimmutable() system call changes currently mapped pages in the region to be marked immutable, which

Re: More on mimmutable

2022-11-17 Thread Otto Moerbeek
On Thu, Nov 17, 2022 at 08:10:05PM -0700, Theo de Raadt wrote: > So this static executable is completely immutable, except for the > OPENBSD_MUTABLE region. This annotation is used in one place now, deep > inside libc's malloc(3) code, where a piece of code flips a data structure > between

ixv(4): porting Virtual Function driver for Intel 82599 series.

2022-11-17 Thread Yuichiro NAITO
Hi. I'm porting Intel 82599 series VF driver ixv(4) from Intel (see below link). https://www.intel.com/content/www/us/en/download/645984/intel-network-adapter-virtual-function-driver-for-pcie-10-gigabit-network-connections-under-freebsd.html It's written for FreeBSD but doesn't have iflib

Microsoft Surface: replace umstc(4) with ucc(4)

2022-11-17 Thread Anton Lindqvist
Hi, umstc is essentially a less capable version of ucc. Now that matthieu@ recently taught wskbd to adjust the brightness in process context, we should be able to get rid of umstc in favor of ucc. In order for ucc to be feature compatible with umstc, it must honor the always open quirk as pointed

rpki-client: add 'shortlist' functionality

2022-11-17 Thread Job Snijders
Dear all, I introduced a 'shortlist' feature in rpki-client(8). If the operator specifies one or more '-q' options followed by FQDNs, the utility will *only* connect to those hosts and skip all others. $ doas rpki-client -q rpki.ripe.net -q chloe.sobornost.net Processing time 84 seconds

Re: Get rid of UVM_VNODE_CANPERSIST

2022-11-17 Thread Jeremie Courreges-Anglas
On Tue, Nov 15 2022, Martin Pieuchot wrote: > UVM vnode objects include a reference count to keep track of the number > of processes that have the corresponding pages mapped in their VM space. > > When the last process referencing a given library or executable dies, > the reaper will munmap this

Re: ed: Make use of stderr compliant with POSIX

2022-11-17 Thread Sören Tempel
PING. I think this is a fairly obvious POSIX compliance issue with an easy fix. Sören Tempel wrote: > Hello, > > Currently, the OpenBSD ed implementation incorrectly writes information > to standard error that should be written to standard out (as per POSIX). > > For the read and write

Re: rpki-client: add 'shortlist' functionality

2022-11-17 Thread Job Snijders
Heya! On Thu, Nov 17, 2022 at 08:39:36PM +0100, Theo Buehler wrote: > > This functionality is handy if you want to inspect only specific > > repositories and ignore the rest of the world. Useful for monitoring > > too. > > > > OK? Feedback? > > I have no objection code-wise and I understand the

Re: Get rid of UVM_VNODE_CANPERSIST

2022-11-17 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Thu, 17 Nov 2022 18:00:21 +0100 > > On Tue, Nov 15 2022, Martin Pieuchot wrote: > > UVM vnode objects include a reference count to keep track of the number > > of processes that have the corresponding pages mapped in their VM space. > > > > When the last

Re: rpki-client: add 'shortlist' functionality

2022-11-17 Thread Theo Buehler
> This functionality is handy if you want to inspect only specific > repositories and ignore the rest of the world. Useful for monitoring > too. > > OK? Feedback? I have no objection code-wise and I understand the motivation. However, I'm not a fan of using 'q' for this - it suggests quiet mode.

Re: rpki-client: add 'shortlist' functionality

2022-11-17 Thread Claudio Jeker
On Thu, Nov 17, 2022 at 05:53:40PM +, Job Snijders wrote: > Dear all, > > I introduced a 'shortlist' feature in rpki-client(8). If the operator > specifies one or more '-q' options followed by FQDNs, the utility will > *only* connect to those hosts and skip all others. > > $ doas

Re: rpki-client: add 'shortlist' functionality

2022-11-17 Thread Theo de Raadt
Job Snijders wrote: > rpki-client currently is using 'only' 18 out of the 66 ([a-zA-Z0-9). > I am not very concerned in that regard. :-) I have to disagree strongly -- Software bloat is dangerous.

rpki-client: fold -T (bird table name) into -B (bird output)

2022-11-17 Thread Job Snijders
I don't think I've ever heard anyone use the '-T' feature. Perhaps better to fold it into '-B' (BIRD output) using getopt '::' trick? I don't feel super strong about this, but it helps reclaim a getopt letter. Kind regards, Job Index: main.c