Re: pathological behavior in fread

2014-12-02 Thread Ted Unangst
On Mon, Dec 01, 2014 at 16:22, Elliott Hughes wrote: this code takes minutes to run on a high-end desktop when using the OpenBSD fread: Yikes. Thanks for the patch. Here's a version for OpenBSD. Index: stdio/fread.c === RCS

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Otto Moerbeek
On Mon, Dec 01, 2014 at 09:52:18PM -0600, Boris Goldberg wrote: Hello misc, I've reported a detailed bug two months ago. The short story - grace period end time isn't being reset if the over_soft_quota stage is reached by chown command. I've confirmed it on i386 5.0 through current (as of

Re: DisplayLink compatibility and performance issues

2014-12-02 Thread Sławomir Gonet
Sławomir Gonet sla...@otwiera.cz writes: 2) Conflict with bulit-in Intel HD graphics card. I spent some time debugging why xf86-video-wsudl is not detecting my DL-165 adapter. After downloading xenocara I was debugging wsudl and what I found: WsudlProbe():

USB-driver, USB-RLY08, Devantech Ltd.

2014-12-02 Thread Markus Bergkvist
I have this relay-board http://www.robot-electronics.co.uk/htm/usb_rly08btech.htm which identifies itself as $ usbdevs -vda 6 Controller /dev/usb0: addr 6: full speed, self powered, config 1, USB-RLY08(0xffee), Devantech Ltd.(0x04d8), rev 1.00, iSerialNumber 9018 umodem0 What needs to be

Re: USB-driver, USB-RLY08, Devantech Ltd.

2014-12-02 Thread Jonathan Gray
On Tue, Dec 02, 2014 at 11:31:08AM +0100, Markus Bergkvist wrote: I have this relay-board http://www.robot-electronics.co.uk/htm/usb_rly08btech.htm which identifies itself as $ usbdevs -vda 6 Controller /dev/usb0: addr 6: full speed, self powered, config 1, USB-RLY08(0xffee), Devantech

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Boris Goldberg
Hello Otto, Tuesday, December 2, 2014, 2:14:11 AM, you wrote: OM Cool, but your mailer mangled the diff. Here it is for current. Thanks. How was it mangled? Looks fine in the Daily digest. I wanted to attach a text file, but was afraid the list engine would strip it. OM BTW, let's take

Re: USB-driver, USB-RLY08, Devantech Ltd.

2014-12-02 Thread Markus Bergkvist
Yes, I have. They changed the configuration between the revisions and I failed to notice that in the documentation. My bad. Sorry for the noise. Thanks for your help. I did not know that about umodem. 2014-12-02 12:05 GMT+01:00 Jonathan Gray j...@jsg.id.au: On Tue, Dec 02, 2014 at 11:31:08AM

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Otto Moerbeek
On Tue, Dec 02, 2014 at 07:47:01AM -0600, Boris Goldberg wrote: Hello Otto, Tuesday, December 2, 2014, 2:14:11 AM, you wrote: OM Cool, but your mailer mangled the diff. Here it is for current. Thanks. How was it mangled? Looks fine in the Daily digest. I wanted to attach a text

More readable strlcpy/strlcat

2014-12-02 Thread Todd C. Miller
When these were originally written I wanted to avoid calling external functions. As a result, strlcat.c in particular is hard to read. Compilers are smarter and string functions are better these days so using strlen and mempcy are probably actually faster than doing byte-oriented string traversal

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Ted Unangst
On Tue, Dec 02, 2014 at 07:47, Boris Goldberg wrote: Hello Otto, Tuesday, December 2, 2014, 2:14:11 AM, you wrote: OM Cool, but your mailer mangled the diff. Here it is for current. Thanks. How was it mangled? Looks fine in the Daily digest. I wanted to attach a text file, but was

Re: More readable strlcpy/strlcat

2014-12-02 Thread Ted Unangst
On Tue, Dec 02, 2014 at 11:00, Todd C. Miller wrote: When these were originally written I wanted to avoid calling external functions. As a result, strlcat.c in particular is hard to read. Compilers are smarter and string functions are better these days so using strlen and mempcy are probably

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Otto Moerbeek
On Tue, Dec 02, 2014 at 01:03:53PM -0500, Ted Unangst wrote: On Tue, Dec 02, 2014 at 07:47, Boris Goldberg wrote: Hello Otto, Tuesday, December 2, 2014, 2:14:11 AM, you wrote: OM Cool, but your mailer mangled the diff. Here it is for current. Thanks. How was it mangled? Looks

libssl patch: Add brainpool curves to the tls default curves

2014-12-02 Thread Thomas Jakobi
hi, when playing around with the brainpool curves we realised that trying to establish a tls connection between s_server and s_client using brainpool curves always ended with a handshake error. it seems 3 lines were missed when merging a change from openssl[1]. attached patch removes one tab

patch: remove unused function declarations

2014-12-02 Thread Benjamin Scher Purcell
No longer used with the removal of cbc.c and the is_legal_filename function from main.c Ben Index: ed.h === RCS file: /cvs/src/bin/ed/ed.h,v retrieving revision 1.13 diff -u -p -r1.13 ed.h --- ed.h14 Apr 2014 22:12:01 -

Re: disk quotas bug fix [was: quotas grace period none right away]

2014-12-02 Thread Todd C. Miller
On Tue, 02 Dec 2014 07:47:01 -0600, Boris Goldberg wrote: I wanted to attach a text file, but was afraid the list engine would strip it. The mailing lists used to strip attachments but no they longer do. - todd

Re: patch: remove unused function declarations

2014-12-02 Thread Todd C. Miller
On Tue, 02 Dec 2014 13:50:22 -0600, Benjamin Scher Purcell wrote: No longer used with the removal of cbc.c and the is_legal_filename function from main.c Thanks, committed. - todd

Re: libssl patch: Add brainpool curves to the tls default curves

2014-12-02 Thread Miod Vallat
when playing around with the brainpool curves we realised that trying to establish a tls connection between s_server and s_client using brainpool curves always ended with a handshake error. it seems 3 lines were missed when merging a change from openssl[1]. Oops. Sorry about that. this

traceroute6 crossing rdomains

2014-12-02 Thread Geoff Steckel
My configuration drops ICMP6_TIME_EXCEEDED crossing rdomains. I can't find a problem with the setup. If this is my fault, please tell me. I have an IP6 connection via SIXXS. I put gif0 in its own rdomain so I could isolate the tunnel endpoint addresses.# outgoing from internals pf.conf: pass

siphash in dirhash

2014-12-02 Thread Ted Unangst
Use now preferred SipHash24 functions. This also means we shouldn't need to hash in the value of the dirhash pointer itself, which confuses me every time I look at it. Index: ufs/ufs_dirhash.c === RCS file:

removing sys/hash.h

2014-12-02 Thread Ted Unangst
sys/hash.h provides a simple (simplistic) hash function. There are probably better alternatives, like SipHash24. With the previous two diffs, there are no longer any references to sys/hash.h in the kernel. Userland, however These should all be converted to SipHash24 to prevent bucket

isa fdc attach cleanup

2014-12-02 Thread Ted Unangst
A chance encounter with a surprising comment sent me on a fun trip. # Floppy disk controller # XXX temporarily conflicts with arc, will soon move to files.isa First, that turns out to be referring to MIPS based ARC machines, not the arc(4) RAID controller. Refer to arc.html on the website for