Re: execve -1 errno 12 Cannot allocate memory

2021-02-01 Thread Theo de Raadt
Otto Moerbeek wrote: > On Mon, Feb 01, 2021 at 10:24:31PM -0500, Philippe Meunier wrote: > > > Anyone? > > Fixing a particluar issue is fine, but more important is an assessment > it does not break other things. In particular, does this limit the VM > for data available to any program (which

Re: execve -1 errno 12 Cannot allocate memory

2021-02-01 Thread Otto Moerbeek
On Mon, Feb 01, 2021 at 10:24:31PM -0500, Philippe Meunier wrote: > Anyone? Fixing a particluar issue is fine, but more important is an assessment it does not break other things. In particular, does this limit the VM for data available to any program (which is already quite limited on i386)?

Re: pf route-to: only run pf_test when packets enter and leave the stack

2021-02-01 Thread Claudio Jeker
On Tue, Feb 02, 2021 at 02:52:52PM +1000, David Gwynne wrote: > this is part of a high level discussion about when pf runs against a > packet. the options are: > > 1. pf runs when a packet goes over an interface > or > 2. pf runs when a packet enters or leaves the network stack. > > for normal

Re: ypxfr: ypxfr.8: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:29:17PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for ypxfr.8 > fixed, thanks. if you have any more small diffs like these, consider bundling them so we can fix them in a single pass. jmc > RCS file: /cvs/src/usr.sbin/ypserv/ypxfr/ypxfr.8,v >

Re: tmux: tmux.1: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:19:40PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for the tmux manpage. > fixed, thanks. jmc > Index: usr.bin/tmux/tmux.1 > === > RCS file: /cvs/src/usr.bin/tmux/tmux.1,v > retrieving

Re: libmenu: menu_driver.3, menu_post.3: small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:16:33PM +1100, Eddie Youseph wrote: > Hi, > > Couple of grammar fixes for libmenu menu_driver.3 and menu_post.3 > curses too, so same applies as my libform comments. jmc > Index: lib/libmenu/menu_driver.3 >

Re: libform: form_driver.3, form_fieldtype.3: Small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:14:01PM +1100, Eddie Youseph wrote: > Hi, > > Some grammar fixes for libform. > these ones come from curses. you should check whether their latest sources still need fixing and mail them direct. jmc > Index: lib/libform/form_driver.3 >

Re: libc: cgetent.3, ungetwc.3: small grammar fixes

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:08:19PM +1100, Eddie Youseph wrote: > Hi, > > A couple of small grammar fixes for cgetent.3 and ungetwc.3 > fixed, thanks. jmc > Index: lib/libc/gen/cgetent.3 > === > RCS file:

Re: libagentx: agentx.3: small grammar fix

2021-02-01 Thread Jason McIntyre
On Tue, Feb 02, 2021 at 06:04:08PM +1100, Eddie Youseph wrote: > Hi, > > A small grammar fix for the agentx.3 manpage. > fixed, thanks. jmc > RCS file: /cvs/src/lib/libagentx/agentx.3,v > retrieving revision 1.5 > diff -u -p -u -p -r1.5 agentx.3 > --- lib/libagentx/agentx.3 3 Dec 2020

ypxfr: ypxfr.8: small grammar fix

2021-02-01 Thread Eddie Youseph
Hi, A small grammar fix for ypxfr.8 RCS file: /cvs/src/usr.sbin/ypserv/ypxfr/ypxfr.8,v retrieving revision 1.22 diff -u -p -u -p -r1.22 ypxfr.8 --- usr.sbin/ypserv/ypxfr/ypxfr.8 21 Nov 2015 19:43:50 - 1.22 +++ usr.sbin/ypserv/ypxfr/ypxfr.8 2 Feb 2021 07:26:18 - @@ -45,7

Re: uhidpp(4): logitech hid++ device driver

2021-02-01 Thread Anton Lindqvist
On Sat, Jan 30, 2021 at 01:18:07PM +0200, Ville Valkonen wrote: > On Sat, 2021-01-30 at 08:36 +0100, Anton Lindqvist wrote: > > On Fri, Jan 29, 2021 at 10:15:05PM +0200, Ville Valkonen wrote: > > > Hi, > > > > > > I have a bit oldish Logitech M705 mouse, bought around 2010-2011. > > > Regarding

tmux: tmux.1: small grammar fix

2021-02-01 Thread Eddie Youseph
Hi, A small grammar fix for the tmux manpage. Index: usr.bin/tmux/tmux.1 === RCS file: /cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.814 diff -u -p -u -p -r1.814 tmux.1 --- usr.bin/tmux/tmux.1 29 Jan 2021 09:48:43 -

libmenu: menu_driver.3, menu_post.3: small grammar fixes

2021-02-01 Thread Eddie Youseph
Hi, Couple of grammar fixes for libmenu menu_driver.3 and menu_post.3 Index: lib/libmenu/menu_driver.3 === RCS file: /cvs/src/lib/libmenu/menu_driver.3,v retrieving revision 1.7 diff -u -p -u -p -r1.7 menu_driver.3 ---

libform: form_driver.3, form_fieldtype.3: Small grammar fixes

2021-02-01 Thread Eddie Youseph
Hi, Some grammar fixes for libform. Index: lib/libform/form_driver.3 === RCS file: /cvs/src/lib/libform/form_driver.3,v retrieving revision 1.8 diff -u -p -u -p -r1.8 form_driver.3 --- lib/libform/form_driver.3 12 Jan 2010

libc: cgetent.3, ungetwc.3: small grammar fixes

2021-02-01 Thread Eddie Youseph
Hi, A couple of small grammar fixes for cgetent.3 and ungetwc.3 Index: lib/libc/gen/cgetent.3 === RCS file: /cvs/src/lib/libc/gen/cgetent.3,v retrieving revision 1.1 diff -u -p -u -p -r1.1 cgetent.3 --- lib/libc/gen/cgetent.3 2

libagentx: agentx.3: small grammar fix

2021-02-01 Thread Eddie Youseph
Hi, A small grammar fix for the agentx.3 manpage. RCS file: /cvs/src/lib/libagentx/agentx.3,v retrieving revision 1.5 diff -u -p -u -p -r1.5 agentx.3 --- lib/libagentx/agentx.3 3 Dec 2020 22:47:21 - 1.5 +++ lib/libagentx/agentx.3 2 Feb 2021 06:51:07 - @@ -529,7 +529,7 @@

pf route-to: only run pf_test when packets enter and leave the stack

2021-02-01 Thread David Gwynne
this is part of a high level discussion about when pf runs against a packet. the options are: 1. pf runs when a packet goes over an interface or 2. pf runs when a packet enters or leaves the network stack. for normal packet handling there isn't a difference between these options. in the routing

Re: execve -1 errno 12 Cannot allocate memory

2021-02-01 Thread Philippe Meunier
Anyone? Philippe Philippe Meunier wrote: >Jonathan Gray wrote: >>MAXTSIZ is 128 MB on i386 >>see sys/arch/i386/include/vmparam.h > >Mark Kettenis wrote: >>sys/arch/i386/include/vmparam.h has: >>#define MAXTSIZ (128*1024*1024) /* max text size */ > >Thanks to both of you for the

[PATCH] [www] faq/current.html - fix formatting

2021-02-01 Thread Raf Czlonka
Hello, Fix formatting of the snmpd.conf configuration snippet. While there: - reduce whitespace from three to two lines as per the comment:

Re: disklabel: make use of getline(3)

2021-02-01 Thread Todd C . Miller
On Sun, 31 Jan 2021 15:43:32 +0100, Christian Weisgerber wrote: > Replace fgetln(3) with getline(3). > > Since getline() returns a C string, we don't need to carry around > the length separately. OK millert@ - todd

Permit reading kern.somaxconn with unix pledge

2021-02-01 Thread Josh Rickmar
The kern.somaxconn sysctl was previously permitted under the inet pledge, which allowed pledged Go applications to listen on AF_INET and AF_INET6 domains. https://marc.info/?l=openbsd-tech=158069595809463=2 https://marc.info/?l=openbsd-cvs=158081099810301=2 But Go will also read this sysctl when

Re: sleep_setup/finish simplification

2021-02-01 Thread Claudio Jeker
On Mon, Feb 01, 2021 at 05:11:39PM +0100, Claudio Jeker wrote: > On Mon, Feb 01, 2021 at 04:25:47PM +0100, Martin Pieuchot wrote: > > On 08/12/20(Tue) 10:06, Martin Pieuchot wrote: > > > Diff below aims to simplify the API to put a thread on a sleep queue and > > > reduce it to the following: > >

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Klemens Nanni
On Mon, Feb 01, 2021 at 04:35:02PM +, Stuart Henderson wrote: > On 2021/02/01 09:22, Theo de Raadt wrote: > > It should use 'demotion counter' everywhere. Thanks, OK kn

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
On 2021/02/01 09:22, Theo de Raadt wrote: > It should use 'demotion counter' everywhere. Index: sbin/ifconfig/ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.360 diff -u -p -r1.360 ifconfig.8 ---

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Theo de Raadt
It should use 'demotion counter' everywhere. Stuart Henderson wrote: > On 2021/02/01 14:32, Klemens Nanni wrote: > > On Mon, Feb 01, 2021 at 01:13:20PM +, Stuart Henderson wrote: > > > I think this needs documenting somewhere; I had to use the source to > > > remember what triggered

Re: sleep_setup/finish simplification

2021-02-01 Thread Claudio Jeker
On Mon, Feb 01, 2021 at 04:25:47PM +0100, Martin Pieuchot wrote: > On 08/12/20(Tue) 10:06, Martin Pieuchot wrote: > > Diff below aims to simplify the API to put a thread on a sleep queue and > > reduce it to the following: > > > > sleep_setup(); > > /* check condition or release lock */ >

nsd 4.3.5

2021-02-01 Thread Florian Obser
4.3.5 BUG FIXES: - Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode. - Fix #144: Typo fix in nsd.conf.5.in. - For #145: Fix that service of remaining TCP and TLS connections does not allow new queries to be made, the connection is closed.

Re: sleep_setup/finish simplification

2021-02-01 Thread Martin Pieuchot
On 08/12/20(Tue) 10:06, Martin Pieuchot wrote: > Diff below aims to simplify the API to put a thread on a sleep queue and > reduce it to the following: > > sleep_setup(); > /* check condition or release lock */ > sleep_finish(); > > It is motivated by my work to sleep the

Re: [External] : Re: XCP-ng, OpenBSD and network interface changes

2021-02-01 Thread Denis Fondras
Le Mon, Feb 01, 2021 at 01:49:09PM +0100, Alexandr Nedvedicky a écrit : > Hello Denis, > > I think we need to refresh expected value in 'flags' > with every loop iteration. does diff below help? > Thank you but it does not help. Same panic and also same panic if I test with loop++ > 10.

Re: Remove obsolete vnode opv declarations

2021-02-01 Thread Alexander Bluhm
On Mon, Feb 01, 2021 at 02:14:24PM +, Visa Hankala wrote: > This removes obsolete vnode operation vector declarations from > header . The functions were removed in r1.28 of vfs_init.c. > > OK? OK bluhm@ > Index: sys/systm.h >

Remove obsolete vnode opv declarations

2021-02-01 Thread Visa Hankala
This removes obsolete vnode operation vector declarations from header . The functions were removed in r1.28 of vfs_init.c. OK? Index: sys/systm.h === RCS file: src/sys/sys/systm.h,v retrieving revision 1.150 diff -u -p -r1.150

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
On 2021/02/01 14:32, Klemens Nanni wrote: > On Mon, Feb 01, 2021 at 01:13:20PM +, Stuart Henderson wrote: > > I think this needs documenting somewhere; I had to use the source to > > remember what triggered "carpdemote 32" on some routers. I am open to > > suggestions to improving the wording,

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Klemens Nanni
On Mon, Feb 01, 2021 at 01:13:20PM +, Stuart Henderson wrote: > I think this needs documenting somewhere; I had to use the source to > remember what triggered "carpdemote 32" on some routers. I am open to > suggestions to improving the wording, the way I have it it's useful > as a reminder but

pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
I think this needs documenting somewhere; I had to use the source to remember what triggered "carpdemote 32" on some routers. I am open to suggestions to improving the wording, the way I have it it's useful as a reminder but isn't a great explanation for someone just learning about it.. Index:

Re: XCP-ng, OpenBSD and network interface changes

2021-02-01 Thread Mike Belopuhov
On Sun, Jan 31, 2021 at 2:59 PM Denis Fondras wrote: > I am using XCP-ng with the latest OpenBSD snapshot. > > Whenever I make an hardware change in networking on the VM (connect or > disconnect an interface, change associated network), the VM panics : > > openbsd# panic: grant table reference