wsmouse(4): allow independent touchpad tap gesture configuration

2021-02-11 Thread RJ Johnson
Right now, there is a single master toggle for enabling all touchpad tap gestures (mouse.tp.tapping). This patch splits this parameter into three for independent control of one-finger, two-finger, and three-finger tap gestures. This allows users to mix and match which gestures they prefer for the i

Re: /bin/cp: overwrite symlink with file pointed to by symlink

2021-02-11 Thread Christopher Zimmermann
Hi Quentin, Thank you for having a look. I know I'm very late, but I still like your patch. So ok chrisz@ if you want to commit it. Christopher On Fri, Nov 01, 2019 at 08:46:51PM +0100, Quentin Rameau wrote: If you're interested in adapting to POSIX, here's a proposition patch: Index: bi

Re: random manual pages

2021-02-11 Thread Ross L Richardson
On Thu, Feb 11, 2021 at 10:40:07PM -0700, Theo de Raadt wrote: >[...] > +original development, is underspecified, and should not be relied up to "relied up to" should probably be "relied upon to" (twice). Ross

random manual pages

2021-02-11 Thread Theo de Raadt
Reading a recent junk-thread, I realized the algorithms for rand and random have changed numerous times since the late 80's. As such you cannot trust that a seed given 20 years ago, produces the same sequence today. I did a rough study of the commits to our versions. Other operating systems chan

Re: route sockets: simplify route_attach() error path

2021-02-11 Thread Alexander Bluhm
On Wed, Feb 10, 2021 at 10:51:52PM +0300, Vitaliy Makkoveev wrote: > Do soreserve() before `rop' allocation. It doesn't require protocol > control block be attached to socket. Also we always call `pr_attach' in > thread context so we always have `curproc'. While I found one pr_attach() from TCP i

Re: ssl(8) tweaks, mostly for ecdsa

