Re: Get rid of UVM_VNODE_CANPERSIST

2022-11-15 Thread Mike Larkin
On Tue, Nov 15, 2022 at 02:31:27PM +0100, 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

Re: Patch for getopt_long.c

2022-11-15 Thread Jeremie Courreges-Anglas
On Tue, Nov 15 2022, Mathias Bavay wrote: > Hi, > > Please find here attached a patch with minor touch up on > src/lib/libc/stdlib/getopt_long.c : > >    * Added an SPDX license identifier; As Theo answered, we don't use those identifiers (except sometimes in external source code added to the

Re: fix Ipv6 link local address assignment

2022-11-15 Thread Klemens Nanni
On Tue, Nov 15, 2022 at 07:33:07PM +0100, Florian Obser wrote: > That comment is not helpful, it just restates what the code does. The > gibberish we had before was also not helpful. Maybe just drop the > comment? > > Either way, OK I concur.

Re: fix Ipv6 link local address assignment

2022-11-15 Thread Florian Obser
On 2022-11-15 19:21 +01, Claudio Jeker wrote: > My last commit to in6_ifattach() broke a few regress tests. > The problem is that 'ifconfig tun0 inet6 eui64' no longer works. > Now I thought it would if called explicitly but no. > So lets peddal back a bit and assign link-local addresses on all

fix Ipv6 link local address assignment

2022-11-15 Thread Claudio Jeker
My last commit to in6_ifattach() broke a few regress tests. The problem is that 'ifconfig tun0 inet6 eui64' no longer works. Now I thought it would if called explicitly but no. So lets peddal back a bit and assign link-local addresses on all interface but wg(4). For mpe(4) this does not really

Re: Patch for getopt_long.c

2022-11-15 Thread Theo de Raadt
Mathias Bavay wrote: > Hi, > > Please find here attached a patch with minor touch up on > src/lib/libc/stdlib/getopt_long.c : > >    * Added an SPDX license identifier; No.

Patch for getopt_long.c

2022-11-15 Thread Mathias Bavay
Hi, Please find here attached a patch with minor touch up on src/lib/libc/stdlib/getopt_long.c :    * Added an SPDX license identifier;   * moved the declarations of two variables in order to reduce their scope; All the best, Mathias Bavay 1d0 < // SPDX-License-Identifier: BSD-2-Clause

Get rid of UVM_VNODE_CANPERSIST

2022-11-15 Thread Martin Pieuchot
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 object on its behalf. When this happens it doesn't