Re: Daily digest, Issue 3537 (9 messages)

2013-03-29 Thread Jason Hall
This has been added to the website, thanks! -Jason On Mar 29, 2013, at 6:20 AM, owner-t...@openbsd.org wrote: The pre-dawn daily digest Volume 1 : Issue 3537 : index Format Messages in this Issue: 201303/498: Re: goodbye to some isa devices 201303/499: Re: /usr.bin/colldef and

Fix a couple of typos in rtadvd.conf.5

2013-03-29 Thread Mike.
Minor typos. Index: rtadvd.conf.5 === RCS file: /cvs/src/usr.sbin/rtadvd/rtadvd.conf.5,v retrieving revision 1.31 diff -u -r1.31 rtadvd.conf.5 --- rtadvd.conf.5 26 Sep 2012 16:19:45 - 1.31 +++ rtadvd.conf.5

pool poison

2013-03-29 Thread Ted Unangst
Use the common memory poisoning functions to eliminate some funky loops in pool. There are some more changes to come, but this is a almost strictly mechanical change. Index: subr_pool.c === RCS file: /cvs/src/sys/kern/subr_pool.c,v

save some lookups

2013-03-29 Thread Ted Unangst
for your amusement i present the following diff, which slightly reorders the include search path for a kernel. this doesn't change anything, except to spare us some lookups for files that don't exist. ktrace results, before and after, namei calls: 304420 1217680 14560939 k2 266626 1066504

Re: md5: returns 0 when a file does not exist

2013-03-29 Thread Lawrence Teo
On Thu, Mar 28, 2013 at 03:34:50PM +0100, Patrik Lundin wrote: I noticed that md5(1) returns 0 when you target a file that does not exist: = $ md5 foobar md5: cannot open foobar: No such file or directory $ echo $? 0 = This seems wrong according to the man page, and I have

Add usb quirk for Microchip PICkit2

2013-03-29 Thread Ralf Horstmann
Hi, the following diff adds a quirk for PICkit2 microcontroller programmer to prevent it from attaching as hid device. Makes PICkit2 work for me with pk2cmd on i386. Also change the vendor ID 0x04d8 from Ituner to Microchip according to http://www.linux-usb.org/usb.ids Regards, Ralf Index:

check raw socket protocol numbers

2013-03-29 Thread Alexander Bluhm
Hi, Restrict protocol numbers for raw sockets to the range from 0 to 255. ok? bluhm Index: netinet/raw_ip.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/raw_ip.c,v retrieving revision 1.62 diff -u -p -r1.62 raw_ip.c ---

Re: check raw socket protocol numbers

2013-03-29 Thread Philip Guenther
ok guenther@ The call in socreate() makes me think PRU_ATTACH should be moved from the usrreq callback to a separate callback. Those casts... yuck... On Fri, Mar 29, 2013 at 8:48 PM, Alexander Bluhm alexander.bl...@gmx.netwrote: Hi, Restrict protocol numbers for raw sockets to the range