Re: another ancient bug in head(1)

2014-10-08 Thread Martin Natano
Index: head.c === RCS file: /cvs/src/usr.bin/head/head.c,v retrieving revision 1.17 diff -u -p -r1.17 head.c --- head.c7 Oct 2014 19:38:57 - 1.17 +++ head.c7 Oct 2014 21:16:43 - @@ -48,6 +48,7 @@ static

hibernate button and !HIBERNATE kernels

2014-10-08 Thread David Coppa
Hi! When running a kernel built without option HIBERNATE, if I press the hibernate button (Fn+F12) on my ThinkPad T420, the system abruptly shuts down and I'm welcomed by fsck on the next boot. What about the following diff? Index: dev/acpi/acpithinkpad.c

Re: pppoe(4), add example for ipv6

2014-10-08 Thread Stefan Sperling
On Tue, Oct 07, 2014 at 11:42:10PM -0400, Brad Smith wrote: On 07/10/14 10:03 PM, Stuart Henderson wrote: Since it's non-obvious how to setup pppoe for v6 now that link-local addresses are no longer configured by default, I think we should have something in the manual. Any

RTFREE - rtfree

2014-10-08 Thread Martin Pieuchot
Diff below kills the macro and use the fonction instead since they are equivalent. It also replaces some 0 - NULL where it applies. It does not include the manpage bits, I'll deal with that afterward. I'd appreciate reviews and oks. Index: net/if_gre.c

Re: RTFREE - rtfree

2014-10-08 Thread Mike Belopuhov
On 8 October 2014 12:24, Martin Pieuchot mpieuc...@nolizard.org wrote: Diff below kills the macro and use the fonction instead since they are equivalent. It also replaces some 0 - NULL where it applies. It does not include the manpage bits, I'll deal with that afterward. I'd appreciate

A system without interface?

2014-10-08 Thread Martin Pieuchot
I'm looking after the uses of the global list of interface. These ones are pointless, you always have at least one interface on your system. Ok? Index: netinet/raw_ip.c === RCS file: /home/ncvs/src/sys/netinet/raw_ip.c,v retrieving

Re: pppoe(4), add example for ipv6

2014-10-08 Thread Stuart Henderson
On 2014/10/08 11:10, Stefan Sperling wrote: On Tue, Oct 07, 2014 at 11:42:10PM -0400, Brad Smith wrote: On 07/10/14 10:03 PM, Stuart Henderson wrote: Since it's non-obvious how to setup pppoe for v6 now that link-local addresses are no longer configured by default, I think we should have

Re: improving OpenBSD's gmac.c...

2014-10-08 Thread Mike Belopuhov
On 8 October 2014 00:48, John-Mark Gurney j...@funkthat.com wrote: Christian Weisgerber wrote this message on Tue, Oct 07, 2014 at 23:08 +0200: John-Mark Gurney: So, as I was working on FreeBSD's implementation of gmac.c, I noticed that I was able to get a significant speed up by using a

Re: hibernate button and !HIBERNATE kernels

2014-10-08 Thread Mike Larkin
On Wed, Oct 08, 2014 at 01:30:38AM -0600, David Coppa wrote: Hi! When running a kernel built without option HIBERNATE, if I press the hibernate button (Fn+F12) on my ThinkPad T420, the system abruptly shuts down and I'm welcomed by fsck on the next boot. What about the following diff?

Re: improving OpenBSD's gmac.c...

2014-10-08 Thread John-Mark Gurney
Mike Belopuhov wrote this message on Wed, Oct 08, 2014 at 14:32 +0200: On 8 October 2014 00:48, John-Mark Gurney j...@funkthat.com wrote: Christian Weisgerber wrote this message on Tue, Oct 07, 2014 at 23:08 +0200: John-Mark Gurney: So, as I was working on FreeBSD's implementation of

Re: mpe patch: use rt_ifa_{add,del}

2014-10-08 Thread Rafael Zalamena
On Wed, Oct 08, 2014 at 09:22:44AM +0200, Martin Pieuchot wrote: On 07/10/14(Tue) 18:44, Rafael Zalamena wrote: On Sat, Oct 04, 2014 at 07:39:03PM -0300, Rafael Zalamena wrote: On Thu, Oct 02, 2014 at 02:36:12PM +0200, Martin Pieuchot wrote: On 01/10/14(Wed) 21:54, Rafael Zalamena wrote:

Re: [patch] rcs: stored values never read

2014-10-08 Thread Nicholas Marriott
seems fine to me On Mon, Oct 06, 2014 at 09:20:03PM +0200, Fritjof Bornebusch wrote: Hi tech, according to scan-build(1) there are a few never read values. fritjof Index: co.c === RCS file:

no respone on Passphrase after first boot on -current

2014-10-08 Thread Jiri Navratil
Hello, I bought acer TravelMate notebook TMB115-M-COEA to follow -current and partitipate on LibreSSL. I installed system from snapshot and used softraid0 crypto on whole sd0. After first boot I have Passsphrase prompt and I can't contine. It looks like keyboard is not working. No response

replace select with poll in libc

2014-10-08 Thread David Gwynne
this is the only use of select inside libc i could find. it appears pretty straightforward to replace with poll. this compiles, but i have no idea how to test it. any suggestions? or oks? Index: net/rcmd.c === RCS file:

Re: replace select with poll in libc

2014-10-08 Thread Bryan Steele
On Thu, Oct 09, 2014 at 02:52:50PM +1000, David Gwynne wrote: this is the only use of select inside libc i could find. it appears pretty straightforward to replace with poll. this compiles, but i have no idea how to test it. any suggestions? or oks? Is rcmd(3) even used by anything

replace select with nanosleep in libc/termios/tcsendbreak.c

2014-10-08 Thread David Gwynne
deraadt points out i suck at grep. ok? Index: termios/tcsendbreak.c === RCS file: /cvs/src/lib/libc/termios/tcsendbreak.c,v retrieving revision 1.6 diff -u -p -r1.6 tcsendbreak.c --- termios/tcsendbreak.c 5 Aug 2005 13:03:00

Re: replace select with poll in libc

2014-10-08 Thread David Gwynne
On 9 Oct 2014, at 15:11, Bryan Steele bry...@gmail.com wrote: On Thu, Oct 09, 2014 at 02:52:50PM +1000, David Gwynne wrote: this is the only use of select inside libc i could find. it appears pretty straightforward to replace with poll. this compiles, but i have no idea how to test it.