Re: intro.8: .Xr rcctl 8 -- http://man.openbsd.org/intro.8

2019-05-25 Thread Ingo Schwarze
Hi Christian, Christian Weisgerber wrote on Sun, May 26, 2019 at 01:19:01AM -: > Not sure what do about "ELF(3)" in elf(3). Index: elf.3 === RCS file: /cvs/src/lib/libelf/elf.3,v retrieving revision 1.2 diff -u -p -r1.2 elf.3

Re: intro.8: .Xr rcctl 8 -- http://man.openbsd.org/intro.8

2019-05-25 Thread Christian Weisgerber
On 2019-05-25, Artturi Alm wrote: > doesn't look pretty, and is more lines, but in browsers the lack of .Xr > does really stand out, and not in a good way, in my opinion. :] Thanks, committed. I grepped the man pages for other instances of this and found and fixed a few. Not sure what do

intro.8: .Xr rcctl 8 -- http://man.openbsd.org/intro.8

2019-05-25 Thread Artturi Alm
Hi, doesn't look pretty, and is more lines, but in browsers the lack of .Xr does really stand out, and not in a good way, in my opinion. :] -Artturi diff --git a/share/man/man8/intro.8 b/share/man/man8/intro.8 index 17a64368b7b..3bc3fceb5ca 100644 --- a/share/man/man8/intro.8 +++

Re: vmm Graphics Support

