Add readonly flag to tftpd

2016-01-24 Thread Matthew Martin
Add a -R flag to tftpd for a read only mode. This allows for a tighter pledge than currently possible because by default existing files can be overwritten (but no new files created). Perhaps read only should be the default since it is surprising that tftp can overwrite by default. - Matthew

Re: keep track of HT protection in 11n mode

2016-01-24 Thread Stefan Sperling
On Thu, Jan 21, 2016 at 01:57:28AM +0100, Stefan Sperling wrote: > On Wed, Jan 20, 2016 at 10:16:53PM +0100, Stefan Sperling wrote: > > On Wed, Jan 20, 2016 at 10:04:11PM +0100, Stefan Sperling wrote: > > > This diff makes us keep track of changes in the network's HT protection > > > settings.

bktr uiomove() conversion

2016-01-24 Thread Martin Natano
Below the conversion from uiomovei() to uiomove() for bktr. The patch also replaces two occurrences of uio->uio_iov->iov_len with uio->uio_resid. I don't see a reason why bktr should inspect iov_len directly. Index: dev/pci/bktr/bktr_core.c

Re: Xen virtual network (Netfront) driver

2016-01-24 Thread Mike Belopuhov
Hi Jonathon, Thanks a lot for taking your time to test this. On 24 January 2016 at 06:49, Jonathon Sisson wrote: > On Sat, Jan 23, 2016 at 02:18:17PM -0800, Jonathon Sisson wrote: >> Speaking of testing, is there any particular area non-devs could >> assist with at this time?

Re: Firefox, malloc(3) and threads

2016-01-24 Thread Mark Kettenis
> From: "Peter N. M. Hansteen" > Date: Sun, 24 Jan 2016 23:10:41 +0100 > > On 01/22/16 22:46, Mark Kettenis wrote: > > Firefox makes a lot of concurrent malloc(3) calls. The locking to > > make malloc(3) thread-safe is a bit...suboptimal. This diff makes > > things better by

Re: libgen.h: unreachable decls

2016-01-24 Thread Philip Guenther
On Sun, Jan 24, 2016 at 9:14 PM, Jérémie Courrèges-Anglas wrote: > I noticed those a while ago, the #if 0 is there since the beginning. > Can't see the point in keeping this as is. > > ok? ok guenther@

libgen.h: unreachable decls

2016-01-24 Thread Jérémie Courrèges-Anglas
I noticed those a while ago, the #if 0 is there since the beginning. Can't see the point in keeping this as is. ok? Index: libgen.h === RCS file: /cvs/src/include/libgen.h,v retrieving revision 1.7 diff -u -p -p -u -r1.7 libgen.h

Re: Add readonly flag to tftpd

2016-01-24 Thread Stuart Henderson
On 2016/01/25 04:32, Jérémie Courrèges-Anglas wrote: > > Hi Matthew, > > Matthew Martin writes: > > > On Sun, Jan 24, 2016 at 03:05:28AM -0600, Matthew Martin wrote: > >> Add a -R flag to tftpd for a read only mode. This allows for a tighter > >> pledge than currently

Re: Firefox, malloc(3) and threads

2016-01-24 Thread Adam Wolk
On Fri, 22 Jan 2016 22:46:39 +0100 (CET) Mark Kettenis wrote: > Firefox makes a lot of concurrent malloc(3) calls. The locking to > make malloc(3) thread-safe is a bit...suboptimal. This diff makes > things better by using a mutex instead of spinlock. If you're

Re: Add readonly flag to tftpd

2016-01-24 Thread Matthew Martin
On Sun, Jan 24, 2016 at 03:05:28AM -0600, Matthew Martin wrote: > Add a -R flag to tftpd for a read only mode. This allows for a tighter > pledge than currently possible because by default existing files can be > overwritten (but no new files created). Perhaps read only should be the > default

Re: ntpd: really enable debug messages

2016-01-24 Thread Brent Cook
On Sat, Jan 23, 2016 at 08:48:22PM +0100, Reyk Floeter wrote: > On Sat, Jan 23, 2016 at 12:39:19PM -0600, Brent Cook wrote: > > I'm going with this instead. That way it works like the manual > > specifies already (-v enables logging debug messages) > > > > Yes, the -v flag is better, but see

Re: Xen virtual network (Netfront) driver

2016-01-24 Thread Jonathon Sisson
On Sun, Jan 24, 2016 at 02:16:37PM +0100, Mike Belopuhov wrote: > Hi Jonathon, > > Thanks a lot for taking your time to test this. > No, thank you guys for all of the work you're doing to get this working. I'm just a user heh. > > Trying newer kernels would be the most helpful. I've just

Re: Firefox, malloc(3) and threads

2016-01-24 Thread Ville Valkonen
On 24 January 2016 at 20:47, Adam Wolk wrote: > On Fri, 22 Jan 2016 22:46:39 +0100 (CET) > Mark Kettenis wrote: > >> Firefox makes a lot of concurrent malloc(3) calls. The locking to >> make malloc(3) thread-safe is a bit...suboptimal. This diff

Re: Xen virtual network (Netfront) driver

2016-01-24 Thread Mike Belopuhov
On 24 January 2016 at 20:55, Jonathon Sisson wrote: > On Sun, Jan 24, 2016 at 02:16:37PM +0100, Mike Belopuhov wrote: >> Hi Jonathon, >> >> Thanks a lot for taking your time to test this. >> > No, thank you guys for all of the work you're doing to get > this working. I'm just a

Re: Use HTML entities when referring to tables in www/opensmtpd/faq/example1.html

2016-01-24 Thread Joerg Jung
On Sat, Jan 23, 2016 at 10:21:38PM +, Michael Savage wrote: > The page at http://www.openbsd.org/opensmtpd/faq/example1.html doesn't > display correctly because browsers try to interpret / > as HTML tags. This patch replaces < and > with and . This fix was committed by TJ. I also fixed two

Re: Xen virtual network (Netfront) driver

2016-01-24 Thread Jonathon Sisson
On Sun, Jan 24, 2016 at 09:08:32PM +0100, Mike Belopuhov wrote: > On 24 January 2016 at 20:55, Jonathon Sisson wrote: > > On Sun, Jan 24, 2016 at 02:16:37PM +0100, Mike Belopuhov wrote: > >> Hi Jonathon, > >> > >> Thanks a lot for taking your time to test this. > >> > > No, thank

Re: DDB causing lost keystrokes on Dell iDRAC console (not inside ddb)

2016-01-24 Thread Hrvoje Popovski
On 23.1.2016. 23:29, Adam McDougall wrote: > Hello, > > I have a few Dell servers which I've installed OpenBSD for testing > but ran into a problem with keystroke loss on the console when used > through the Dell iDRAC remote graphical console. Surprisingly it > operates perfectly fine in the