CVS: cvs.openbsd.org: src

2018-05-15 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/05/15 14:37:48

Modified files:
libexec/ld.so/aarch64: SYS.h 

Log message:
On arm64 negate the whole 64-bit register otherwise system call wrappers
that return ssize_t will not return a negative value upon error.

Fixes dynamical loading of shared objects using dlopen().

ok guenther@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2018/05/15 13:48:23

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

Log message:
Implement Rx of multiple frames per interrupt in the iwm(4) driver.

Based on my original diff committed in if_iwm.c r1.171, with bugs fixed.
Fixes bogus "unhandled firmware response" errors on 8265 reported by mlarkin@

Tests by mlarkin@, benno@, matthieu@, anton@, kn@, Tracey Emery, Jesper Wallin
on 7260, 7265, and 8265 chips.



CVS: cvs.openbsd.org: src

2018-05-15 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/05/15 10:34:18

Modified files:
sbin/slaacd: slaacd.c 

Log message:
typo in log message



CVS: cvs.openbsd.org: src

2018-05-15 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/05/15 09:54:51

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

Log message:
The snmpd.conf file is divided into four (not three) main sections.

>From Steve Arntzen



CVS: cvs.openbsd.org: src

2018-05-15 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2018/05/15 09:15:50

Modified files:
sbin/dmesg : dmesg.c 

Log message:
drop unused 

ok kn@ mpi@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/05/15 09:11:15

Modified files:
regress/lib/libcrypto: Makefile 

Log message:
Link free directory to libcrypto regress test suite.

ok jsing



CVS: cvs.openbsd.org: src

2018-05-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2018/05/15 08:58:09

Modified files:
usr.bin/tmux   : cmd-attach-session.c 

Log message:
Fix switch-client -l, from Jean-Marc Eurin in GitHub issue 1343.



CVS: cvs.openbsd.org: src

2018-05-15 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/05/15 08:10:16

Modified files:
regress/sys/netinet/ipsec: Makefile 

Log message:
Typo fix, ok bluhm@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Helg Bredow
CVSROOT:/cvs
Module name:src
Changes by: h...@cvs.openbsd.org2018/05/15 05:57:32

Modified files:
lib/libfuse: fuse.c fuse_ops.c fuse_opt.c 
sys/miscfs/fuse: fuse_device.c fuse_vfsops.c 

Log message:
Use memset(3) instead of bzero(3) for consistency and as per POSIX
recommendation.



CVS: cvs.openbsd.org: src

2018-05-15 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/05/15 05:19:21

Modified files:
usr.sbin/ldapd : conn.c control.c filter.c ldapd.c ldapd.h 
 ldape.c log.c log.h logmsg.c namespace.c 
 search.c util.c validate.c 
usr.sbin/ldapctl: ldapctl.c 

Log message:
Fix format string errors in log messages and update ldapd to use relayd's log.c

OK benno@ jmatthew@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/05/15 05:12:35

Modified files:
sys/arch/arm64/arm64: arm64var.h machdep.c 
sys/arch/arm64/dev: arm64_bus_space.c 
sys/arch/arm64/include: bus.h 

Log message:
Remove a4x bus space hack.

ok patrick@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/05/15 05:11:35

Modified files:
sys/arch/arm/armv7: armv7var.h 
sys/arch/arm/conf: files.arm 
sys/arch/armv7/armv7: armv7_machdep.c 
Removed files:
sys/arch/arm/armv7: armv7_a4x_io.S armv7_a4x_space.c 

Log message:
Remove a4x bus space hack.

ok patrick@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2018/05/15 04:04:44

Modified files:
lib/libkvm : kvm_arm.c 

Log message:
fix format strings; ok @kettenis



CVS: cvs.openbsd.org: src

2018-05-15 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2018/05/15 03:21:52

Modified files:
sys/net: ppp_tty.c 

Log message:
Take NET_LOCK for pppioctl when called via the tty ioctl handler

ok mpi



CVS: cvs.openbsd.org: src

2018-05-15 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/05/15 02:57:21

Modified files:
sys/net: ppp_tty.c 

Log message:
Grab the KERNEL_LOCK() in pppasyncstart/pppasyncrelinq/pppasyncctlp.

The tty layer still relies on it to serialize access to its data.

Fixes crashes reported & tested by form@ via mikeb@.

ok mikeb@



CVS: cvs.openbsd.org: src

2018-05-15 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/05/15 01:11:31

Modified files:
regress/lib/libcrypto/free: freenull.c 

Log message:
Test DSO_free(NULL).



CVS: cvs.openbsd.org: src

2018-05-15 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/05/15 01:08:16

Modified files:
regress/lib/libcrypto/free: freenull.c 

Log message:
remove _CONF_free_data(). It doesn't belong here.



CVS: cvs.openbsd.org: src

2018-05-15 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/05/15 01:05:23

Modified files:
regress/lib/libcrypto/free: freenull.c 

Log message:
Remove the /* ASN1_item_free */ annotations I added in r1.9 again.
They generate a lot of noise in an upcoming diff.