Re: armv7 a4x dsb fix

2017-09-02 Thread Artturi Alm
On Mon, Jul 03, 2017 at 06:14:06AM +0300, Artturi Alm wrote: > Hi, > > just the bug fix, so this diff leaves the unused relics around and so, > but better than current/nothing, and hopefully small enough to get looked at. > > -Artturi > ping? a4x bus_space is supposed to be identical to armv7

update mi_switch(9)

2017-09-02 Thread Jonathan Matthew
Having looked through various parts of the context switching code this week, I noticed that mi_switch() has a man page, and it's quite out of date. tsleep() isn't the only sleep function, but I don't think there's much point listing them all. Additionally, yield() and preempt() also exist, but

ksh: use PATH_MAX

2017-09-02 Thread Jeremie Courreges-Anglas
ok? Index: c_ksh.c === RCS file: /d/cvs/src/bin/ksh/c_ksh.c,v retrieving revision 1.50 diff -u -p -r1.50 c_ksh.c --- c_ksh.c 21 Mar 2016 13:35:00 - 1.50 +++ c_ksh.c 2 Sep 2017 22:18:50 - @@ -99,7 +99,7 @@

teach wsconsctl about efifb

2017-09-02 Thread Peter Hessler
on a laptop with a simplefb[1] display, wsconsctl shows display.type=unknown_71. With the below patch, it shows display.type=efifb I checked the other values, and it was the only missing display type. [1] simplefb claims to be WSDISPLAY_TYPE_EFIFB OK? Index: sbin/wsconsctl/util.c

Re: strtok_r(3): mention standards

2017-09-02 Thread Ingo Schwarze
Hi Jeremie, Jeremie Courreges-Anglas wrote on Mon, Aug 28, 2017 at 02:29:18PM +0200: > Also, mandoc -Tlint warns: > mandoc: strtok.3:90:2: STYLE: useless macro: Tn > s/Tn/Li/ ? No. The messages printed by mandoc -Tlint are terse, but the mandoc(1) manual is intended to provide enough detail

[patch] ocspcheck: nextUpdate is optional according to RFC 6960

2017-09-02 Thread Andreas Bartelt
ocspcheck effectively treats a missing nextUpdate like an error, i.e., it always provides a warning and no staplefile is written out. According to RFC 6960, the nextUpdate field is optional. The following patch should handle this case more gracefully and include a suitable debug message only

efiboot: Avoid listing modes when setting one

2017-09-02 Thread Klemens Nanni
Currently `machine video 7' will always list all available modes just like `machine video' before setting mode 7. Since the screen is reset/cleared when setting the mode, listing them beforehand is hardly ever useful and rather looks like flickering. This diff avoids the described behaviour and

Is it possible for "NOKVM" defined in reality?

2017-09-02 Thread Nan Xiao
Hi tech@, The code framework of dmesg.c: .. struct msgbuf cur; char *allocated = NULL; .. if (memf == NULL && nlistf == NULL) { .. } else { #ifndef NOKVM .. #endif } if

Re: refactoring of pf_find_or_create_ruleset()

2017-09-02 Thread Hrvoje Popovski
On 1.9.2017. 22:57, Alexandr Nedvedicky wrote: > as you can see the kernel sets ruleset.anchor to NULL (see pfattach() and then > do also a 'grep -n kludge pf_ioctl.c'), while userland links it to > pf_main_anchor. > > I've remember to changing 'parent != NULL' to 'parent != _main_anchor' in >