Re: Remove lint(1) reference from gcc-local(1)

2016-03-12 Thread Philip Guenther
On Sat, Mar 12, 2016 at 2:59 PM, Michael McConville wrote: > As jmc@ asked when I shared this with him, is there a remaining use of > our custom gcc -CC flag now that lint(1) is gone? It seems like it could > be useful for general macro debugging, but I'm not sure. Even if not,

Re: remove 'returns no value' from man pages

2016-03-12 Thread Ingo Schwarze
Hi Michael, Michael McConville wrote on Fri, Mar 11, 2016 at 05:18:52PM -0800: > This is specified only irregularly, and people who don't know what a > void return type means are beyond help anyway. I don't feel strongly either way, but i certainly don't object. Usually shorter with the same

Re: head(1) -c

2016-03-12 Thread Ingo Schwarze
Hi, Daniel Dickman wrote on Thu, Mar 10, 2016 at 02:11:49PM -0500: > ps. if I'm reading things right, "head -c" will be in Posix, Issue 8. > http://austingroupbugs.net/view.php?id=407#c743 Oh indeed, thanks for digging up that decision, useful indeed. Well, that definitely settles the matter.

rtwn(4) timeouts

2016-03-12 Thread Stefan Sperling
The urtwn(4) driver uses usbd_is_dying() calls in its timeouts. usbd_is_dying() can't be part of the common rtwn(4) driver code once we merge code from urtwn(4). So timeouts must move back to the bus-specific part of the driver. The common driver code now indicates when timeouts must be

Re: remove 'returns no value' from man pages

2016-03-12 Thread Marc Espie
On Fri, Mar 11, 2016 at 05:18:52PM -0800, Michael McConville wrote: > This is specified only irregularly, and people who don't know what a > void return type means are beyond help anyway. > > This also adds a sentence specifying that X509_free(3) is NULL-safe, now > that we've removed all

Re: hang with processes in fltamap: how can I identify running out of RAM?

2016-03-12 Thread Stefan Kempf
Stuart Henderson wrote: > On 2016/03/10 19:18, Stefan Kempf wrote: > > There's still at least one issue with the diff. Again in amap_extend(). > > The slotalloc computation was still off :-( > > It's not perfect but this is very significantly better. I've put > it under load and the machine is

efiboot 240x56 mode

2016-03-12 Thread Matthieu Herrb
Hi, a collegue of mine recently tried to get OpenBSD running on an HP E820 laptop. Apparently this machine is UEFI only and its BIOS only works in a 240x56 text mode. So he did the patch below to add support for this mode to efiboot. I've asked him to provide us a dmesg and acpidump for this

reducing kmem pressure: make sbrk() allocate amap slots lazily

2016-03-12 Thread Stefan Kempf
When sbrk() allocates a range of virtual memory, it immediately allocates a vm_amap and an am_slots array inside the amap There's one slot per page allocated, and a slot is 16 bytes in size (on 64 bit CPUs, 12 on 32 bit CPUs). Preallocating slots makes sense mostly when we know that the memory

teach kdump(1) about more ioctls

2016-03-12 Thread Martin Natano
There are bunch of ioctl definitions kdump(1) doesn't know about yet, with the result, that kdump prints the numerical value of the ioctl and not the name of the definition. This patch adds support for ipmi, vscsi, pvbus, udl, fuse, trunk, pipex and memrange. OK? natano Index: Makefile

New scheduler for OpenBSD

2016-03-12 Thread Michal Mazurek
Gregor Best attempted to improve the scheduler in 2011: http://comments.gmane.org/gmane.os.openbsd.tech/27059 Here is another attempt, it takes up where the previous one left off. This is also mostly based on the main idea behind Linux CFS or BFS. I found BFS to be described more clearly:

Re: teach kdump(1) about more ioctls

2016-03-12 Thread Philip Guenther
On Sat, Mar 12, 2016 at 2:47 AM, Martin Natano wrote: > There are bunch of ioctl definitions kdump(1) doesn't know about yet, > with the result, that kdump prints the numerical value of the ioctl and > not the name of the definition. > > This patch adds support for ipmi, vscsi,

httpd(8) SEE ALSO

2016-03-12 Thread hans
Should httpd(8) also mention services(5)? Jan Index: httpd.conf.5 === RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v retrieving revision 1.68 diff -u -p -r1.68 httpd.conf.5 --- httpd.conf.519 Jul 2015 05:17:27

Re: httpd(8) SEE ALSO

2016-03-12 Thread Theo de Raadt
No, that is the roadmap that leads to ls(1) and ed(1) having Xr to 50 other pages. > Should httpd(8) also mention services(5)? > > Jan > > > Index: httpd.conf.5 > === > RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v >

Re: New scheduler for OpenBSD

2016-03-12 Thread Juan Francisco Cantero Hurtado
On Sat, Mar 12, 2016 at 05:36:21PM +0100, Michal Mazurek wrote: > Gregor Best attempted to improve the scheduler in 2011: > http://comments.gmane.org/gmane.os.openbsd.tech/27059 > Here is another attempt, it takes up where the previous one left off. > > This is also mostly based on the main idea

Re: remove 'returns no value' from man pages

2016-03-12 Thread Michael McConville
Marc Espie wrote: > On Fri, Mar 11, 2016 at 05:18:52PM -0800, Michael McConville wrote: > > This is specified only irregularly, and people who don't know what a > > void return type means are beyond help anyway. > > > > This also adds a sentence specifying that X509_free(3) is NULL-safe, now > >

Fix examples for EVP_PKEY_CTX_set_rsa_padding

2016-03-12 Thread Brent Cook
Noted here, https://github.com/libressl-portable/portable/issues/161, we document a non-existent constant in the examples for EVP_PKEY_CTX_set_rsa_padding. Is this the correct one to use? Index: EVP_PKEY_decrypt.pod === RCS file:

Remove lint(1) reference from gcc-local(1)

2016-03-12 Thread Michael McConville
As jmc@ asked when I shared this with him, is there a remaining use of our custom gcc -CC flag now that lint(1) is gone? It seems like it could be useful for general macro debugging, but I'm not sure. Even if not, removing it might be more effort than it's worth. I'm interested to hear what

adventure patch

2016-03-12 Thread Edgar Pettijohn
Tried to start this project last week, but kept f'ing it up. Index: src/games/adventure/crc.c === RCS file: /cvs/src/games/adventure/crc.c,v retrieving revision 1.7 diff -u -p -u -r1.7 crc.c --- src/games/adventure/crc.c27 Oct

Re: New scheduler for OpenBSD

2016-03-12 Thread Juan Francisco Cantero Hurtado
On Sat, Mar 12, 2016 at 08:35:31PM +0100, Juan Francisco Cantero Hurtado wrote: > On Sat, Mar 12, 2016 at 05:36:21PM +0100, Michal Mazurek wrote: > > Gregor Best attempted to improve the scheduler in 2011: > > http://comments.gmane.org/gmane.os.openbsd.tech/27059 > > Here is another attempt, it

sshd_config(5) : mention CIDR addressing for AllowUsers and DenyUsers

2016-03-12 Thread Lars Noodén
It looks like sshd(8) has permitted for a while both AllowUsers and DenyUsers in sshd_config(5) to use addresses in CIDR address/masklen format. If so, it would be useful to mention in the manual page. /Lars Index: sshd_config.5