Re: SVM instructions

2017-03-16 Thread Joerg Sonnenberger
On Wed, Mar 15, 2017 at 09:05:56PM +0100, Mark Kettenis wrote: > Clang only accepts SVM instructions with explicit operands, for > example: > > vmload %rax You might want to look at the aliases e.g. for monitor/mwait. Should be pretty easy to extend as long as we are talkign about pure register

syslogd keep running

2017-03-16 Thread Alexander Bluhm
Hi, As discussed with millert@ a while ago, syslogd(8) should keep running as long as possible. On Sun, Jan 01, 2017 at 09:05:58PM +0100, Alexander Bluhm wrote: > Regular programs should die as early as possible when an error > occurs, then it can be fixed. But syslogd is special. If it dies, >

syslogd log_debug

2017-03-16 Thread Alexander Bluhm
Hi, This is the next step for refactoring internal syslogd(8) logging. Replace logdebug() with generic log_debug() from log.c. Implement log_debugadd() to construct debug message incrementally. ok? bluhm Index: usr.sbin/syslogd/log.c ===

roff(7) man page not rendering properly in its entirety on man.openbsd.org

2017-03-16 Thread Raf Czlonka
Hi all, While looking at several manual pages on man.openbsd.org, I've noticed that roff(7) man page does not render properly in its entirety, i.e.: - http://man.openbsd.org/roff ends with: "equal to, same effect as == (this differs from C)<" - http://man.openbsd.org/roff.7 ends with:

Re: vmctl: show tap interface in status output

2017-03-16 Thread Jon Bernard
* Reyk Floeter wrote: > On Thu, Mar 16, 2017 at 11:27:24AM -0400, Jon Bernard wrote: > > Hi, > > > > I made a quick change to show the assigned tap interface in vmctl's > > status listing. mlarkin@ pointed out that ifconfig shows this > > information already, so maybe this isn't useful but I wan

Re: vmctl: show tap interface in status output

2017-03-16 Thread Reyk Floeter
On Thu, Mar 16, 2017 at 11:27:24AM -0400, Jon Bernard wrote: > Hi, > > I made a quick change to show the assigned tap interface in vmctl's > status listing. mlarkin@ pointed out that ifconfig shows this > information already, so maybe this isn't useful but I wanted to post it > just in case. I d

Re: UDP sendspace for dlna providing

2017-03-16 Thread Claudio Jeker
On Thu, Mar 16, 2017 at 03:46:38PM +0100, Eric JACQUOT wrote: > Hi all, > > I had some problems with dlna server (minidlna) and a lot of cuts and crashes > of the client when playing videos. > It seems that the default net.inet.udp.sendspace (9216 by default) variable > is not suitable. I have i

[patch 2/2] doas(1): Allow persist timeout to be user-configurable

2017-03-16 Thread bytevolcano
From part 1: On Thu, 16 Mar 2017 12:04:44 +1100 wrote: > On Wed, 15 Mar 2017 20:15:26 -0400 > "Ted Unangst" wrote: > > > Did I get it backwards? If you have setenv { HERE= there }, your > > diff changes behavior. > > > > Now I see where you are coming from. It's meant to empty $HERE, and >

UDP sendspace for dlna providing

2017-03-16 Thread Eric JACQUOT
Hi all, I had some problems with dlna server (minidlna) and a lot of cuts and crashes of the client when playing videos. It seems that the default net.inet.udp.sendspace (9216 by default) variable is not suitable. I have increased it as a result of the capacities of my network and I no longer h

vmctl: show tap interface in status output

2017-03-16 Thread Jon Bernard
Hi, I made a quick change to show the assigned tap interface in vmctl's status listing. mlarkin@ pointed out that ifconfig shows this information already, so maybe this isn't useful but I wanted to post it just in case. I don't have a good answer for the case where multiple interfaces are assign

Re: syslogd log.c

2017-03-16 Thread Todd C. Miller
On Thu, 16 Mar 2017 02:15:48 +0100, Alexander Bluhm wrote: > The whole diff converting all the messages has more than 2000 lines > as it touches every part of syslogd code. I would refuse to review > such a huge diff, so I have splitted it. Let's start with the log.c > implementation. Looks goo

Re: syslogd fd_tls variable

2017-03-16 Thread Todd C. Miller
On Thu, 16 Mar 2017 00:45:23 +0100, Alexander Bluhm wrote: > On Mon, Jan 09, 2017 at 10:46:42AM +0100, Alexander Bluhm wrote: > > To implement multiple tls listen sockets in syslogd, I have to get > > rid of the global variable fd_tls first. > > Looks like this diff got forgotten. Any ok? OK mi

[PATCH] pcidump - Enhanced Capabilities

2017-03-16 Thread Simon Mages
Hi, right now i got the chance to play a little bit with PCIe. I read some parts of the spec and was interessted what my PCIe devices can do. I also found out that pcidump can not display the Enhanced Capabilites. This patch enables pcidump to display them. I did not find a good list of descript

Re: [patch 1/2] doas(1): Moved some parsing from env.c into parse.y

2017-03-16 Thread Philippe Meunier
Ted Unangst wrote: >Did I get it backwards? If you have setenv { HERE= there }, your diff >changes behavior. Speaking from the peanut gallery here, but I find this syntax rather confusing and error-prone, especially for a security-related file such as doas.conf. How about making the list of varia

Re: pf: time since uptime instead of wall clock?

2017-03-16 Thread Patrick Wildt
On Mon, Mar 13, 2017 at 03:14:25PM +0100, Mike Belopuhov wrote: > On 13 March 2017 at 15:09, Patrick Wildt wrote: > > On Mon, Mar 13, 2017 at 02:33:02PM +0100, Mike Belopuhov wrote: > >> On Tue, Mar 07, 2017 at 10:36 +0100, Patrick Wildt wrote: > >> > On Tue, Mar 07, 2017 at 10:17:16AM +0100, Patr