CVS: cvs.openbsd.org: src

2019-05-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/05/02 22:11:00

Modified files:
usr.bin/ssh: channels.c 

Log message:
Free channel objects on exit path.  Patch from markus at blueflash.cc,
ok deraadt



CVS: cvs.openbsd.org: src

2019-05-02 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/02 22:06:08

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

Log message:
basic macro cleanup; from Fabio Scotoni 



CVS: cvs.openbsd.org: src

2019-05-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/05/02 21:27:38

Modified files:
usr.bin/ssh: sshconnect.c 

Log message:
Free host on exit path.  Patch from markus at blueflash.cc, ok djm@



CVS: cvs.openbsd.org: src

2019-05-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/05/02 21:25:18

Modified files:
usr.bin/ssh: sshkey.c 

Log message:
Wrap XMSS including in ifdef.  Patch from markus at blueflash.cc, ok djm



CVS: cvs.openbsd.org: www

2019-05-02 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/05/02 20:41:25

Modified files:
.  : mail.html 

Log message:
some assorted improvements:
- add opensmtpd/openbgpd lists
- add opensmtpd security contact
- mention arm64 in the arm@ list description
- add archive links for each list (where available)
- format list names more consistently
- switch some links to https

ok tb



CVS: cvs.openbsd.org: src

2019-05-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/02 19:48:42

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

Log message:
missing break
ok benno@



CVS: cvs.openbsd.org: src

2019-05-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/02 19:41:35

Modified files:
sys/dev/pci/drm/i915: intel_fbdev.c 

Log message:
Revert "drm/i915/fbdev: Actually configure untiled displays"

>From Dave Airlie
2bc7ce32eb21b094b3ae3e489017fabfe72b4dda in linux 4.19.y/4.19.38
9fa246256e09dc30820524401cdbeeaadee94025 in mainline linux



CVS: cvs.openbsd.org: src

2019-05-02 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/05/02 16:32:34

Modified files:
usr.sbin/httpd : logger.c 

Log message:
Avoid opening log files on "no log"

When not logging anything, do not open files in the first place.
This prevents startup failures on configurations where the log/ directory
is missing but logging is disabled anyway.

OK aja solene reyk



CVS: cvs.openbsd.org: src

2019-05-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/02 15:12:45

Modified files:
sys/arch/arm64/dev: mainbus.c 

Log message:
Add a print function to mainbus(4) such that it prints unconfigured devices
just like we do for simplebus(4).

ok patrick@, visa@



CVS: cvs.openbsd.org: src

2019-05-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/02 14:28:46

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

Log message:
Avoid running the activate function for a partially attached ehci(4) driver.
The Realtek DASH ehci(4) doesn't have a properly set SBRN register which
prevents us from fully attaching the device.  This would result in a panic
during suspend because the activate function will access register that
aren't mapped.

ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-02 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/02 14:12:40

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

Log message:
Fix up some bits about window-size that seem to have got lost.



CVS: cvs.openbsd.org: xenocara

2019-05-02 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:xenocara
Changes by: schwa...@cvs.openbsd.org2019/05/02 13:12:05

Modified files:
doc/xorg-docs  : Makefile.bsd-wrapper 
doc/xorg-docs/general/fonts: fonts.7 
lib/libdrm : Makefile.bsd-wrapper 
lib/libdrm/man : drm-kms.7 drm-memory.7 drm.7 drmAvailable.3 
 drmHandleEvent.3 drmModeGetResources.3 

Log message:
simplify Makefiles for use with docbook2mdoc-1.1.0
and regen for improved formatting:
correct linebreaks in literal displays; and new sentence, new line



CVS: cvs.openbsd.org: src

2019-05-02 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2019/05/02 10:24:32

Modified files:
sys/net: bridgestp.c 

Log message:
Reset root port after last STP interface is removed.

Prevent use-after-free reported by Hrvoje Popovski.



CVS: cvs.openbsd.org: src

2019-05-02 Thread Gerhard Roth
CVSROOT:/cvs
Module name:src
Changes by: gerh...@cvs.openbsd.org 2019/05/02 08:04:10

Modified files:
usr.sbin/snmpd : mib.c 

