Re: Brainy: Kernel Memory Leak in sdmmc

2015-02-15 Thread Miod Vallat
> On Sun, Feb 15, 2015 at 08:53:08PM +, Miod Vallat wrote: > > This ought to fix this problem: > > This looks reasonable but needs a tweak if you want to keep the existing > behavior. In the existing code, it has this section above the copyout(): > > rw_enter_write(&sc->sc_lock

Re: ksh version lies

2015-02-15 Thread Damien Miller
On Sun, 15 Feb 2015, Ted Unangst wrote: > ksh (and sh) have a version string embedded in them: > @(#)PD KSH v5.2.14 99/07/13.2 > > This is clearly a lie. We've added, removed, and fixed bugs and features since > then. I first noticed the lie in the man page, then saw that it's also > exported via

Re: ksh version lies

2015-02-15 Thread Kamil Rytarowski
Ted Unangst wrote: > ksh (and sh) have a version string embedded in them: > @(#)PD KSH v5.2.14 99/07/13.2 > > This is clearly a lie. We've added, removed, and fixed bugs and features since > then. I first noticed the lie in the man page, then saw that it's also > exported via the environment and o

ksh version lies

2015-02-15 Thread Ted Unangst
ksh (and sh) have a version string embedded in them: @(#)PD KSH v5.2.14 99/07/13.2 This is clearly a lie. We've added, removed, and fixed bugs and features since then. I first noticed the lie in the man page, then saw that it's also exported via the environment and other places. Instead of trying

Add support for Arduino Leonardo to umodem(4)

2015-02-15 Thread Gregor Best
Hi, Arduino Leonardos emulate a CDC ACM modem for their serial port. The following patch adds explicit matching for those in umodem_match, because apparently the emulation done by the Leonardo is not complete enough to make umodem attach automatically. I've tested a kernel with this patch for a f

Re: Brainy: Kernel Memory Leak in sdmmc

2015-02-15 Thread Doug Hogan
On Sun, Feb 15, 2015 at 08:53:08PM +, Miod Vallat wrote: > This ought to fix this problem: This looks reasonable but needs a tweak if you want to keep the existing behavior. In the existing code, it has this section above the copyout(): rw_enter_write(&sc->sc_lock);

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-15 Thread Alexander Bluhm
On Fri, Feb 13, 2015 at 02:44:18PM -0500, Ted Unangst wrote: > I think this is ok, but it needs some basic load testing with httpd (and ftp) > as well. I have tested ftp https by downloading ports distfiles. I have done basic testing with httpd. Could someone test this diff who has a busy httpd s

Re: Brainy: Kernel Memory Leak in sdmmc

2015-02-15 Thread Miod Vallat
> Hi, > I put here a bug among others: > > -- dev/sdmmc/sdmmc.c -- > > 783 data = malloc(ucmd->c_datalen, M_TEMP, > M_WAITOK | M_CANFAIL); > if (data == NULL) >

Brainy: Kernel Memory Leak in sdmmc

2015-02-15 Thread Maxime Villard
Hi, I put here a bug among others: -- dev/sdmmc/sdmmc.c -- 783 data = malloc(ucmd->c_datalen, M_TEMP, M_WAITOK | M_CANFAIL); if (data == NULL) re

opencvs: add commitid to status

2015-02-15 Thread Joris Vink
Hi. Diff below adds support to opencvs to display commitid for status commands. .joris Index: status.c === RCS file: /cvs/src/usr.bin/cvs/status.c,v retrieving revision 1.94 diff -u -p -r1.94 status.c --- status.c16 Jan 2015 06:

Re: opencvs: show correct time in status

2015-02-15 Thread Joris Vink
Hi. Updated diff below. .joris Index: entries.c === RCS file: /cvs/src/usr.bin/cvs/entries.c,v retrieving revision 1.103 diff -u -p -r1.103 entries.c --- entries.c 16 Jan 2015 06:40:07 - 1.103 +++ entries.c 15 Feb 2015

Re: Aq macro

2015-02-15 Thread Ingo Schwarze
Hi Anthony, Anthony J. Bentley wrote on Sun, Feb 15, 2015 at 03:19:48AM -0700: > More importantly, though, it matches groff. Yes. We shouldn't change mandoc(1) without changing groff(1) in parallel. > Here is a patch that corrects spamd(8). I can look at pages that > use it for headers later..

Re: Aq macro

2015-02-15 Thread Ingo Schwarze
Hi Anthony, Anthony J. Bentley wrote on Sun, Feb 15, 2015 at 06:16:11AM -0700: > "Anthony J. Bentley" writes: >> "Ted Unangst" writes: >>> spamd(8) quotes the pf table name. That's in normal text, so it doesn't really matter, nobody is going to copy and paste a single word out of the middle of

Re: Aq macro

2015-02-15 Thread Ingo Schwarze
Hi Christian, Christian Weisgerber wrote on Sun, Feb 15, 2015 at 04:04:57PM +: > On 2015-02-15, "Ted Unangst" wrote: >> mandoc already special cases Aq in Mt macros to output plain . >> Existing usage suggests that's what people want elsewhere as well. I'm not sure i can absolutely exclude

Re: Aq macro

2015-02-15 Thread Christian Weisgerber
On 2015-02-15, "Ted Unangst" wrote: > mandoc already special cases Aq in Mt macros to output plain . > Existing usage suggests that's what people want elsewhere as well. pf > and headers are not math equations either. I think these manuals should use actual < > instead of the Aq macro. There

Re: PATCH: ntpctl.8, ntpd.c

2015-02-15 Thread Mike.
On 2/15/2015 at 2:51 AM j...@wxcvbn.org wrote: |Jason McIntyre writes: | |> On Fri, Feb 13, 2015 at 09:49:58PM -0600, Adam Thompson wrote: |>> Fix a minor typo in the ntpctl help output, and same semantic mistake |in the |>> manpage. Currently says (to be pedantic) that '-s' only works with |'

Re: Aq macro

2015-02-15 Thread Anthony J. Bentley
"Anthony J. Bentley" writes: > "Ted Unangst" writes: > > spamd(8) quotes the > > pf table name. compress(3) quotes the path. > > IMO, these are bugs in the manuals. spamd(8) should be using <> directly. > compress(3) should drop the angle quotes and just use Pa. Or wrap Pa in > <> if people real

Re: Aq macro

2015-02-15 Thread Ted Unangst
Anthony J. Bentley wrote: > "Ted Unangst" writes: > > The mandoc chars.in though says that for unicode, it should output these > > fanc > > y > > "mathematical left angle bracket" and "mathematical right angle bracket" > > characters. Two problems. First, they look like kind of silly because most

mandoc width clamping

2015-02-15 Thread Ted Unangst
In trying to set man up to use my current terminal width $(($COLUMNS-2)) I discovered that COLUMNS isn't exported to subshells. mandoc itself seems to go crazy when run with -O width=-2. Clamp width and indent settings to sensible values. I wasn't sure how to handle errors, so they're just ignored

Re: Aq macro

2015-02-15 Thread Anthony J. Bentley
"Ted Unangst" writes: > spamd(8) quotes the > pf table name. compress(3) quotes the path. IMO, these are bugs in the manuals. spamd(8) should be using <> directly. compress(3) should drop the angle quotes and just use Pa. Or wrap Pa in <> if people really think it's needed. > The mandoc chars.i

Aq macro

2015-02-15 Thread Ted Unangst
The .Aq macro quotes a word with surrounding brackets. This is used a few places. Lots of man pages quote email addresses. spamd(8) quotes the pf table name. compress(3) quotes the path. The mandoc chars.in though says that for unicode, it should output these fancy "mathematical left angle brac