CVS: cvs.openbsd.org: src

2012-12-02 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2012/12/02 08:54:20

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

Log message:
simpler text; ok ratchov



CVS: cvs.openbsd.org: src

2012-12-02 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2012/12/02 08:59:42

Modified files:
gnu/usr.bin/gcc/gcc/config/m88k: m88k.c 

Log message:
m88k_layout_frame(): return early if the frame computations have already
been done.



CVS: cvs.openbsd.org: src

2012-12-02 Thread Robert Peichaer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2012/12/02 09:19:18

Modified files:
etc: netstart 

Log message:
- remove isalphanumeric() and replace it with a shell pattern, that
tries a bit harder to identify invalid interface names and in
this case emit an error message.
- use [[ $1 == autoboot ]] to avoid a shell error message due to
possible spaces in first argument
- no change in functionality

discussed with krw and halex
ok (I like this) krw



CVS: cvs.openbsd.org: src

2012-12-02 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2012/12/02 10:03:19

Modified files:
sbin/dhclient  : dhclient.c dhcpd.h kroute.c privsep.c privsep.h 

Log message:
Try harder to cleanup when exiting. In particular catch signals
SIGHUP, SIGINT, SIGTERM, SIGUSR1, SIGUS2 and cleanup before exiting
when getting them. Cleanup meaning removing routes and the interface
address added.

Tweaks and feedback from phessler@, sthen@, otto@, deraadt@



CVS: cvs.openbsd.org: xenocara

2012-12-02 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2012/12/02 10:59:25

Modified files:
driver/xf86-video-intel/src: intel_driver.c 

Log message:
Check return value of I830MapMMIO().

Allows the server to fail with a useful error message instead of
segfaulting later, like reported by Alexei Malinin on misc@.



CVS: cvs.openbsd.org: src

2012-12-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2012/12/02 12:34:14

Modified files:
sys/kern   : vfs_bio.c 

Log message:
Don't wake the cleaner and potentially throw away pages we shouldn't
be throwing away when growing the buffer cache - ok mlarkin@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2012/12/02 12:34:35

Modified files:
sys/arch/sparc64/dev: vdsp.c 

Log message:
Add support for VD_OP_GET_WCE and VD_OP_SET_WCE.  These operations don't
really make sense for virtual disks backed by disk images, so we return
ENOTSUP just like Solaris does.  But advertising support for these operations
works around a bug in the Linux kernel.



CVS: cvs.openbsd.org: src

2012-12-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2012/12/02 12:40:45

Modified files:
sys/arch/sparc64/dev: vcctty.c 

Log message:
Implement hardware flow control and enable it by default (by setting CRTSCTS).

ok miod@, deraadt@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2012/12/02 12:42:36

Modified files:
sys/kern   : vfs_bio.c vfs_biomem.c 
sys/sys: buf.h 

Log message:
Fix kva reserve - ensure that kva reserve is checked for, as well
as fix the case where buffers can be returned on the vinvalbuf path
and we do not get woken up when waiting for kva.

An earlier version looked at and ok'd by guenther@ in coimbra. - helpful
comments from kettenis@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 13:26:11

Modified files:
usr.bin/ssh: ssh_config.5 sshconnect2.c 

Log message:
Make IdentitiesOnly apply to keys obtained from a PKCS11Provider.
This allows control of which keys are offered from tokens using
IdentityFile. ok markus@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 13:34:10

Modified files:
usr.bin/ssh: auth.c auth.h auth1.c auth2-chall.c auth2-gss.c 
 auth2-jpake.c auth2.c monitor.c monitor.h 

Log message:
Fixes logging of partial authentication when privsep is enabled
Previously, we recorded Failed xxx since we reset authenticated before
calling auth_log() in auth2.c. This adds an explcit Partial state.

Add a submethod to auth_log() to report which submethod is used
for keyboard-interactive.

Fix multiple authentication when one of the methods is
keyboard-interactive.

ok markus@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 13:42:15

Modified files:
usr.bin/ssh: ssh-add.1 ssh-add.c 

Log message:
make deleting explicit keys ssh-add -d symmetric with adding keys -
try to delete the corresponding certificate too and respect the -k option
to allow deleting of the key only; feedback and ok markus@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 13:46:11

Modified files:
usr.bin/ssh: auth-options.c channels.c servconf.c servconf.h 
 serverloop.c session.c sshd_config.5 

Log message:
make AllowTcpForwarding accept local and remote in addition to its
current yes/no to allow the server to specify whether just local or
remote TCP forwarding is enabled. ok markus@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 13:47:48

Modified files:
regress/usr.bin/ssh: Makefile 
Added files:
regress/usr.bin/ssh: forward-control.sh 

Log message:
regress for AllowTcpForwarding local/remote; ok markus@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Robert Peichaer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2012/12/02 14:02:45

Modified files:
etc: netstart 

Log message:
use the more compact version of the check for ifconfig'able interfaces
from install.sub

with feedback from and ok halex



CVS: cvs.openbsd.org: src

2012-12-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2012/12/02 14:13:42

Modified files:
distrib/sets/lists/comp: md.mvme88k 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2012-12-02 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2012/12/02 15:51:26

Modified files:
driver/xf86-video-mga: configure.ac 
driver/xf86-video-mga/src: mga_driver.c mga_dri.c 

Log message:
Fix XAA support. Problem noticed by sthen@



CVS: cvs.openbsd.org: src

2012-12-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2012/12/02 17:14:06

Modified files:
usr.bin/ssh: auth2-chall.c ssh-keygen.c 

Log message:
Fix compilation with -Wall -Werror (trivial type fixes)



CVS: cvs.openbsd.org: src

2012-12-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2012/12/03 00:00:11

Modified files:
sys/arch/mvme68k/include: bus.h 
sys/arch/mvme88k/include: bus.h 

Log message:
avoid depending on gcc cast as lvalue extension which
was removed in gcc4

ok miod@