CVS: cvs.openbsd.org: src

2018-01-14 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/01/14 02:32:09

Modified files:
regress/sys/net/rtable: kern_compat.h 

Log message:
Fix after recent mutex change.



CVS: cvs.openbsd.org: src

2018-01-14 Thread Robert Peichaer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/01/14 05:12:52

Modified files:
distrib/miniroot: install.sub 

Log message:
Prefetched sets are stored by root, but are read by an unprivileged
user during the actual install phase. Add a check to the selection
of the prefetch area to ensure the unprivleged user can read files
from there.

Move the selection logic to its own function prefetcharea_fs_list()
which returns a unique list of candidate filesystems, or with rc=1.
While at it, remove /var/tmp from the potential list of candidates
because it's a symbolic link to /tmp since 2014.

Change install_files() to loop over the candidates and check if it
can read a test file, otherwise clean up and skip this filesystem.

Problem found by benno@ whose upgrade failed due to /usr/obj being
owned by build:wobj and permissions that prevented the unprivileged
user to read the prefetched set files from there.

discussed with and OK benno@ halex@ tb@



CVS: cvs.openbsd.org: src

2018-01-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2018/01/14 04:51:34

Modified files:
sys/dev/pci: if_iwm.c 

Log message:
Pass our currently configured SSID to iwm(4) scan commands.

This makes connecting to silly "hidden" networks work, which was a long
standing problem with iwm(4). My past observations where other SSIDs were
filtered from scan results while associated can no longer be reproduced.

ok robert phessler



CVS: cvs.openbsd.org: src

2018-01-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2018/01/14 09:04:21

Modified files:
bin/ksh: config.h emacs.c eval.c main.c misc.c sh.h 

Log message:
unifdef BRACE_EXPAND; ok jca@



CVS: cvs.openbsd.org: src

2018-01-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/01/14 15:01:48

Log message:
Run the tests provided in /usr/src/bin/ed/test with the regress
framework.  Three ed tests are currently failing for unknown reasons.
They are marked as disabled for now.
from Sergey Bronnikov

Status:

Vendor Tag: bluhm
Release Tags:   bluhm_20180114

N src/regress/bin/ed/Makefile

No conflicts created by this import



CVS: cvs.openbsd.org: src

2018-01-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/01/14 15:04:47

Modified files:
regress/bin: Makefile 

Log message:
Link ed regress to build.



CVS: cvs.openbsd.org: src

2018-01-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/01/14 13:15:37

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

Log message:
Make cpu_ucode_debug non static so it can be changed from ddb.
OK patrick@



CVS: cvs.openbsd.org: src

2018-01-14 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/01/14 14:47:10

Modified files:
lib/libc   : shlib_version 
lib/libc/arch/arm: Symbols.list 

Log message:
Add two more ARM EABI aliases that I missed in the previous libc minor
bump.

"just go  ahead -- crank" deraadt@



CVS: cvs.openbsd.org: src

2018-01-14 Thread Carlos Cardenas
CVSROOT:/cvs
Module name:src
Changes by: ccarde...@cvs.openbsd.org   2018/01/14 21:26:58

Modified files:
usr.sbin/vmd   : vioscsi.c virtio.h 

Log message:
VMD: vioscsi refactor

Each opcode is now handled in the respective function (vioscsi_handle_xxx)
which allows more functionality to be added easier.

No functional changes confirmed by guest testing.

ok mlarkin@



CVS: cvs.openbsd.org: www

2018-01-14 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2018/01/14 18:55:53

Modified files:
.  : errata62.html 

Log message:
release libssl errata.



CVS: cvs.openbsd.org: src

2018-01-14 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2018/01/14 23:53:02

Modified files:
sys/arch/amd64/amd64: identcpu.c 
sys/arch/amd64/include: specialreg.h 

Log message:
Add some AVX512 CPUID flags.

discussed with sf and kettenis



CVS: cvs.openbsd.org: src

2018-01-14 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/01/15 00:47:46

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync