sorflush hack

2017-12-10 Thread Martin Pieuchot
Diff below shuffle the socket buffer definition to "properly" memset() all required fields in sorflush(). It also gets rid of the sbrelease() abstraction since zeroing out `sb_hiwat' and `sb_mbmax' is required in only one place. ok? Index: kern/uipc_socket.c =

Re: Fix mg(1) man page

2017-12-10 Thread Jason McIntyre
On Mon, Dec 11, 2017 at 07:30:03AM +0200, MazoComp wrote: > diff --git usr.bin/mg/mg.1 usr.bin/mg/mg.1 > index 96bc62ae8f8..a20b026a32c 100644 > --- usr.bin/mg/mg.1 > +++ usr.bin/mg/mg.1 > @@ -496,8 +496,8 @@ Delete trailing whitespace on the current line. > Delete all lines after dot that contain

Re: unlock more of rtsock

2017-12-10 Thread Martin Pieuchot
On 29/11/17(Wed) 20:28, Claudio Jeker wrote: > This diff changes the the PCB list into an SRP list. Therefor concurrent > access is no longer an issue and route_input() could be more unlocked. > There is not much point of releasing the KERNEL_LOCK for now but I added > commented lock / unlock to th

Fix mg(1) man page

2017-12-10 Thread MazoComp
diff --git usr.bin/mg/mg.1 usr.bin/mg/mg.1 index 96bc62ae8f8..a20b026a32c 100644 --- usr.bin/mg/mg.1 +++ usr.bin/mg/mg.1 @@ -496,8 +496,8 @@ Delete trailing whitespace on the current line. Delete all lines after dot that contain a string matching the supplied regular expression. .It delete-non-m

faq13: livestreamer -> streamlink

2017-12-10 Thread Klemens Nanni
multimedia/livestreamer was ditched in favor of multimedia/streamlink about a month ago, reflect this. While here, switch minitube's link to HTTPS. Index: faq/faq13.html === RCS file: /cvs/www/faq/faq13.html,v retrieving revision 1.2

ldomctl usage is incomplete

2017-12-10 Thread Kaashif Hymabaccus
ldomctl leaves out a ton of commands from its usage, this caused me a moment of confusion while using it. We could list all commands programatically like vmctl, or just a one-line thing like smtpctl. As it is, it's a bit confusing since it lists some but not all commands. diff --git ldomctl.c ldom

Re: Removal of PIM support in kernel

2017-12-10 Thread Theo de Raadt
> I'd welcome anyone interested in PIM to work on it. I'd be great to > have proper kernel support that meets OpenBSD standard and have it > enabled by default. If you're interested in such work, I can help you > getting started ;) Joachim, In our tree, all security or front-facing code must be

Re: armv7/imx: freezing fec

2017-12-10 Thread Artturi Alm
On Sun, Dec 10, 2017 at 07:05:11PM +0100, Mark Kettenis wrote: > > Date: Sun, 10 Dec 2017 19:03:41 +0200 > > From: Artturi Alm > > > > On Wed, Nov 29, 2017 at 11:45:51AM +0200, Artturi Alm wrote: > > > Hi, > > > > > > > > > there's more work to be done for fec, but this will allow changing > >

disable "continous active mode" in iwm(4)

2017-12-10 Thread Stefan Sperling
We have been running iwm(4) devices in "continous active mode (CAM)". Apparently this mode is meant for debugging only and wastes power. This diff turns CAM off and enables device-level power saving. As far as I can tell, this means the firmware can turn off some parts of the chip when they are no

Re: Removal of PIM support in kernel

2017-12-10 Thread Matthieu Herrb
On Sun, Dec 10, 2017 at 07:14:43PM +0100, Martin Pieuchot wrote: > On 10/12/17(Sun) 17:59, Joachim Nilsson wrote: > > [...] > > Now, I've got a few worried questions recently about the removal[3] > > of PIM support in OpenBSD, so I thought I'd ask here. Why have you > > removed it? I'd be very h

Re: Removal of PIM support in kernel

2017-12-10 Thread Martin Pieuchot
On 10/12/17(Sun) 17:59, Joachim Nilsson wrote: > [...] > Now, I've got a few worried questions recently about the removal[3] > of PIM support in OpenBSD, so I thought I'd ask here. Why have you > removed it? I'd be very happy if someone could just fill me in, or > provide a pointer to a mailing

Re: armv7/imx: freezing fec

2017-12-10 Thread Mark Kettenis
> Date: Sun, 10 Dec 2017 19:03:41 +0200 > From: Artturi Alm > > On Wed, Nov 29, 2017 at 11:45:51AM +0200, Artturi Alm wrote: > > Hi, > > > > > > there's more work to be done for fec, but this will allow changing > > changing address/ifconfig up&down etc. without the freeze/kernel hangup > > pre

Re: Removal of PIM support in kernel

2017-12-10 Thread Patrick Wildt
On Sun, Dec 10, 2017 at 05:59:33PM +0100, Joachim Nilsson wrote: > Hi, > > my name i Joachim and I'm the current upstream maintainer of the > original pimd[1] and mrouted[2] multicast routing daemons. > > First of all, I'd like to give a huge thank you to the OpenBSD team > for all the hard work

Re: armv7/imx: freezing fec

2017-12-10 Thread Artturi Alm
On Wed, Nov 29, 2017 at 11:45:51AM +0200, Artturi Alm wrote: > Hi, > > > there's more work to be done for fec, but this will allow changing > changing address/ifconfig up&down etc. without the freeze/kernel hangup > preventing ie. autoinstall i've reported to bugs@. > > i didn't see these while

Removal of PIM support in kernel

2017-12-10 Thread Joachim Nilsson
Hi, my name i Joachim and I'm the current upstream maintainer of the original pimd[1] and mrouted[2] multicast routing daemons. First of all, I'd like to give a huge thank you to the OpenBSD team for all the hard work you put in with Stanford to relicense mrouted under a BSD license[4]! I don't

Re: jot: make DOU format strings behave like ld, lo, lu

2017-12-10 Thread Theo Buehler
On Sun, Dec 10, 2017 at 03:29:51PM +0100, Theo Buehler wrote: > The printf(3) manual says that DOU are deprecated but are supposed to > behave the same way as ld, lo and lu. I forgot to say that I found this while looking into the code coverage report by Sergey Bronnikov and found that these forma

Add sizes for free() in libsa for amd64 and i386

2017-12-10 Thread Frederic Cambus
Hi tech@, Add sizes for free() in libsa for amd64 and i386. Comments? OK? Index: sys/arch/amd64/stand/libsa/diskprobe.c === RCS file: /cvs/src/sys/arch/amd64/stand/libsa/diskprobe.c,v retrieving revision 1.21 diff -u -p -r1.21 diskp

jot: make DOU format strings behave like ld, lo, lu

2017-12-10 Thread Theo Buehler
The printf(3) manual says that DOU are deprecated but are supposed to behave the same way as ld, lo and lu. However: $ jot -w '%ld' 5 -2 -2 -1 0 1 2 $ jot -w '%D' 5 -2 4294967294 4294967295 0 1 2 $ jot -w '%ld' 4 4294967294 4294967294 4294967295 4294967296 4294967297 $ jot -w '%D' 4 4294967294 jo

Re: UPDATE: freetype 2.8.1

2017-12-10 Thread Matthieu Herrb
On Sun, Dec 10, 2017 at 02:46:48PM +0100, David Coppa wrote: > Il 10 dic 2017 10:44 AM, "Matthieu Herrb" ha scritto: > > On Sun, Sep 24, 2017 at 10:03:13AM +0200, David Coppa wrote: > > On Wed, Sep 20, 2017 at 7:06 PM, David Coppa wrote: > > > > > > Here's the update to FreeType-2.8.1. > > > > >

Re: UPDATE: freetype 2.8.1

2017-12-10 Thread David Coppa
Il 10 dic 2017 10:44 AM, "Matthieu Herrb" ha scritto: On Sun, Sep 24, 2017 at 10:03:13AM +0200, David Coppa wrote: > On Wed, Sep 20, 2017 at 7:06 PM, David Coppa wrote: > > > > Here's the update to FreeType-2.8.1. > > > > I don't know if there's enough time to have it in for 6.2. > > Just catchi

Re: [Patch] man cdce(4) added ZTE MF831 LTE USB Modem

2017-12-10 Thread Christoph R. Murauer
Thanks. You are right, I forgot the capitalisation differences betwenn German and English. > On Sun, Dec 10, 2017 at 12:42:32AM +0100, Christoph R. Murauer wrote: >> Hello ! > morning. > fixed, thanks. > jmc

Re: net/rtsock.c: size to free(9)

2017-12-10 Thread Martin Pieuchot
On 08/12/17(Fri) 12:58, kshe wrote: > I noticed one instance where the size given to free(9) can easily be > determined. What about the other free(9)s in the same function?

Re: UPDATE: freetype 2.8.1

2017-12-10 Thread Matthieu Herrb
On Sun, Sep 24, 2017 at 10:03:13AM +0200, David Coppa wrote: > On Wed, Sep 20, 2017 at 7:06 PM, David Coppa wrote: > > > > Here's the update to FreeType-2.8.1. > > > > I don't know if there's enough time to have it in for 6.2. > > Just catching up with icb logs... > > i'm uncomfortable with upd