CVS: cvs.openbsd.org: src

2015-04-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/04/22 00:44:17

Modified files:
sys/netinet: ip_carp.c 

Log message:
Add the necessary glue to keep carp(4) working while other pseudo-drivers
are converted to if_input(), this time without breaking parent-less setup.

ok sthen@, dlg@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/04/22 00:42:11

Modified files:
sys/net: if_vlan.c 

Log message:
Add missing header for NBRIDGE chunk, found the hardway and diff from
Rafael Zalamena.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/04/22 00:39:03

Modified files:
sys/arch/powerpc/include: atomic.h 

Log message:
Implement the MI atomic API for PowerPC to avoid using gcc builtins that
include extra sync operations.

ok kettenis@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2015/04/22 00:26:23

Modified files:
sys/arch/i386/i386: pmap.c pmapae.c 

Log message:
Reduce differences between pae and no-pae modes.

discussed with deraadt



CVS: cvs.openbsd.org: src

2015-04-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/04/21 23:54:46

Modified files:
distrib/sets/lists/base: md.i386 
distrib/sets/lists/comp: md.i386 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-04-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/04/21 22:12:22

Modified files:
sys/netinet: if_ether.c 

Log message:
Init rt to NULL in arpresolve().  Not a problem in practice
as la will be NULL when rt is uninitialised which should cause
the function to return, but makes the code easier to follow.

ok mpi@ miod@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/04/21 22:02:06

Modified files:
sys/dev/sdmmc  : sdmmc_mem.c 

Log message:
Init error to 0 for sdmmc_mem_single_{read,write}_block
otherwise the value would be uninitialised in the unlikely
case of being called with length 0.



CVS: cvs.openbsd.org: src

2015-04-21 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/21 21:48:52

Modified files:
sys/uvm: uvm_page.h 

Log message:
having macros provide semicolons is dangerous.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/21 19:38:36

Modified files:
regress/usr.bin/ssh/unittests/sshkey: test_sshkey.c 

Log message:
use correct key for nested certificate test



CVS: cvs.openbsd.org: www

2015-04-21 Thread Nick Holland
CVSROOT:/cvs
Module name:www
Changes by: n...@cvs.openbsd.org2015/04/21 19:35:22

Added files:
faq: upgrade57.html 

Log message:
5.6->5.7 upgrade instructions.   * more info  [click]
Trying something a little different, since many people don't need all
the painful details provided, and since most people have easy access to
a modernish browser, there is now some javascript magic to expand and
shrink some parts of the document.  Thanks to sobrado@ for the magic.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/21 19:24:01

Modified files:
usr.bin/ssh: auth-options.c 

Log message:
unknown certificate extensions are non-fatal, so don't fatal
when they are encountered; bz#2387 reported by Bob Van Zant;
ok dtucker@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 16:42:27

Modified files:
usr.bin/tmux   : cmd.c 

Log message:
Look up indexes as number before name, makes more sense if windows are
named starting with numbers. From Thomas Adam.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 16:38:50

Modified files:
usr.bin/tmux   : format.c layout-custom.c tmux.h window.c 

Log message:
Always format real layout even when zoomed.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 16:32:40

Modified files:
usr.bin/tmux   : server.c tmux.1 

Log message:
Do not die on USR1 if any of the socket parent directories are
missing. Reported by Robin Powell.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 16:21:41

Modified files:
usr.bin/tmux   : client.c 

Log message:
Simplify error messages when socket connect fails, suggested by "Karthik K".



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 15:31:02

Modified files:
usr.bin/tmux   : cmd-if-shell.c 

Log message:
The free callback could end up being fired before the done callback
(happens on Cygwin), so use a reference count instead of a single
flag. SF bug 188 reported by "iceboy".



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 15:24:49

Modified files:
usr.bin/tmux   : server-fn.c cmd-move-window.c 

Log message:
Fix moving windows to nonexistent indexes when renumber-windows is
off. From Thomas Adam, reported by Daniel Levai and Theo Buehler.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2015/04/21 12:47:57

Modified files:
sys/arch/i386/i386: pmap.c 

Log message:
Remove an extra lcr3 that snuck into pmap_switch during yesterday's
cleanup, responsible for various reaper panics pointed out on bugs@ this
morning.

ok deraadt@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2015/04/21 10:34:59

Modified files:
sbin/pfctl : parse.y 

Log message:
Improve divert-to specification parsing w.r.t. rule address family.
ok henning



CVS: cvs.openbsd.org: src

2015-04-21 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2015/04/21 10:32:24

Modified files:
usr.sbin/rtadvd: rtadvd.conf.5 

Log message:
According to RFC 4861 and the actuall implementation rltime may not
exceed 9000 seconds.
Reported by Alexander Lobodzinski on bugs@, thanks!
OK benno@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/04/21 10:13:54

Modified files:
usr.bin/mandoc : mdoc_macro.c 

Log message:
Avoid a use after free when the target node is deleted during validation.
Bug reported by jsg@.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 09:34:32

Modified files:
usr.bin/tmux   : cmd-copy-mode.c key-bindings.c 

Log message:
Bind mouse dragging so that it is passed through to applications if they
want it rather than entering copy mode.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 09:21:41

Modified files:
usr.bin/tmux   : input-keys.c server-client.c 

Log message:
Don't eat the mouse event that triggers a drag end because we may want
to pass it on to application inside the pane.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 09:18:38

Modified files:
usr.bin/tmux   : format.c 

Log message:
Put mouse_any_flag back, don't know where it went to (still in man page).



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 09:18:06

Modified files:
usr.bin/tmux   : cmd-if-shell.c 

Log message:
Pass mouse events through to commands for if-shell.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/04/21 09:16:06

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
cmd_mouse_pane can return NULL, check for that.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/04/21 08:27:07

Modified files:
share/man/man1 : intro.1 

Log message:
Section 1, not section one: section numbers are always numerical.
For example, "man -s one" wouldn't work either.
Patch from Alex Greif .



CVS: cvs.openbsd.org: src

2015-04-21 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/04/21 07:15:54

Modified files:
sys/kern   : subr_pool.c 

Log message:
disable *8 again for now. incoherent archs arent having much fun with it.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2015/04/21 04:58:29

Modified files:
distrib/miniroot: install.sub 

Log message:
append the setdir ("5.7/amd64", "snapshots/vax") as get-parameter "path"
when fetching the autoinstall response file.
a webserver that serves static files doesn't give a damn. if I map that
to something that dynamically creates the response file, i can use that to
construct the sets path, or play other arch and/or version dependent
games.
ok krw uwe



CVS: cvs.openbsd.org: src

2015-04-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/04/21 04:46:48

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

Log message:
Back in January, Kaspars at Bankovskis dot net reported that the wc(1)
manual claims that -m would count characters, while our version of the
command actually doesn't, lacking POSIX multibyte support.  Since
nobody stood up to fix the code, sync the docs with reality for now.
OK jmc@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/04/21 04:24:22

Modified files:
libexec/security: security 

Log message:
When diff(1) finds differences, it returns an exit status of 1.
In that particular case, refrain from printing "diff: exit code 1"
because that exit status doesn't indicate an error condition.

Issue noticed by and patch OK'ed by ajacoutot@.
"I agree with the goal, and I suspect the diff actually achieves it" guenther@.



CVS: cvs.openbsd.org: src

2015-04-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/04/21 03:35:32

Modified files:
sys/netinet: ip_carp.c 

Log message:
Revert previous.  Packets going through carp_input() but not destinated
to the carp interface would end up enqueued without being decapsulated.

Found the hard way by shten@



CVS: cvs.openbsd.org: src

2015-04-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/04/21 01:01:00

Modified files:
usr.bin/ssh: myproposal.h 

Log message:
Add back a backslash removed in rev 1.42 so KEX_SERVER_ENCRYPT will
include aes again.

ok deraadt@