CVS: cvs.openbsd.org: src

2018-04-08 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2018/04/08 22:34:56

Modified files:
sys/arch/amd64/amd64: aesni.c 
sys/crypto : xform.c xform.h 

Log message:
Move some AES-related defines into xform.h to reduce duplication.
gmac.c is left untouched for now to preserve layering.

OK mikeb@, deraadt@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2018/04/08 22:11:04

Modified files:
sys/arch/alpha/alpha: trap.c 
sys/arch/alpha/include: cpu.h 

Log message:
Fill in FRAME_PS after the fact.  What a ridiculous design decision.
It would be better if this was filled in at trap time.
ok guenther



CVS: cvs.openbsd.org: src

2018-04-08 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/04/08 20:31:37

Modified files:
usr.bin/mandoc : roff.c 
regress/usr.bin/mandoc/roff/string: Makefile 
Added files:
regress/usr.bin/mandoc/roff/string: undef.in undef.out_ascii 
undef.out_lint 

Log message:
Using an undefined string or macro will cause it to be defined as empty.
Observed by Werner Lemberg on Nov 14, 2011
and rotting on my TODO list ever since.



CVS: cvs.openbsd.org: src

2018-04-08 Thread Todd Mortimer
CVSROOT:/cvs
Module name:src
Changes by: morti...@cvs.openbsd.org2018/04/08 19:17:46

Added files:
regress/sys/kern/stackpivot: Makefile stackpivot.c 

Log message:
Add regress test for stack pivot mitigation
ok @deraadt



CVS: cvs.openbsd.org: src

2018-04-08 Thread Todd Mortimer
CVSROOT:/cvs
Module name:src
Changes by: morti...@cvs.openbsd.org2018/04/08 19:15:41

src/regress/sys/kern/stackpivot

Update of /cvs/src/regress/sys/kern/stackpivot
In directory cvs.openbsd.org:/tmp/cvs-serv7701/stackpivot

Log Message:
Directory /cvs/src/regress/sys/kern/stackpivot added to the repository



CVS: cvs.openbsd.org: www

2018-04-08 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2018/04/08 18:43:27

Modified files:
.  : lyrics.html 

Log message:
link to the big audio cd images, for fun



CVS: cvs.openbsd.org: src

2018-04-08 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2018/04/08 16:38:56

Modified files:
distrib/sparc64/bsd.rd: list 
distrib/sparc64/ramdisk: list 

Log message:
Move slaacd from ramdisk to bsd.rd, found out the hard way.

OK deraadt



CVS: cvs.openbsd.org: src

2018-04-08 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/04/08 14:57:28

Modified files:
lib/libfuse: fuse_opt.h 

Log message:
Cast -1 to (unsigned long) to appease clang 6 -Wc++11-narrowing

Fixes at least ports/archivers/fuse-zip.  ok millert@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/04/08 13:10:12

Modified files:
usr.sbin/acme-client: parse.y 

Log message:
We warned long enough, also sysmerge(8) should have handled the
removal of the agreement url by now.

OK benno



CVS: cvs.openbsd.org: src

2018-04-08 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2018/04/08 12:57:39

Modified files:
sys/sys: socket.h 
sys/kern   : uipc_proto.c uipc_socket.c uipc_socket2.c 
sys/miscfs/fifofs: fifo_vnops.c 
share/man/man4 : netintro.4 
usr.sbin/syslogd: syslogd.8 

Log message:
AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, but
AF_UNIX is both the historical _and_ standard name, so prefer and recommend
it in the headers, manpages, and kernel.

ok miller@ deraadt@ schwarze@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/04/08 12:46:43

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

Log message:
Actually describe the parameters rather than calling facts BUGS
that aren't even small bugs.  And stop talking about AF_LOCAL.
Feedback and OK guenther@, OK jmc@.



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/04/08 12:26:29

Modified files:
sys/arch/amd64/amd64: tsc.c 

Log message:
Remove debugging printf

ok deraadt, guenther



CVS: cvs.openbsd.org: src

2018-04-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2018/04/08 10:57:57

Modified files:
lib/libcrypto/x509: x509_vfy.c 

Log message:
Fail early if an X509_VERIFY_PARAM is poisoned - don't allow
this to be "overridden" by the user supplied callback.
ok jsing@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/04/08 10:45:12

Modified files:
sys/kern   : kern_event.c 

Log message:
Test for preexisting conditions when re-enabling events

When an event that was disabled by EV_DISABLE or EV_DISPATCH is registered
again, an associated filter must be ran to mark it active if a preexisting
condition is present.

The issue was reported and fix tested by Lukas Larsson ,
thanks!

ok mpi



CVS: cvs.openbsd.org: src

2018-04-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/04/08 09:43:43

Modified files:
usr.bin/calendar/calendars/de_DE.UTF-8: calendar.geschichte 

Log message:
The assault on Dutschke happened in 1968.

>From Leah Neukirchen



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/04/08 07:55:40

Modified files:
usr.sbin/pcidump: pcidump.c 

Log message:
Print BARs for bridges as well.

ok deraadt@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/04/08 07:33:01

Modified files:
sys/dev/fdt: rkdwusb.c 

Log message:
Deassert resets.



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/04/08 07:27:22

Modified files:
sys/arch/arm64/stand/efiboot: Makefile conf.c 
Added files:
sys/arch/arm64/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@



CVS: cvs.openbsd.org: src

2018-04-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/04/08 07:24:36

Modified files:
sys/stand/boot : boot.c bootarg.h 

Log message:
Add a hook to use a firmware-supplied random function in addition to the
MD-supplied random function to insert entropy into the kernel.

ok deraadt@



CVS: cvs.openbsd.org: www

2018-04-08 Thread Landry Breuil
CVSROOT:/cvs
Module name:www
Changes by: lan...@cvs.openbsd.org  2018/04/08 05:45:49

Modified files:
.  : 63.html 

Log message:
final pkg count for sparc64



CVS: cvs.openbsd.org: src

2018-04-08 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/04/08 01:36:02

Modified files:
usr.bin/ssh: sshd_config.5 

Log message:
tweak previous;