CVS: cvs.openbsd.org: xenocara

2018-03-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2018/03/13 00:13:14

Modified files:
driver/xf86-video-ati: configure configure.ac 
driver/xf86-video-ati/man: radeon.man 
driver/xf86-video-ati/src: drmmode_display.c drmmode_display.h 
   evergreen_exa.c r600_exa.c radeon.h 
   radeon_dri2.c radeon_glamor.c 
   radeon_kms.c radeon_present.c 
   radeon_textured_video.c 

Log message:
update to xf86-video-ati 18.0.0

Avoids failing page flips reported by landry@ with a pending xfce4 4.13
update (doesn't occur with xfce 4.12 currently in ports).



CVS: cvs.openbsd.org: xenocara

2018-03-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2018/03/13 00:15:10

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: src

2018-03-13 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2018/03/13 01:37:58

Modified files:
sys/arch/amd64/amd64: pmap.c 
sys/arch/amd64/include: pmap.h 

Log message:
pmap_map_ptes() always returns the same ptep and pdepp pointers,
so inline the assignments, pushing them through the callers into
several other functions.  This shows that pmap_free_ptp() was doing
a duplicate set of pmap_tlb_shootpage() calls: delete the extras.

ok deraadt@ mlarkin@



CVS: cvs.openbsd.org: src

2018-03-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/03/13 03:45:29

Modified files:
sys/dev/pci/drm: drm_dp_mst_topology.c 

Log message:
drm/dp/mst: save vcpi with payloads

>From Harry Wentland
c088f7bc3310bb57e0aaea297c7e2f467015d215 in linux 4.4.y/4.4.94
6cecdf7a161d2b909dc7c8979176bbc4f0669968 in mainline linux



CVS: cvs.openbsd.org: www

2018-03-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2018/03/13 05:56:02

Modified files:
build  : mirrors.dat 

Log message:
ftp fixed on mirrors.pidginhost.com



CVS: cvs.openbsd.org: www

2018-03-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2018/03/13 05:56:30

Modified files:
.  : ftp.html 
openbgpd   : ftp.html 
openssh: ftp.html portable.html 
openntpd   : portable.html 

Log message:
sync



CVS: cvs.openbsd.org: src

2018-03-13 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/03/13 04:17:30

Modified files:
sys/dev/pci/drm: drm_edid.c 

Log message:
drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

>From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux



CVS: cvs.openbsd.org: www

2018-03-13 Thread Florian Obser
CVSROOT:/cvs
Module name:www
Changes by: flor...@cvs.openbsd.org 2018/03/13 08:02:13

Modified files:
faq: current.html 

Log message:
v6 addresses change once more



CVS: cvs.openbsd.org: www

2018-03-13 Thread Florian Obser
CVSROOT:/cvs
Module name:www
Changes by: flor...@cvs.openbsd.org 2018/03/13 07:49:21

Modified files:
faq: current.html 

Log message:
try to be more clear that v6 autoconf addresses will change after an upgrade



CVS: cvs.openbsd.org: src

2018-03-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/03/13 06:25:34

Modified files:
lib/libc/asr   : asr.c 

Log message:
Fix comments

ok eric@ a while ago



CVS: cvs.openbsd.org: www

2018-03-13 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2018/03/13 08:08:34

Modified files:
faq: current.html 

Log message:
add a link and make some whitespace tweaks while there



CVS: cvs.openbsd.org: src

2018-03-13 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/03/13 07:51:05

Modified files:
sys/arch/i386/i386: acpi_machdep.c amd64errata.c cpu.c 
db_interface.c est.c gdt.c genassym.cf 
k1x-pstate.c kvm86.c kvm86call.S lapic.c 
locore.s machdep.c mptramp.s pmap.c 
powernow-k7.c powernow-k8.c vm_machdep.c 
vmm.c 
sys/arch/i386/include: cpu.h gdt.h pcb.h proc.h segments.h tss.h 
sys/arch/i386/isa: npx.c 

Log message:
Preparation for i386 Meltdown fix:

- provide a cpu_softc for cpu_attach() etc.
- replace per PCB TSS with per CPU TSS

The first change prepares for cpu_info being embedded in a
cpu_full_info.  Therefore during autoconf/cpu_attach we hand down
a softc.

The second change removes the per PCB TSS.  We now have one TSS per
CPU, thus in cpu_switchto() we only have to patch the ring 0 stack
pointer instead of loading a new TSS.  This also allows for cleaning
up the GDT, so we only have a single slot for the TSS.

from hshoexer@;  OK deraadt@



CVS: cvs.openbsd.org: src

2018-03-13 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/03/13 07:58:03

Modified files:
sys/netinet6   : in6_ifattach.c 

Log message:
Calculate RFC7217 link-local style addresses the same way as
slaacd(8).

RFC 7217 states (section 5, page 9):
| The Interface Identifier is finally obtained by taking as many
| bits from the RID value (computed in the previous step) as
| necessary, starting from the least significant bit.

Problem in slaacd pointed out by semarie@.

OK sthen, phessler



CVS: cvs.openbsd.org: src

2018-03-13 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/03/13 07:57:07

Modified files:
sbin/slaacd: engine.c 

Log message:
RFC 7217 states (section 5, page 9):
| The Interface Identifier is finally obtained by taking as many
| bits from the RID value (computed in the previous step) as
| necessary, starting from the least significant bit.

Copy bits from the end of the digest array, not from the beginning.

While here initialize iid.

Problem that IPv6 addresses change while they should not pointed out
by semarie@.

OK sthen, phessler



CVS: cvs.openbsd.org: src

2018-03-13 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/03/13 08:53:05

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

Log message:
remove the Ic macro from EXAMPLES, and use a much more standard literal;
while there, kill some Tn



CVS: cvs.openbsd.org: src

2018-03-13 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/03/13 10:42:22

Modified files:
sys/netinet: if_ether.c 

Log message:
Mbuf data is used as struct ether_header before it has been made
continuous.  The length of the hardware and protocol address are
provided in the network packet and have to be checked first.  So
enforce that we only deal with internet over ethernet arp headers
with the address length filled correctly.
found by Maxime Villard;  OK claudio@



CVS: cvs.openbsd.org: src

2018-03-13 Thread Brent Cook
CVSROOT:/cvs
Module name:src
Changes by: bc...@cvs.openbsd.org   2018/03/13 16:53:28

Modified files:
lib/libcrypto/arc4random: getentropy_linux.c 

Log message:
ensure SYS_getrandom and GRND_NONBLOCK are both defined before using 
getrandom(2)

Based on discussion here https://github.com/libressl-portable/openbsd/pull/82
Suggested fix from jsing@



CVS: cvs.openbsd.org: src

2018-03-13 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/03/13 23:35:40

Modified files:
usr.bin/ssh: auth-options.c sshd.8 
regress/usr.bin/ssh: key-options.sh 

Log message:
rename recently-added "valid-before" key restriction to "expiry-time"
as the former is confusing wrt similar terminology in X.509;
pointed out by jsing@