2019-05-25 Thread Joe Davis
Hi, Not an OpenBSD developer, just another hobbyist tinkering with vmm (currently working on adding a gdb stub, like the one in qemu that I've found useful for osdev in the past) VNC is one way to go about it. That would however involve adding an entire VNC server to vmd. To start off,

Re: vmd(8): slight NS8250 fix

2019-05-25 Thread Mike Larkin
On Sat, May 25, 2019 at 01:43:43AM -0500, Katherine Rohl wrote: > Hi, > > I was able to install Centos and boot > Alpine and Ubuntu without problems using the > serial interface, using vmd(8) built with my diff. > > (Side note, what console email program is > the best for submitting these

Re: Reduce the scope of SCHED_LOCK()

2019-05-25 Thread Martin Pieuchot
On 12/05/19(Sun) 18:17, Martin Pieuchot wrote: > People started complaining that the SCHED_LOCK() is contended. Here's a > first round at reducing its scope. > > Diff below introduces a per-process mutex to protect time accounting > fields accessed in tuagg(). tuagg() is principally called in

Re: bgpd <3 RB trees also for peers

2019-05-25 Thread Denis Fondras
On Sat, May 25, 2019 at 07:37:07PM +0200, Claudio Jeker wrote: > getpeerbyid() is currently walking the peer list to find the right one. > This is rather inefficent once you have more then a handful of peers. > Switch it to a RB tree and save a lot of time: > OK denis@ > Before: > %

Re: build vulkan drivers in Mesa

2019-05-25 Thread Mark Kettenis
> Date: Thu, 23 May 2019 19:50:58 +1000 > From: Jonathan Gray > > Build intel and radeon vulkan drivers. > > As we can't use python in xenocara add phony targets to create the > same output as python scripts which create json files for the loader. > > To use this various vulkan ports are

bgpd <3 RB trees also for peers

2019-05-25 Thread Claudio Jeker
getpeerbyid() is currently walking the peer list to find the right one. This is rather inefficent once you have more then a handful of peers. Switch it to a RB tree and save a lot of time: Before: % cumulative self self total time seconds secondscalls ms/call

ubcmtp: fix multi-finger on type4 devices

2019-05-25 Thread joshua stein
A previous version of this last year broke on some devices because it tried to pass in pressure data. This version only fixes the padding data of type4 devices. Tested on the 2015 MacBook Pro. Tests on other Apple devices would be appreciated. Index: sys/dev/usb/ubcmtp.c

typos in /src/sys/dev/pci/if_jme.c

2019-05-25 Thread J Sisson
Noticed a typo in jme(4) printf output. Found additional typos while browsing the code. Yes, possibly the most useless diff ever...I freely admit it. Index: sys/dev/pci/if_jme.c === RCS file: /cvs/src/sys/dev/pci/if_jme.c,v

Re: Stream Control Transmission Protocol SCTP RFC4960

2019-05-25 Thread Denis
This project https://github.com/srsLTE/srsLTE.git require it to build. It seems only one part to make it on OpenBSD is absent. It would be higly appreciated to have it ported to OpenBSD. Denis On 5/24/2019 1:35 AM, Job Snijders wrote: > On Thu, May 23, 2019 at 19:50 Denis wrote: > >> >>

Re: New implementation and interface for strlcpy and strlcat

2019-05-25 Thread Marc Espie
On Fri, May 24, 2019 at 07:22:07PM +0700, Oleg Chumanov wrote: > First of all, I really want to thank you for your files. > > However, Can you show me an example of these: > > > makes it easier to perform error > > recovery in the caller. For example, the caller may wish to > > reallocate the

ping: patch: rc(8) pass args to rc.local(8)

2019-05-25 Thread zeurkous
[not subscribed, please Cc, thanks] This issue still affects 6.5. Not sure whether you folks would find it worth committing, but me's sure that it doesn't just affect me, so merespectfully requests a commit. --zeur. > rc(8) does not pass its arguments to rc.local(8); this makes the

ping: patch: fix rc(8) wsconsctl invocation

2019-05-25 Thread zeurkous
[not subscribed, please Cc, thanks] This issue still affects 6.5. Note that 'HiFn' is from me wscons 'many ttys' patches, but it equally applies to standard stuff, e.g. 'Cmd'. The patch is the same. If someone would commit this, me'd be grateful. --zeur. > The following completely

BFD: fix reporting of up->down transition in routing message

2019-05-25 Thread Mitchell Krome
Hi, I was playing with BFD and noticed that the transition from up to down didnt seem to be reported correctly in the routing message. The uptime didn't seem to reset and both state and laststate show as down. RTM_BFD: bidirectional forwarding detection: len 136 BFD: async state down

Re: wsdisplay(4) factual manual patch

2019-05-25 Thread Otto Moerbeek
On Sat, May 25, 2019 at 12:41:39PM +0200, zeurk...@volny.cz wrote: > [not subscribed, please Cc, thanks] > > This error is still in 6.5. Anyone willing to commit this? > > --zeur. > > (this was patch 3 from the wscons 'many ttys' set) > > Index: src/share/man/man4/wsdisplay.4 >

FU: wscons patches for many ttys (8/8)

2019-05-25 Thread zeurkous
When re-applying the patches to 6.5, menoticed that meforgot to correct the ommission of the following patch, that makes wsconsctl(8) play nicely with 'OthCmd'. Sorry for the omission. Overall, these patches still work a like charm on 6.5, although mehasn't yet tried X on that version.

wsdisplay(4) factual manual patch

2019-05-25 Thread zeurkous
[not subscribed, please Cc, thanks] This error is still in 6.5. Anyone willing to commit this? --zeur. (this was patch 3 from the wscons 'many ttys' set) Index: src/share/man/man4/wsdisplay.4 === RCS file:

Re: New implementation and interface for strlcpy and strlcat

2019-05-25 Thread Oleg Chumanov
Can you tell me, What do you think about this implementation? I think, it is more readable than the current implementation: size_t strlcpy(char *dst, const char *src, size_t dsize) { const char *sbeg = src; if (dsize != 0) for (dst[--dsize] = '\0'; dsize-- != 0; ++src)

Re: New implementation and interface for strlcpy and strlcat

2019-05-25 Thread Oleg Chumanov
First of all, I really want to thank you for your files. However, Can you show me an example of these: > makes it easier to perform error > recovery in the caller. For example, the caller may wish to > reallocate the buffer and retry. > > That would make it a bit harder to do error recovery

Re: vmd(8): slight NS8250 fix

2019-05-25 Thread Katherine Rohl
Hi, I was able to install Centos and boot Alpine and Ubuntu without problems using the serial interface, using vmd(8) built with my diff. (Side note, what console email program is the best for submitting these patches anyway?) Katherine > On May 23, 2019, at 12:22 AM, Mike Larkin wrote: > >