CVS: cvs.openbsd.org: src

2019-05-05 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/05 23:40:49

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

Log message:
double macro snuck in;



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:50:48

Modified files:
sys/arch/armv7/vexpress: sysreg.c 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:49:53

Modified files:
sys/arch/armv7/sunxi: sxiintc.c sxitimer.c 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:47:40

Modified files:
sys/arch/armv7/stand/efiboot: efidev.h 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:45:58

Modified files:
sys/arch/armv7/omap: amdisplay.c amdisplayreg.h dmtimer.c 
 gptimer.c intc.c intc.h nxphdmi.c 
 omdisplay.c omehcivar.h omusbtll.c 
 sitara_cm.h ti_iic.c 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:34:43

Modified files:
sys/arch/armv7/include: bootconfig.h intr.h machine_reg.h 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:32:48

Modified files:
sys/arch/armv7/armv7: armv7_machdep.c armv7_start.S 

Log message:
Whitespace removal

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:30:10

Modified files:
sys/arch/armv7/omap: gptimer.c 

Log message:
Whitespace and extra semicolon removal.

Pointed out by Jerome Pinot



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:27:54

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

Log message:
vmctl.8 : man page cleanup

input from jmc@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:20:43

Modified files:
share/man/man8/man8.i386: MAKEDEV.8 

Log message:
Remove vmm(4) from i386 MAKEDEV.8

pointed out by jmc@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/05 21:19:27

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

Log message:
Cleanup things that missed removal during vmm(4) i386 purge a few months
ago.

ok kn, deraadt



CVS: cvs.openbsd.org: xenocara

2019-05-05 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:xenocara
Changes by: schwa...@cvs.openbsd.org2019/05/05 17:27:58

Modified files:
doc/xorg-docs  : Makefile.bsd-wrapper 
lib/libdrm : Makefile.bsd-wrapper 
distrib/sets/lists/xbase: md.alpha md.amd64 md.arm64 md.armv7 
  md.hppa md.i386 md.landisk md.loongson 
  md.macppc md.octeon md.sgi md.socppc 
  md.sparc64 
distrib/sets/lists/xshare: mi 

Log message:
put fonts.7 and drm*.3 into the install sets;
patch from Nathanael Rensen ,
minimally tweaked by me;
OK matthieu@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/05 16:26:32

Modified files:
gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc: ToMan.pm 

Log message:
The perldoc(1) program wants to support the MANWIDTH environment
variable and fall back to what stty(1) reports, and it does so with
nroff(1), but it didn't with mandoc(1) because it didn't know how
to pass the desired width to mandoc.  Teach it to use "-O width=".
OK afresh1@.

I noticed the unimplemented feature when Andrew Daugherity asked
on tech@ what the point of a certain patch in FreeBSD is (which it
turns out we don't need).



CVS: cvs.openbsd.org: src

2019-05-05 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/05 16:14:17

Modified files:
gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc: ToMan.pm 

Log message:
Like we already do for pod2man(1), always let perldoc(1) produce man(7)
output in UTF-8 encoding on OpenBSD.  The consumer is always mandoc(1)
on OpenBSD, which can always handle UTF-8 input (no matter what LC_CTYPE
is) and which always produces useful output: UTF-8 for LC_CTYPE=*.UTF-8
or ASCII otherwise, in particular for LC_CTYPE=C.

Patch written after afresh1@ reported that "perldoc -oman" output
looked bad in both output modes.
OK afresh1@.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Ayaka Koshibe
CVSROOT:/cvs
Module name:src
Changes by: akosh...@cvs.openbsd.org2019/05/05 15:33:00

Modified files:
usr.sbin/switchd: ofp10.c ofp13.c packet.c switchd.h 

Log message:
switchd(8) will sometimes not save a copy of a packet needing forwarding
even when a switch(4) instance requires it to supply it. Cases where this
can happen are: if the copy of the packet recieved from the switch is too
short (source/destination pairs can't be recovered), is non-unicast, or
when switchd has to fall back to flooding traffic.

Factor out the check for short packets, stopping before forwarding
decisions are made if the full packet is needed by the switch. Set the
packet buffer early for cases where it is needed otherwise.

Also replace a few bzero's with memset's.

Diff based on one by guenther@
OK phessler@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/05 14:11:12

Modified files:
sys/arch/i386/conf: RAMDISK 

Log message:
Getting too tight. Surrender a little



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/05 13:17:03

Modified files:
sys/arch/amd64/stand/efiboot: Makefile.common conf.c 
Added files:
sys/arch/amd64/stand/efiboot: efirng.c 

Log message:
Add support for the EFI Random Number Generator Protocol and use it to XOR
random data into the buffer that we feed the kernel.

ok deraadt@, mlarkin@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/05 13:06:56

Modified files:
lib/libc/sys   : sysctl.2 
share/man/man4 : options.4 

Log message:
sync the description of bufcachepercent; ok deraadt



CVS: cvs.openbsd.org: src

2019-05-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/05 11:54:58

Modified files:
distrib/loongson/ramdisk: Makefile 

Log message:
Use bsd.gz inside ramdisk



CVS: cvs.openbsd.org: src

2019-05-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/05 11:41:38

Modified files:
lib/libc/sys   : sysctl.2 

Log message:
kern.bufcachepercent is actually for dma-reachable memory.
While here, stop describing the default (wrong place to be so specific)



CVS: cvs.openbsd.org: www

2019-05-05 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2019/05/05 10:17:18

Modified files:
.  : plus.html 

Log message:
Plus entries for the week of 2019-04-22 through 2019-04-28

with pamela@

OK florian@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/05 09:59:19

Modified files:
distrib/sgi/iso: Makefile 

Log message:
like ../cdfs/, not yet adjusted to use FSSIZE



CVS: cvs.openbsd.org: src

2019-05-05 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/05 09:43:25

Modified files:
sys/arch/octeon/octeon: locore.S machdep.c 

Log message:
Use the .bss for the bootstrap stack of mips_init(). This way the memory
region is properly allocated by the firmware.

Move the .bss clearing to locore.S because the section has to be ready
when the stack is taken into use. This additionally makes the
C environment more consistent at the start of mips_init().



CVS: cvs.openbsd.org: src

2019-05-05 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/05 07:36:28

Modified files:
sys/arch/mips64/mips64: cpu.c 

Log message:
Call cpu_unidle() from need_resched() on mips64 like most
other architectures.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/05 07:28:14

Modified files:
sys/arch/mips64/include: cpu.h 
sys/arch/mips64/mips64: cpu.c sendsig.c 

Log message:
Turn need_resched() and signotify() into proper functions on mips64.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:34:01

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
For "unpriv -f file", chown file back to root once the command finishes,
like install.sub and sysupgrade(8) do.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:24:00

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
Initialise variable.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:22:57

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
Change variable name.



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/05 03:11:00

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2019-05-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/05 03:09:59

Modified files:
sys/dev/pci: azalia.c ccp_pci.c pcidevs 

Log message:
Harmonize AMD CPU/APU devices.

ok jsg@



CVS: cvs.openbsd.org: src

2019-05-05 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/05 00:09:47

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

Log message:
sentences start with capitals;