CVS: cvs.openbsd.org: src

2013-03-07 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/07 01:54:53

Modified files:
usr.bin/getconf: getconf.c 

Log message:
Remove a couple duplicates entries that snuck in.
Per POSIX, if confstr() returns zero without setting errno (no
defined value) then print undefined\n.
Don't include a pointless number in the error messasge if confstr() fails.
Above pointed out by Andres Perera (andres.p (at) zoho.com)

Orgranize the CONFSTR code like the SYSCONF and PATHCONF cases.
Don't test for confstr() returning (size_t)-1, as that's not special.
Delete lint comments and unnecessary casts.



CVS: cvs.openbsd.org: src

2013-03-07 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/03/07 02:03:16

Modified files:
sys/net: if.c if.h route.c rtsock.c 
sys/netinet: if_ether.c in.c 
sys/netinet6   : in6.c in6_ifattach.c nd6.c nd6_nbr.c 

Log message:
Remove the IFAFREE() macro, the ifafree() function it was calling already
check for the reference counter.

ok mikeb@, miod@, pelikan@, kettenis@, krw@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/03/07 02:40:19

Modified files:
sys/net: if.c if.h 
sys/netinet6   : nd6_rtr.c 

Log message:
Remove unused ifa_ifwithaf() function.

ok mikeb@, miod@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Todd C. Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2013/03/07 04:13:55

Modified files:
usr.sbin/cron  : do_command.c 

Log message:
Allow a '+' in the MAILTO email adress; from Constantine A. Murenin



CVS: cvs.openbsd.org: src

2013-03-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2013/03/07 04:20:26

Modified files:
sys/dev/pci: if_vr.c 

Log message:
remove spurious semicolon at end of if statement in vr_watchdog.
from oga@bitrig, ok dtucker



CVS: cvs.openbsd.org: src

2013-03-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2013/03/07 06:19:54

Modified files:
share/man/man8 : ssl.8 

Log message:
Add ECDSA instructions to ssl(8), with this and DSA's method now generating
a CSR first, then a self-signed cert as a separate step, using the -days and
-sha256 options in the example. Syncs with style used for RSA here/faq and
saves hair pulling if you actually want a CSR and don't notice the -x509.
Tweaks from jmc@, stsp and jung like the separate use of -days.



CVS: cvs.openbsd.org: src

2013-03-07 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/03/07 06:23:27

Modified files:
sbin/dhclient  : kroute.c 

Log message:
Refactor code around route label creation and checking to make it easier
to read. No functional change.

ok sthen@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2013/03/07 09:54:28

Modified files:
usr.bin/cdio   : cddb.c 

Log message:
fix atrocious code, do socket - FILE* conversion correctly, with proper
error handling.

okay millert@, otto@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2013/03/07 11:12:32

Modified files:
lib/libc/citrus: citrus_none.c 

Log message:
Fix return value of wcrtomb() in single-byte locales if the s argument is NULL.
wcrtomb() must pretend to store one byte (NUL-terminator) in this case.
Patch by Vladimir Tamara Patino. ok guenther



CVS: cvs.openbsd.org: src

2013-03-07 Thread Markus Friedl
CVSROOT:/cvs
Module name:src
Changes by: mar...@cvs.openbsd.org  2013/03/07 12:27:25

Modified files:
usr.bin/ssh: auth.h auth2-chall.c auth2.c monitor.c 
 sshd_config.5 

Log message:
add submethod support to AuthenticationMethods; ok and freedback djm@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Brad Smith
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2013/03/07 12:30:53

Modified files:
sys/dev/pci: if_bge.c 

Log message:
Correct the location of a DELAY() that was mismerged from FreeBSD in rev 1.319
within the ifmedia update function. It is supposed to come after the 
BGE_MAC_MODE
register write.

ok sthen@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2013/03/07 14:26:28

Modified files:
usr.sbin/bgpd  : bgpd.c bgpd.h control.c log.h session.c 
 session.h 

Log message:
Implements a few missing bits for better templates support:
- on config reload also adjust the cloned neighbors so that they get the
config changes as well.
- clean up sessions that are 1h idle but in state active (instead of down)
- add bits to allow bgpctl to destroy cloned neighbors
Tested by sthen@ some time ago, OK phessler@



CVS: cvs.openbsd.org: src

2013-03-07 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2013/03/07 14:28:34

Modified files:
usr.sbin/bgpctl: bgpctl.8 bgpctl.c parser.c parser.h 

Log message:
Implement a bgpctl nei foo destroy that will remove the specified cloned
neighbor. The neighbor must be set down before calling this function.
OK phessler



CVS: cvs.openbsd.org: src

2013-03-07 Thread Brad Smith
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2013/03/07 14:35:19

Modified files:
sys/dev/pci: if_bge.c 

Log message:
Add the PCI ids for the BCM57762 and BCM57766 chipsets.

ok sthen@



CVS: cvs.openbsd.org: src

2013-03-07 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/07 16:39:14

Modified files:
sys/dev/usb: usbdevs 

Log message:
add phidgets 2x2



CVS: cvs.openbsd.org: src

2013-03-07 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/07 16:39:56

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2013-03-07 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/07 16:43:14

Modified files:
sys/dev/usb: usb_quirks.c 

Log message:
add a quirk for phidgets to attach as ugen instead of uhid



CVS: cvs.openbsd.org: src

2013-03-07 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/07 19:21:43

Modified files:
sys/dev/usb: usb_quirks.c 

Log message:
backout previous phidgets quirk



CVS: cvs.openbsd.org: src

2013-03-07 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2013/03/07 23:32:58

Modified files:
usr.bin/ssh: ssh.c 

Log message:
allow ssh -f none ... ok markus@



CVS: cvs.openbsd.org: www

2013-03-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:www
Changes by: jas...@cvs.openbsd.org  2013/03/08 00:09:19

Modified files:
.  : 53.html 

Log message:
small style nit



CVS: cvs.openbsd.org: src

2013-03-07 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/08 00:56:17

Modified files:
usr.bin/touch  : touch.1 

Log message:
use Li for the T/Z specifiers;