tail: -r mem leak with non-regular files

2015-03-26 Thread Tobias Stoeckmann
Hi, tail -r has two memory leaks when handling non-regular files. You can easily see memory usage increasing with commands like $ mknod pipe p $ tail -r pipe pipe pipe > /dev/null And then writing a large file into the pipe three times. top shows the memory usage of tail increasing with each con

Small patch to 5.4 OpenSSL patch

2015-03-26 Thread Brad
Hey tech, This is a patch for: http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/016_openssl.patch The closing parenthesis was left off. Thanks, Brad rbt@teal:~/Downloads$ cat openbsd_5.4_016_openssl.patch --- 016_openssl.patch 2015-03-26 13:48:44.776479245 -0400 +++ 016_openssl.patch

Patch to OpenSSL 014 patch

2015-03-26 Thread Brad
Here's one other small error in another patch file. This patch is here: http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/014_openssl.patch rbt@teal:~/Downloads$ diff -u 014_openssl.patch 014_openssl.patch.rbt --- 014_openssl.patch 2015-03-26 14:04:15.316496714 -0400 +++ 014_openssl.patch.rbt

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Florian Obser
On Thu, Mar 26, 2015 at 06:50:37PM +0100, Martin Pieuchot wrote: > On 26/03/15(Thu) 17:39, Florian Obser wrote: > > On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: > > > How do people feel about printing the prefixlen in CIDR notation? I'm > > > annoyed about outputs not fitting i

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Martin Pieuchot
On 26/03/15(Thu) 17:35, Florian Obser wrote: > On Thu, Mar 26, 2015 at 05:46:12PM +0100, Henning Brauer wrote: > > * Mike Belopuhov [2015-03-26 14:36]: > > > however I agree that if we do this for ipv6 we should do it for ipv4 as > > > well > > > but then do we care about tons of stuff out there

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Martin Pieuchot
On 26/03/15(Thu) 17:39, Florian Obser wrote: > On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: > > How do people feel about printing the prefixlen in CIDR notation? I'm > > annoyed about outputs not fitting in 80 chars when using autoconf magic: > > > > -inet6 fd00::f2de:f1ff:fe6

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Florian Obser
On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: > How do people feel about printing the prefixlen in CIDR notation? I'm > annoyed about outputs not fitting in 80 chars when using autoconf magic: > > -inet6 fd00::f2de:f1ff:fe6a:15d1 prefixlen 64 autoconf pltime 3594 vltime 7194 >

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Martin Pieuchot
On 26/03/15(Thu) 17:46, Henning Brauer wrote: > * Mike Belopuhov [2015-03-26 14:36]: > > On 26 March 2015 at 14:27, Stuart Henderson wrote: > > > seems reasonable. (I'd quite like that for v4 too, though it wouldn't > > > cope with non-contiguous netmask ;) > > non-contiguous netmasks for IPv4 ad

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Florian Obser
On Thu, Mar 26, 2015 at 05:46:12PM +0100, Henning Brauer wrote: > * Mike Belopuhov [2015-03-26 14:36]: > > however I agree that if we do this for ipv6 we should do it for ipv4 as well > > but then do we care about tons of stuff out there parsing ifconfig output? > > that's the prime question. I w

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Henning Brauer
* Mike Belopuhov [2015-03-26 14:36]: > On 26 March 2015 at 14:27, Stuart Henderson wrote: > > seems reasonable. (I'd quite like that for v4 too, though it wouldn't > > cope with non-contiguous netmask ;) > non-contiguous netmasks for IPv4 addresses configured on an interface? > is that possible?

Re: ef(4), eg(4), el(4), ex(4) and ie(4)

