CVS: cvs.openbsd.org: src

2016-10-21 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2016/10/21 22:39:18

Modified files:
sys/kern   : kern_sysctl.c 

Log message:
Factor out pr->ps_vmspace into a local variable for fill_kproc()

ok jsing@ kettenis@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2016/10/21 21:37:13

Modified files:
usr.sbin/ypldap: aldap.c 

Log message:
string terminators are called NUL, not NULL



CVS: cvs.openbsd.org: src

2016-10-21 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2016/10/21 21:34:32

Modified files:
usr.sbin/ypldap: aldap.c 

Log message:
Fix copy-pasto in comment; from Rob Pierce (rob (at) 2keys.ca)



CVS: cvs.openbsd.org: src

2016-10-21 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2016/10/21 20:55:36

Modified files:
sys/kern   : kern_fork.c 

Log message:
Adjust allocpid() to take into account lastpid

ok jsing@ kettensi@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2016/10/21 20:09:14

Modified files:
sys/kern   : kern_exec.c 

Log message:
Delete dead copy of pr->ps_vmspace; uvmspace_exec() can change it anyway

ok kettenis@ jsing@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 16:34:00

Modified files:
sys/arch/armv7/imx: if_fec.c 

Log message:
Stop setting MIIF_AUTOTSLEEP in fec(4)

This can lead to tsleep in an interrupt context, which resulted in the
following panic:

kernel diagnostic assertion "p->p_wchan == NULL" failed: file
"/usr/src/sys/kern/kern_sched.c", line 333

TID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
86009  0  0  0  2  0x40014200  miiautidle0

Reported by matthieu@ with sabre lite, analysis by guenther@
ok kettenis@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 16:12:38

Modified files:
sys/net: switchofp.c 

Log message:
tag large constants as ULL to fix the build of switch(4) on ILP32 archs

ok jca@ deraadt@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Joris Vink
CVSROOT:/cvs
Module name:src
Changes by: jo...@cvs.openbsd.org   2016/10/21 15:47:03

Modified files:
sys/dev/acpi   : dsdt.c 

Log message:
Add support for the ACPI timer opcode.

ok kettenis@



CVS: cvs.openbsd.org: www

2016-10-21 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/10/21 15:42:57

Modified files:
.  : errata58.html 

Log message:
fix a typo; from sergey bronnikov



CVS: cvs.openbsd.org: www

2016-10-21 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2016/10/21 14:35:10

Modified files:
build/openssh  : releasenotes.html.head 
openssh: releasenotes.html 

Log message:
Add rel=canonical to releasenotes page.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2016/10/21 14:11:36

Modified files:
sys/arch/armv7/conf: GENERIC RAMDISK 
sys/arch/armv7/marvell: files.marvell 
Added files:
sys/arch/armv7/marvell: mvmbus.c mvmbusvar.h 

Log message:
Implement a driver for Marvell's Mbus bridge.  This is the component
that lets e.g. the CPU access a USB controller or the USB controller
access the system's RAM.  The bridge needs to be configured for the
devices before we can access the controller or a controller our memory.

Since it otherwise acts like a simplebus, simply attach simplebus once
we are finished.

"looks good to me" kettenis@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2016/10/21 14:09:49

Modified files:
sys/arch/arm/simplebus: simplebus.c 
Added files:
sys/arch/arm/simplebus: simplebusvar.h 

Log message:
Outsource simplebus softc definition so that it can be used by
simplebus compatible bus drivers.

ok kettenis@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2016/10/21 14:03:57

Modified files:
sys/arch/armv7/sunxi: sunxireg.h sxitimer.c 

Log message:
Run timers from the 24MHz; it seems the A10s doesn't have a reliable 32kHz
clock.  Fixes the clock on the Olimux A10s OLinuXino-Micro board.



CVS: cvs.openbsd.org: www

2016-10-21 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2016/10/21 14:02:42

Modified files:
build/mirrors  : openssh-ftp.html.head 
 openssh-portable.html.head 
openssh: donations.html features.html ftp.html 
 goals.html history.html index.html legacy.html 
 list.html manual.html openbsd.html 
 portable.html press.html report.html 
 security.html specs.html users.html 

Log message:
Add rel=canonical links pointing to https://www.openssh.com.  ok tb@ tj@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2016/10/21 11:03:02

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

Log message:
sync



CVS: cvs.openbsd.org: src

2016-10-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2016/10/21 10:57:53

Modified files:
sys/arch/i386/i386: ipifuncs.c vmm.c 

Log message:
Fix MP builds including vmm
ok mlarkin



CVS: cvs.openbsd.org: src

2016-10-21 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2016/10/21 10:12:38

Modified files:
usr.bin/make   : arch.c compat.c cond.c dir.c direxpand.c dump.c 
 engine.c lowparse.c main.c make.c parse.c 
 suff.c targ.c targequiv.c 

Log message:
small obvious cleanups:
- remove a lot of unnecessary casts
- zap extra param that's no longer needed
- add proper prototype and make function static

okay natano@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2016/10/21 09:53:09

