CVS: cvs.openbsd.org: www

2019-04-16 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2019/04/16 23:13:29

Modified files:
faq: upgrade65.html 

Log message:
Add a list of obsolete perl files to remove supplied by afresh1

Make the remove files section match the style used in previous
upgrade*.html.

OK tb@ with a formatting tweak



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 20:45:02

Modified files:
share/man/man4 : myx.4 

Log message:
myx can't reconfigure xfp/sfp/sfp+ modules



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 19:57:21

Modified files:
sys/net: if_mpw.c 

Log message:
don't lose the TTL on FAT labels



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 18:45:03

Modified files:
sys/net: if_mpw.c if_mpip.c if_mpe.c 

Log message:
use txprio to control the use of exp as a priority field

by default txprio is set to 0, so the exp field will be 0. howerver,
txprio on mpe/mpw/mpip can be configured with other values or
settings like our other tunnel or encapsulation interfaces.
intermediate LSPs can use the exp field to manage their prioritisation
of encapsulated traffic.



CVS: cvs.openbsd.org: www

2019-04-16 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/04/16 15:29:11

Modified files:
faq: upgrade65.html 

Log message:
fix a broken link



CVS: cvs.openbsd.org: src

2019-04-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/16 14:52:47

Modified files:
usr.sbin/httpd : httpd.conf.5 

Log message:
document where multiline {} is applicable;
lack of documentation and original diff provided by alfred morgan;
benno helped me track down the applicable options;

ok benno



CVS: cvs.openbsd.org: www

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/04/16 14:03:08

Modified files:
faq: upgrade64.html 

Log message:
add link to upgrade65.html



CVS: cvs.openbsd.org: www

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/04/16 14:02:26

Added files:
faq: upgrade65.html 

Log message:
add upgrade notes for 6.4 -> 6.5



CVS: cvs.openbsd.org: src

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/16 13:42:20

Modified files:
lib/libcrypto/x509v3: v3_utl.c 

Log message:
Rewrite & fix X509V3_add_value()

X509V3_add_value() helpfully allocates a STACK_OF(CONF_VALUE) if it
receives a pointer to a NULL pointer.  If anything fails along the way,
it is however the caller's responsibility to free it.  This can easily
be fixed by freeing *extlist in the error path and zeroing it to avoid
a double free if there happens to be a caller out there that avoids
the leak.

Polish a few things so the function conforms a bit better to our usual
style.

tweak & ok jsing



CVS: cvs.openbsd.org: www

2019-04-16 Thread Landry Breuil
CVSROOT:/cvs
Module name:www
Changes by: lan...@cvs.openbsd.org  2019/04/16 13:35:36

Modified files:
faq: faq17.html 

Log message:
Fix thinko in full site-to-site sample config.

I need to get back to this someday, hopefully.



CVS: cvs.openbsd.org: src

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/16 13:34:15

Modified files:
lib/libcrypto/x509v3: v3_utl.c 

Log message:
indent err: labels



CVS: cvs.openbsd.org: src

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/16 13:31:07

Modified files:
lib/libcrypto/x509v3: v3_utl.c 

Log message:
wrap an overlong line and kill a space before a tab



CVS: cvs.openbsd.org: src

2019-04-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/16 13:25:36

Modified files:
lib/libcrypto/x509v3: v3_utl.c 

Log message:
Move function types to their own lines; rewrap.



CVS: cvs.openbsd.org: src

2019-04-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2019/04/16 12:03:07

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

Log message:
When we encounter ppb(4)s that are not configured we allocate a range
of bus numbers from the parent's bus extent.  On detach, which can
happen with hotplug-able devices, we should free those busses.

ok kettenis@



CVS: cvs.openbsd.org: src

2019-04-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2019/04/16 08:32:44

Modified files:
sys/arch/arm64/arm64: pmap.c 

Log message:
When entering kernel pages uncached we need to make sure to flush the
caches.  If the physical page was previously used by userland it is
likely that this page is still in the cache and writing to the newly
mapped page could result in unexpected behaviour.

ok kettenis@



CVS: cvs.openbsd.org: src

2019-04-16 Thread Sunil Nimmagadda
CVSROOT:/cvs
Module name:src
Changes by: su...@cvs.openbsd.org   2019/04/16 07:58:45

Modified files:
share/man/man4 : rd.4 

Log message:
elfrdsetroot is now rdsetroot(8).

ok deraadt



CVS: cvs.openbsd.org: src

2019-04-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/16 07:16:06

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

Log message:
Prevent attaching drivers to devices for which we attached a driver early.

ok patrick@, dlg@, visa@



CVS: cvs.openbsd.org: src

2019-04-16 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/04/16 07:15:32

Modified files:
sys/kern   : uipc_socket2.c 

Log message:
Use the actual cluster size instead of fixed MCLBYTES for the
condition in sb_compress().  Currently the actual cluster size might
be 9KB even if the mtu is 1500, in this case a lot of memory space had
been wasted, since sbcompress() doesn't compress because of previous
condition.

ok dlg claudio



CVS: cvs.openbsd.org: src

2019-04-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/16 07:15:31

Modified files:
sys/arch/arm64/dev: simplebus.c simplebusvar.h 

Log message:
Prevent attaching drivers to devices for which we attached a driver early.

ok patrick@, dlg@, visa@



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 05:42:56

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

Log message:
i2c reads are more reliable a byte at a time.

reading all 256 at a time was a nice idea, but meant page 0xa2 wasnt
appearing like it should. this follows what freebsd does more
closely too.



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 03:40:21

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

Log message:
make sff page reads work on little endian archs too. like amd64.

some modules seem to need more time when waiting for bytes while here.

hrvoje popovski hit the endian issue



CVS: cvs.openbsd.org: src

2019-04-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/16 03:32:07

Modified files:
sbin/ifconfig  : sff.c 

Log message:
restore some missing error handling



CVS: cvs.openbsd.org: src

2019-04-16 Thread Sunil Nimmagadda
CVSROOT:/cvs
Module name:src
Changes by: su...@cvs.openbsd.org   2019/04/16 00:09:52

Modified files:
usr.sbin/rdsetroot: Makefile rdsetroot.c 
Removed files:
usr.sbin/rdsetroot: elf32.c elf64.c elfrd_size.c rdsetroot.h 

Log message:
Rewrite using libelf(3).

Lots of help with build/tests on sparc64 from jsg@, thank you.
ok deraadt