ktrace: struct flock

2018-11-04 Thread Anton Lindqvist
Hi, Start tracing struct flock. I've been using this diff during lockf development. Comments? OK? Index: sys/kern/kern_descrip.c === RCS file: /cvs/src/sys/kern/kern_descrip.c,v retrieving revision 1.182 diff -u -p -r1.182

Re: [PATCH] [src] usr.sbin/tftp-proxy/tftp-proxy.8 - style improvement

2018-11-04 Thread Jason McIntyre
On Sun, Nov 04, 2018 at 11:23:00AM +, Raf Czlonka wrote: > Hi, > > A small style improvement. > > Regards, > > Raf > fixed, thanks. jmc > Index: usr.sbin/tftp-proxy/tftp-proxy.8 > === > RCS file:

Re: bgpd: use F_RIB_HASNOFIB

2018-11-04 Thread Claudio Jeker
On Sun, Nov 04, 2018 at 09:03:39PM +0100, Denis Fondras wrote: > cosmetic/consistency change > > F_RIB_HASNOFIB is defined so let's use it. > > Index: kroute.c > === > RCS file: /cvs/src/usr.sbin/bgpd/kroute.c,v > retrieving

bgpd: use F_RIB_HASNOFIB

2018-11-04 Thread Denis Fondras
cosmetic/consistency change F_RIB_HASNOFIB is defined so let's use it. Index: kroute.c === RCS file: /cvs/src/usr.sbin/bgpd/kroute.c,v retrieving revision 1.224 diff -u -p -r1.224 kroute.c --- kroute.c29 Sep 2018 19:25:32 -

sysctl(2): add missing NET_RT_TABLE

2018-11-04 Thread Denis Fondras
Index: sysctl.2 === RCS file: /cvs/src/lib/libc/sys/sysctl.2,v retrieving revision 1.11 diff -u -p -r1.11 sysctl.2 --- sysctl.230 Sep 2018 18:58:17 - 1.11 +++ sysctl.24 Nov 2018 19:19:14 - @@ -1153,6 +1153,7 @@

Re: bgpd: deny redefinition of default RIBs

2018-11-04 Thread Denis Fondras
On Sun, Nov 04, 2018 at 08:05:01PM +0100, Sebastian Benoit wrote: > Denis Fondras(de...@openbsd.org) on 2018.11.04 18:51:39 +0100: > > Redefining a default RIB is not desirable. > > ok benno@ > > the rde.c bit isnt needed i guess, but it doesnt hurt either. > Yes, it was added for the sake of

Re: bgpd: deny redefinition of default RIBs

2018-11-04 Thread Sebastian Benoit
Denis Fondras(de...@openbsd.org) on 2018.11.04 18:51:39 +0100: > Redefining a default RIB is not desirable. ok benno@ the rde.c bit isnt needed i guess, but it doesnt hurt either. > Index: bgpd.h > === > RCS file:

bgpd: deny redefinition of default RIBs

2018-11-04 Thread Denis Fondras
Redefining a default RIB is not desirable. Index: bgpd.h === RCS file: /cvs/src/usr.sbin/bgpd/bgpd.h,v retrieving revision 1.352 diff -u -p -r1.352 bgpd.h --- bgpd.h 4 Nov 2018 14:34:00 - 1.352 +++ bgpd.h 4 Nov

Fix kernel build without serial console

2018-11-04 Thread Klemens Nanni
With `#define NCOM 0' the following two unrelated errors currently occur: /usr/src/sys/arch/amd64/amd64/machdep.c:1946:21: error: unused variable 'cdp' [-Werror,-Wunused-variable] bios_consdev_t *cdp =

Font during boot

2018-11-04 Thread deface
Hi,is it possible to change font type (kernel output) during boot process? If yes, how?BRSent from my Samsung Galaxy smartphone.

wsmouse/wstpad: improve the scroll mechanism

2018-11-04 Thread Ulf Brosziewski
The touchpad input driver includes a function that identifies "stable" movements. It is very simple, but seems to work sufficiently well with most kinds of inputs. There is an exception: some touchpads regularly report intermediate zero coordinate-deltas when a touch is moving very slowly. The

Re: xidle: improve program parsing

2018-11-04 Thread Klemens Nanni
The (obvious) fact that XrmParseCommand(3) modifies argv and and does *not* stop on invalid options only struck me this morning. So `xidle echo -timeout 1 foo' will print just "foo" every second on inactivity - this is bad.

[PATCH] [src] usr.sbin/tftp-proxy/tftp-proxy.8 - style improvement

2018-11-04 Thread Raf Czlonka
Hi, A small style improvement. Regards, Raf Index: usr.sbin/tftp-proxy/tftp-proxy.8 === RCS file: /cvs/src/usr.sbin/tftp-proxy/tftp-proxy.8,v retrieving revision 1.8 diff -u -p -r1.8 tftp-proxy.8 ---

Re: BLAKE2 for libcrypto

2018-11-04 Thread Theo Buehler
On Thu, Oct 18, 2018 at 01:50:36PM +1000, David Gwynne wrote: > By BLAKE2, I actually mean just BLAKE2s and BLAKE2b. It doesn't > include BLAKE2sp, BLAKE2bp, or BLAKE2x. > > Like other hashes it is exposed via it's own API, but also through the > EVP message digest stuff which also allows it to

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-04 Thread Landry Breuil
On Sat, Nov 03, 2018 at 06:21:38PM -0400, Ted Unangst wrote: > Mark Kettenis wrote: > > SENSOR_VELOCITY would make sense. It should be m/s with some > > appropriate scaling. We don't need to represent speeds higer than > > 299792458 m/s, so micrometers per second would be a good choice. > > is

Re: [PATCH] [src] usr.sbin/ldapd/btree.3 - style fix

2018-11-04 Thread Jason McIntyre
On Sat, Nov 03, 2018 at 09:47:11PM +, Raf Czlonka wrote: > Hi all, > > Style fix. > > Regards, > > Raf > morning. fixed, thanks. jmc > Index: usr.sbin/ldapd/btree.3 > === > RCS file: /cvs/src/usr.sbin/ldapd/btree.3,v >