Modified files:
distrib/sets/lists/base: md.alpha md.amd64 md.armv7 md.hppa 
 md.i386 md.landisk md.loongson 
 md.luna88k md.macppc md.octeon md.sgi 
 md.socppc md.sparc64 
distrib/sets/lists/comp: mi 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2016-10-21 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2016/10/21 09:39:31

Modified files:
lib/libc/stdlib: malloc.c 

Log message:
fix some void * arithmetic by casting



CVS: cvs.openbsd.org: src

2016-10-21 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2016/10/21 09:15:08

Modified files:
sys/arch/octeon/dev: cn30xxgmx.c 

Log message:
Check if memory allocation failed.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2016/10/21 09:06:14

Modified files:
sys/arch/octeon/dev: cn30xxgmx.c 

Log message:
Fix grammar, and simplify a little.

Pointed out by pirofti@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2016/10/21 09:00:30

Modified files:
share/man/man9 : cpumem_get.9 

Log message:
Add missing dot at beginning of macro line.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2016/10/21 07:51:59

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

Log message:
Add %%% to substitute with quotes escaped (convert " to \"). Use this
for the prompts in copy mode. Fixes problems with jumping to ' reported
by Theo Buehler.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 06:39:13

Modified files:
share/man/man9 : counters_alloc.9 cpumem_get.9 

Log message:
more tweaks; ok dlg



CVS: cvs.openbsd.org: src

2016-10-21 Thread Paul Irofti
CVSROOT:/cvs
Module name:src
Changes by: piro...@cvs.openbsd.org 2016/10/21 06:36:19

Modified files:
sys/arch/octeon/dev: octeon_pcibus.c 

Log message:
Revert previous commit.

I was building in the wrong tree and got confused. Sorry!



CVS: cvs.openbsd.org: src

2016-10-21 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2016/10/21 05:34:48

Modified files:
usr.sbin/dhcpd : sync.c 

Log message:
- Use memset(*b, 0, len) instead of bzero(*b, len)
- Use explicit_bzero(3) instead of bzero(3) to clean temporary HMAC

OK krw@



CVS: cvs.openbsd.org: src

2016-10-21 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2016/10/21 04:15:40

Modified files:
share/man/man9 : Makefile 
Added files:
share/man/man9 : counters_alloc.9 

Log message:
first stab at describing the per cpu counters api



CVS: cvs.openbsd.org: xenocara

2016-10-21 Thread Dmitrij Czarkoff
CVSROOT:/cvs
Module name:xenocara
Changes by: czark...@cvs.openbsd.org2016/10/21 03:48:48

Modified files:
app/video  : video.c 

Log message:
add NetWM-compliant fullscreen support

OK jung@



CVS: cvs.openbsd.org: src

2016-10-21 Thread Martin Natano
CVSROOT:/cvs
Module name:src
Changes by: nat...@cvs.openbsd.org  2016/10/21 03:43:50

Modified files:
usr.sbin/makefs/ffs: mkfs.c 

Log message:
Use the superblock passed to ffs_write_superblock() instead of referring
to the global 'sblock' variable for some operations.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Martin Natano
CVSROOT:/cvs
Module name:src
Changes by: nat...@cvs.openbsd.org  2016/10/21 03:38:31

Modified files:
usr.sbin/makefs/ffs: mkfs.c 

Log message:
Remove the superfluous 'sbsize' variable & s/sbsize/SBLOCKSIZE/.



CVS: cvs.openbsd.org: src

2016-10-21 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2016/10/21 03:38:07

Modified files:
share/man/man9 : cpumem_get.9 

Log message:
provos didnt write any of this



CVS: cvs.openbsd.org: src

2016-10-21 Thread Martin Natano
CVSROOT:/cvs
Module name:src
Changes by: nat...@cvs.openbsd.org  2016/10/21 03:35:27

Modified files:
usr.sbin/makefs/ffs: mkfs.c 

Log message:
whitespace; no functional change



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 03:26:36

Modified files:
usr.sbin/traceroute: traceroute.8 

Log message:
some text cleanup and remove an irrelevant note; ok florian



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 02:29:34

Modified files:
share/man/man9 : cpumem_get.9 

Log message:
tweak previous;



CVS: cvs.openbsd.org: src

2016-10-21 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2016/10/21 01:57:29

Modified files:
share/man/man9 : Makefile 
Added files:
share/man/man9 : cpumem_get.9 

Log message:
first cut at a man page for cpumem



CVS: cvs.openbsd.org: src

2016-10-21 Thread Paul Irofti
CVSROOT:/cvs
Module name:src
Changes by: piro...@cvs.openbsd.org 2016/10/21 01:55:48

Modified files:
sys/arch/octeon/dev: octeon_pcibus.c 

Log message:
Fix build: declare the pcie read/write routines before using them.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/10/21 01:42:17

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

Log message:
Add missing information about the handling of input, output, and
character encoding, clarify the description of table mode, and say
that columns are filled before rows by default.
Feedback an OK jmc@, OK martijn@.



CVS: cvs.openbsd.org: src

2016-10-21 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/10/21 01:12:06

Modified files:
share/man/man4/man4.i386: vmm.4 

Log message:
add openbsd id;