2021-02-11 Thread Stuart Henderson
On 2021/02/11 22:22, Theo Buehler wrote: > On Thu, Feb 11, 2021 at 08:55:55PM +, Stuart Henderson wrote: > > acme-client works with ecdsa certificates, but if there's no existing > > key, it has no way to tell whether you want ec or rsa so it can't > > actually generate a new ec key. (even if i

Re: ssl(8) tweaks, mostly for ecdsa

2021-02-11 Thread Theo Buehler
On Thu, Feb 11, 2021 at 08:55:55PM +, Stuart Henderson wrote: > acme-client works with ecdsa certificates, but if there's no existing > key, it has no way to tell whether you want ec or rsa so it can't > actually generate a new ec key. (even if it did, acme-client's default > secp384r1 isn't ac

ssl(8) tweaks, mostly for ecdsa

2021-02-11 Thread Stuart Henderson
acme-client works with ecdsa certificates, but if there's no existing key, it has no way to tell whether you want ec or rsa so it can't actually generate a new ec key. (even if it did, acme-client's default secp384r1 isn't accepted by buypass). here are a few changes for ssl(8) that i think are he

Re: Add missing break statement on if_rge.c

2021-02-11 Thread Kevin Lo
On Thu, Feb 11, 2021 at 12:24:37PM +, Ricardo Mestre wrote: > > Hi, > > Add missing break statement. OK? ok kevlo@. stsp@ has informed me earlier and has the same diff, I think he will be committing it later today. > CID 1501710 > > Index: if_rge.c > ===

Re: apu2e4

2021-02-11 Thread Marcus Glocker
My boot.conf was renamed to boot.conf.off in the PXE server. Idiot. Thanks tb@ for the hint :-) Sorry for the noise. On Thu, Feb 11, 2021 at 04:07:02PM +0100, Marcus Glocker wrote: > Is there anyone out there using an apu2e4? > > I just received an APU2E4 / GX-412TC 4GB > > https://www.pcengi

apu2e4

2021-02-11 Thread Marcus Glocker
Is there anyone out there using an apu2e4? I just received an APU2E4 / GX-412TC 4GB https://www.pcengines.ch/apu2e4.htm I can't boot any recent kernel on it, not through USB nor through PXEBOOT. I tried amd64/i386, snapshot, 6.8, 6.6, and all cause the apu to reboot after the entry point messag

Re: Add missing break statement on if_rge.c

2021-02-11 Thread Patrick Wildt
Am Thu, Feb 11, 2021 at 12:24:37PM + schrieb Ricardo Mestre: > Hi, > > Add missing break statement. OK? makes sense to me, ok patrick@ > CID 1501710 > > Index: if_rge.c > === > RCS file: /cvs/src/sys/dev/pci/if_rge.c,v > retrie

Add missing break statement on if_rge.c

2021-02-11 Thread Ricardo Mestre
Hi, Add missing break statement. OK? CID 1501710 Index: if_rge.c === RCS file: /cvs/src/sys/dev/pci/if_rge.c,v retrieving revision 1.11 diff -u -p -c -u -r1.11 if_rge.c --- if_rge.c24 Dec 2020 06:34:03 - 1.11 +++ if_rge

Re: Uninitialized var in dev/pv/vmt.c

2021-02-11 Thread Jonathan Matthew
On Thu, Feb 11, 2021 at 11:41:24AM +, Ricardo Mestre wrote: > Hi, > > Uninitialized var and it's used in a condition != NULL a little bit > afterwards. > CID 1501713 > > OK? yes, ok jmatthew@ > > Index: vmt.c > === > RCS file

Uninitialized var in dev/pv/vmt.c

2021-02-11 Thread Ricardo Mestre
Hi, Uninitialized var and it's used in a condition != NULL a little bit afterwards. CID 1501713 OK? Index: vmt.c === RCS file: /cvs/src/sys/dev/pv/vmt.c,v retrieving revision 1.22 diff -u -p -u -r1.22 vmt.c --- vmt.c 15 Jan 20

Re: isakmpd link dynamically

2021-02-11 Thread Patrick Wildt
Am Thu, Feb 11, 2021 at 11:29:58AM +0100 schrieb Alexander Bluhm: > - recommit in /usr/src/usr.sbin -> we loose history I know no one cares about git, but if the move was committed in a "single cvs commit", git would understand it's simply a move of files. So yeah, cvs wouldn't cope, but git would

Re: Swapped arguments on stoeplitz_ip{4,6}port

2021-02-11 Thread Ricardo Mestre
forget about it, patrick@ was way faster and it's already commited :)

Re: Swapped arguments on stoeplitz_ip{4,6}port

2021-02-11 Thread Patrick Wildt
Already committed as of 7 minutes ago, heh! Am Thu, Feb 11, 2021 at 10:48:16AM + schrieb Ricardo Mestre: > Hi, > > It seems this got the args swapped as described in CID 1501717. > > stoeplitz_ip6port being a macro for stoeplitz_hash_ip6port and the arguments > placed as shown below. Similar

Swapped arguments on stoeplitz_ip{4,6}port

2021-02-11 Thread Ricardo Mestre
Hi, It seems this got the args swapped as described in CID 1501717. stoeplitz_ip6port being a macro for stoeplitz_hash_ip6port and the arguments placed as shown below. Similarly stoeplitz_ip4port also has the same problem most likely due to copypasto. Comments? OK? 173 uint16_t 174 stoeplitz_ha

Re: isakmpd link dynamically

2021-02-11 Thread Alexander Bluhm
On Wed, Feb 10, 2021 at 04:16:10PM -0700, Theo de Raadt wrote: > When I re-ordered rc in Slovenia many years ago, I got it right. NFS /usr over IPsec cannot work. Without IPsec it is fine. 1. mount -s /usr >/dev/null 2>&1 2. start_daemon syslogd ldattach pflogd nsd unbound ntpd 3. start_daemon is