2015-03-26 Thread Ted Unangst
Martin Pieuchot wrote: > On 26/03/15(Thu) 08:00, Ted Unangst wrote: > > Martin Pieuchot wrote: > > > Even our ISA Ethernet drivers can be converted to if_input(). If you > > > still use some of these, I appreciate test reports. > > > > > > I'm asking here because Miod said everybody can test them

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Theo de Raadt
>On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: >> While here can I convert " autoconfprivacy" to " privacy" or "+privacy"? > >Please don't change this. The name of the option was chosen such that >web searches come up with the proper RFC and related references. Yes, I agree. Th

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Stefan Sperling
On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: > While here can I convert " autoconfprivacy" to " privacy" or "+privacy"? Please don't change this. The name of the option was chosen such that web searches come up with the proper RFC and related references.

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Mike Belopuhov
On 26 March 2015 at 14:27, Stuart Henderson wrote: > seems reasonable. (I'd quite like that for v4 too, though it wouldn't > cope with non-contiguous netmask ;) > non-contiguous netmasks for IPv4 addresses configured on an interface? is that possible? what's the use case? perhaps you're confusin

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Paul de Weerd
On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote: | How do people feel about printing the prefixlen in CIDR notation? I'm | annoyed about outputs not fitting in 80 chars when using autoconf magic: | | -inet6 fd00::f2de:f1ff:fe6a:15d1 prefixlen 64 autoconf pltime 3594 vltime 7194 |

Re: Small ifconfig output tweak for inet6?

2015-03-26 Thread Stuart Henderson
On 2015/03/26 13:48, Martin Pieuchot wrote: > How do people feel about printing the prefixlen in CIDR notation? I'm > annoyed about outputs not fitting in 80 chars when using autoconf magic: > > -inet6 fd00::f2de:f1ff:fe6a:15d1 prefixlen 64 autoconf pltime 3594 vltime 7194 > +inet6 fd00::f2de:f1f

Re: the libressl wikipedia article is awful.

2015-03-26 Thread Joel Sing
On Sunday 22 March 2015, Jiří Navrátil wrote: > Good morning Bob, > > I did a quick fix > > "OpenBSD, FreeBSD[2] and many others" > > Where I can get list of supported operating systems, please? I will add > them. The current list of platforms supported by LibreSSL portable is available at: htt

Small ifconfig output tweak for inet6?

2015-03-26 Thread Martin Pieuchot
How do people feel about printing the prefixlen in CIDR notation? I'm annoyed about outputs not fitting in 80 chars when using autoconf magic: -inet6 fd00::f2de:f1ff:fe6a:15d1 prefixlen 64 autoconf pltime 3594 vltime 7194 +inet6 fd00::f2de:f1ff:fe6a:15d1/64 autoconf pltime 3594 vltime 7194 While

Re: ef(4), eg(4), el(4), ex(4) and ie(4)

2015-03-26 Thread Martin Pieuchot
On 26/03/15(Thu) 08:00, Ted Unangst wrote: > Martin Pieuchot wrote: > > Even our ISA Ethernet drivers can be converted to if_input(). If you > > still use some of these, I appreciate test reports. > > > > I'm asking here because Miod said everybody can test them... hum hum. > > > > Alternatively

Proposed small change for ping(8)

2015-03-26 Thread Gregory Edigarov
Hello, This makes ping -v really verbose, telling about lost packets as they progress. Index: ping.8 === RCS file: /cvs/src/sbin/ping/ping.8,v retrieving revision 1.52 diff -u -p -u -r1.52 ping.8 --- ping.8 24 Mar 2014 11:11:

Re: ef(4), eg(4), el(4), ex(4) and ie(4)

2015-03-26 Thread Ted Unangst
Martin Pieuchot wrote: > Even our ISA Ethernet drivers can be converted to if_input(). If you > still use some of these, I appreciate test reports. > > I'm asking here because Miod said everybody can test them... hum hum. > > Alternatively, if you think some drivers can go away, I'll summon > te

ef(4), eg(4), el(4), ex(4) and ie(4)

2015-03-26 Thread Martin Pieuchot
Even our ISA Ethernet drivers can be converted to if_input(). If you still use some of these, I appreciate test reports. I'm asking here because Miod said everybody can test them... hum hum. Alternatively, if you think some drivers can go away, I'll summon tedu@. Index: isa/if_ef_isapnp.c =

cdce(4), cue(4), kue(4) and mos(4)

2015-03-26 Thread Martin Pieuchot
This spring the new trend has a name: if_input() ! If you are the owner of one of these USB Ethernet dongle, please do me a favor a make sure they still work as expected with the diff below. Martin Index: if_cdce.c === RCS file: /cv

wsdisplay.4: document IOCTLs

2015-03-26 Thread dan mclaughlin
there were a number of common IOCTLs that weren't documented. i read the code pretty thoroughly to make sure everything here is correct. there are some things i don't know, like what 'stride' is. currently it just mentions that it should be 1 for VGA. i read into the rasops code as far as i could,