Log message:
Index 0 is out of range for hrStorageIndex.

ok reyk@



Re: CVS: cvs.openbsd.org: src

2019-05-02 Thread Rob Pierce
On Sat, Apr 27, 2019 at 08:58:15AM -0600, Rob Pierce wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   r...@cvs.openbsd.org2019/04/27 08:58:15
> 
> Modified files:
>   usr.bin/ldap   : ber.c 
>   usr.sbin/ldapd : ber.c 
>   usr.sbin/snmpd : ber.c 
>   usr.sbin/ypldap: ber.c 
> 
> Log message:
> Only apply sign extension when less than eight bytes have been consumed. This
> fixes a problem when handling large negative integers.
> 
> ok claudio@

Arg. This should have been "Tweaked and ok claudio@", not the snmpe.e commit.



Re: CVS: cvs.openbsd.org: src

2019-05-02 Thread Rob Pierce
On Mon, Apr 29, 2019 at 10:04:05AM -0600, Rob Pierce wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   r...@cvs.openbsd.org2019/04/29 10:04:05
> 
> Modified files:
>   usr.sbin/snmpd : snmpe.c 
> 
> Log message:
> Remove unnecessary end-of-contents octets.
> 
> ok claudio@

That should have read "Tweaked and ok claudio@"



CVS: cvs.openbsd.org: src

2019-05-02 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/05/02 05:39:45

Modified files:
usr.sbin/smtpd : lka_filter.c 

Log message:
Give filter programmers a more friendlier error message when returning a
filter-dataline in non-dataline phases and vice versa instead of crashing
with "smtpd: tree_xpop(0x1e1a6b180b40, 0xc77804c6ba110977)"

OK gilles@



CVS: cvs.openbsd.org: src

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

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

Log message:
works on newer AMD Ryzen APUs/CPUs as well

ok deraadt@, mlarkin@



CVS: cvs.openbsd.org: src

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

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

Log message:
regen



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/pci: pcidevs 

Log message:
add Cryptographics Co-processor found on newer AMD Ryzen CPUs/APUs



CVS: cvs.openbsd.org: src

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

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

Log message:
Allow non-root users to become master when they are the first to open a drm
device.  This matches what Linux does and is a first step towards running
X without setuid or root priviliges.

ok jsg@



CVS: cvs.openbsd.org: src

2019-05-02 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/05/02 02:38:41

Modified files:
regress/lib/libc/open_memstream: open_memstreamtest.c 

Log message:
Add test fseek(,-1) works properly.



CVS: cvs.openbsd.org: src

2019-05-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/05/02 02:35:10

Modified files:
etc/etc.amd64  : login.conf 

Log message:
pbuild class: bump datasize and maxproc; these should be sufficient for
running a ports bulk without bumping anything else
(matches what's on amd64.ports and exopi)

ok sthen@ phessler@ espie@ naddy@



CVS: cvs.openbsd.org: src

2019-05-02 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/05/02 02:30:10

Modified files:
lib/libc/stdio : open_memstream.c 

Log message:
Fix a comparison in open_memstream not to confuse when a negative
value is given for the off.  found by nagasaka at IIJ.

ok deraadt



CVS: cvs.openbsd.org: src

2019-05-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/02 01:00:46

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

Log message:
Fix vmm_support.S compilation error with gcc 8.3

ok deraadt



Re: CVS: cvs.openbsd.org: src

2019-05-02 Thread Florian Obser
On Thu, May 02, 2019 at 12:19:33AM -0600, Florian Obser wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   flor...@cvs.openbsd.org 2019/05/02 00:19:33
> 
> Modified files:
>   distrib/miniroot: install.sub 
> 
> Log message:
> Keep SHA256.sig around on the installed / upgraded system.
> It seems like sysupgrade(8) could use this to figure out if a new
> snapshot is available.
> 

Sorry, this was OK deraadt@, kn@

-- 
I'm not entirely sure you are real.



CVS: cvs.openbsd.org: src

2019-05-02 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/02 00:19:33

Modified files:
distrib/miniroot: install.sub 

Log message:
Keep SHA256.sig around on the installed / upgraded system.
It seems like sysupgrade(8) could use this to figure out if a new
snapshot is available.