CVS: cvs.openbsd.org: src

2019-09-02 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/09/02 22:55:01

Modified files:
sys/dev/fdt: amlclock.c 

Log message:
remove unreachable return
ok kettenis@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 22:47:47

Modified files:
sys/arch/macppc/dev: mesh.c 

Log message:
correct indent that triggered clang to freak out; with jsg.



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 22:48:00

Modified files:
sys/arch/macppc/dev: zs.c 

Log message:
ansify functions
ok jsg



CVS: cvs.openbsd.org: src

2019-09-02 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/09/02 22:48:20

Modified files:
usr.sbin/smtpd : smtpd.c smtpd.conf.5 

Log message:
Exectute procs and filters from /usr/local/libexec/smtpd/ if no absolute
path is given.

OK gilles@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 22:32:59

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

Log message:
sync



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 22:25:10

Modified files:
lib/libpcap: Makefile pcap_open_live.3 
Added files:
lib/libpcap: pcap-filter.7 
Removed files:
lib/libpcap: pcap-filter.3 

Log message:
pcap-filter(3) is not a function, it is a language description.  It was
mostly cobbled together from a pre-mandoc tcpdump manual page, and desperately
needs some loving.  First step is to name it right.
Discussed with jmc



CVS: cvs.openbsd.org: src

2019-09-02 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2019/09/02 20:28:25

Modified files:
lib/libedit: vi.c 

Log message:
Correct the length for argument of reallocarray(). This fix the SEGV
when launch the vi editor in vi mode. This fix is similar 1.63 from
NetBSD lib/libedit/vi.c.

OK schwarze@ yasuoka@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/09/02 18:00:04

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

Log message:
Create remote log files in obj directory.



CVS: cvs.openbsd.org: src

2019-09-02 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/09/02 17:46:46

Modified files:
usr.bin/ssh: ssh-keygen.c 

Log message:
constify an argument



CVS: cvs.openbsd.org: src

2019-09-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/09/02 17:40:29

Modified files:
sys/arch/macppc/stand: Locore.c alloc.c libsa.h main.c net.c 
   ofdev.c ofdev.h openfirm.h 
sys/arch/macppc/stand/boot.mac: fixcoff.c 

Log message:
Various fixes to make clang happy.

ok deraadt@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 16:53:44

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

Log message:
sync



CVS: cvs.openbsd.org: src

2019-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/09/02 16:23:11

Modified files:
regress/sys/netinet: Makefile 

Log message:
Link multicast tests to regress build.



CVS: cvs.openbsd.org: src

2019-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/09/02 16:17:28

Log message:
Test multicast sender, receiver, router.  Minimal mcroute implmentation
does not care about IGMP, it simply adds static multicast routes.
Mutlicast routing needs at least two test machines.  Otherwise only
send and receive on localhost is tested.

Status:

Vendor Tag: bluhm
Release Tags:   bluhm_20190903

N src/regress/sys/netinet/mcast/Makefile
N src/regress/sys/netinet/mcast/mcsend.c
N src/regress/sys/netinet/mcast/README
N src/regress/sys/netinet/mcast/mcrecv.c
N src/regress/sys/netinet/mcast/mcroute.c

No conflicts created by this import



CVS: cvs.openbsd.org: src

2019-09-02 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2019/09/02 15:59:27

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

Log message:
the rule_to_text() function which is used to display rules when debug
tracing ruleset matching had a few "spacing" issues, fix it

reported by Reio Remma



CVS: cvs.openbsd.org: src

2019-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/09/02 15:18:41

Modified files:
lib/libc/gen   : Makefile.inc ftw.3 scandir.3 
share/man/man5 : login.conf.5 spamd.conf.5 
bin/chmod  : chflags.1 chgrp.1 chmod.1 chown.8 
bin/cp : cp.1 
bin/ln : symlink.7 
bin/rm : rm.1 
sbin/dump  : dump.8 
usr.bin/cap_mkdb: cap_mkdb.1 
usr.bin/du : du.1 
usr.bin/find   : find.1 
usr.bin/getcap : getcap.1 
usr.sbin/mtree : mtree.8 
usr.sbin/npppd/npppd: npppd-users.5 
usr.sbin/sensorsd: sensorsd.conf.5 
Added files:
lib/libc/gen   : cgetent.3 fts_open.3 opendir.3 user_from_uid.3 
Removed files:
lib/libc/gen   : directory.3 fts.3 getcap.3 pwcache.3 

Log message:
More correction of section 3 layout. directory->opendir, fts->fts_open,
getcap->cgetent.  pwcache->user_from_uid. And then repair references.
ok jmc



Re: CVS: cvs.openbsd.org: src

2019-09-02 Thread gilles
September 2, 2019 10:05 PM, "Eric Faurot"  wrote:

> CVSROOT: /cvs
> Module name: src
> Changes by: e...@cvs.openbsd.org 2019/09/02 14:05:21
> 
> Modified files:
> usr.sbin/smtpd : smtp.h smtp_client.c smtpc.c 
> 
> Log message:
> Request a new SSL structure for each TLS session.
> Fix a crash reported by Ross L Richardson.
> 
> ok gilles@

Just to clarify as I think it scared a few people.

This is in the standalone smtp(1) client, the issue does not exist in the daemon



CVS: cvs.openbsd.org: src

2019-09-02 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2019/09/02 14:05:21

Modified files:
usr.sbin/smtpd : smtp.h smtp_client.c smtpc.c 

Log message:
Request a new SSL structure for each TLS session.
Fix a crash reported by Ross L Richardson.

ok gilles@



Re: CVS: cvs.openbsd.org: src

2019-09-02 Thread Ted Unangst
Patrick Wildt wrote:
> On Mon, Sep 02, 2019 at 06:46:09PM +0100, Stuart Henderson wrote:
> > On 2019/09/02 18:45, Stuart Henderson wrote:
> > > On 2019/09/01 10:28, Patrick Wildt wrote:
> > > > CVSROOT:/cvs
> > > > Module name:src
> > > > Changes by: patr...@cvs.openbsd.org 2019/09/01 10:28:50
> > > > 
> > > > Log message:
> > > > Import LLVM 8.0.1 release including clang, lld and lldb.
> > > 
> > > Some files were ignored by cvs import due to their file extensions. IIRC
> > > "cvs add" will work to add them. (you can tell "cvs import" to add them
> > > anyway with -I '!' but then need to be very careful not to introduce
> > > unwanted files to the repo).
> > 
> > PS judging by the filenames, they probably want to be set as binary.
> 
> I am aware.  Considering they are binaries that we'll probably never
> use anyway I thought that CVS ignoring them is actually pretty fine.

You aren't planning on making openbsd into the premier s390 debugging
platform???

> > > > I 
> > > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-s390x.core



CVS: cvs.openbsd.org: src

2019-09-02 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2019/09/02 13:17:43

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

Log message:
in standalone smtp client, smtps schema should use ... smtps port

diff from Ross L Richardson 



Re: CVS: cvs.openbsd.org: src

2019-09-02 Thread Patrick Wildt
On Mon, Sep 02, 2019 at 06:46:09PM +0100, Stuart Henderson wrote:
> On 2019/09/02 18:45, Stuart Henderson wrote:
> > On 2019/09/01 10:28, Patrick Wildt wrote:
> > > CVSROOT:  /cvs
> > > Module name:  src
> > > Changes by:   patr...@cvs.openbsd.org 2019/09/01 10:28:50
> > > 
> > > Log message:
> > > Import LLVM 8.0.1 release including clang, lld and lldb.
> > 
> > Some files were ignored by cvs import due to their file extensions. IIRC
> > "cvs add" will work to add them. (you can tell "cvs import" to add them
> > anyway with -I '!' but then need to be very careful not to introduce
> > unwanted files to the repo).
> 
> PS judging by the filenames, they probably want to be set as binary.

I am aware.  Considering they are binaries that we'll probably never
use anyway I thought that CVS ignoring them is actually pretty fine.

> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/module-end/test.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabi64.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-s390x.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_i386.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_x86_64.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabin32.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/altmain.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-i386.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-x86_64.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-ppc64le.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mipsel-gnuabio32.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-i386.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-x86_64.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-i386.core
> > > I 
> > > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-x86_64.core
> > > I 
> > > src/gnu/llvm/tools/lldb/unittests/SymbolFile/DWARF/Inputs/test-dwarf.exe
> > > I 
> > > src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb-types.exe
> > > I src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb.exe
> > > I 
> > > src/gnu/llvm/tools/lldb/unittests/ObjectFile/ELF/Inputs/early-section-headers.so
> > > I src/gnu/llvm/tools/lldb/unittests/Target/Inputs/TestModule.so
> 



Re: CVS: cvs.openbsd.org: src

2019-09-02 Thread Stuart Henderson
On 2019/09/02 18:45, Stuart Henderson wrote:
> On 2019/09/01 10:28, Patrick Wildt wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: patr...@cvs.openbsd.org 2019/09/01 10:28:50
> > 
> > Log message:
> > Import LLVM 8.0.1 release including clang, lld and lldb.
> 
> Some files were ignored by cvs import due to their file extensions. IIRC
> "cvs add" will work to add them. (you can tell "cvs import" to add them
> anyway with -I '!' but then need to be very careful not to introduce
> unwanted files to the repo).

PS judging by the filenames, they probably want to be set as binary.

> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/module-end/test.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabi64.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-s390x.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_i386.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_x86_64.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabin32.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/altmain.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-i386.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-x86_64.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-ppc64le.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mipsel-gnuabio32.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-i386.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-x86_64.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-i386.core
> > I 
> > src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-x86_64.core
> > I 
> > src/gnu/llvm/tools/lldb/unittests/SymbolFile/DWARF/Inputs/test-dwarf.exe
> > I 
> > src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb-types.exe
> > I src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb.exe
> > I 
> > src/gnu/llvm/tools/lldb/unittests/ObjectFile/ELF/Inputs/early-section-headers.so
> > I src/gnu/llvm/tools/lldb/unittests/Target/Inputs/TestModule.so



Re: CVS: cvs.openbsd.org: src

2019-09-02 Thread Stuart Henderson
On 2019/09/01 10:28, Patrick Wildt wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   patr...@cvs.openbsd.org 2019/09/01 10:28:50
> 
> Log message:
> Import LLVM 8.0.1 release including clang, lld and lldb.

Some files were ignored by cvs import due to their file extensions. IIRC
"cvs add" will work to add them. (you can tell "cvs import" to add them
anyway with -I '!' but then need to be very careful not to introduce
unwanted files to the repo).

> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/module-end/test.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabi64.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-s390x.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_i386.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-fpr_sse_x86_64.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mips64el-gnuabin32.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/altmain.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-i386.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-x86_64.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-ppc64le.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-mipsel-gnuabio32.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-i386.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/linux-x86_64.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-i386.core
> I 
> src/gnu/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/linux-x86_64.core
> I src/gnu/llvm/tools/lldb/unittests/SymbolFile/DWARF/Inputs/test-dwarf.exe
> I 
> src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb-types.exe
> I src/gnu/llvm/tools/lldb/unittests/SymbolFile/PDB/Inputs/test-pdb.exe
> I 
> src/gnu/llvm/tools/lldb/unittests/ObjectFile/ELF/Inputs/early-section-headers.so
> I src/gnu/llvm/tools/lldb/unittests/Target/Inputs/TestModule.so



CVS: cvs.openbsd.org: src

2019-09-02 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2019/09/02 10:36:12

Modified files:
usr.sbin/installboot: i386_installboot.c i386_installboot.h 
  i386_softraid.c 

Log message:
Fix copyright lines, the "one-inode file system" in i386_softraid.c is my
invention; and I have had little to do with the i386_installboot.[ch] files.
This was mixed up in the giant reshuffle a few years back. ok jsing@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/09/02 09:24:39

Modified files:
sys/dev/fdt: sxiccmu_clocks.h 

Log message:
Implement setting the CPU clock for Allwinner A64 SoCs.
>From Krystian Lewandowski.



CVS: cvs.openbsd.org: src

2019-09-02 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/09/02 08:07:45

Modified files:
usr.bin/less   : charset.c cmdbuf.c funcs.h less.1 

Log message:
Delete what remains of the support for combining characters into
ligatures: it was incomplete (only for the Arabic script and only
for the single ligature LAM WITH ALEF) and it was implemented in a
way that is unsustainable (with a static table inside less).

If we ever want ligature support, we are better off making a fresh
start.  However, for languages like Arabic and Persian, even that
wouldn't really be useful without having bidirectional support first.

OK millert@
(and also considering comments from Mohammadreza Abdollahzadeh,
Evan Silberman, and benno@)



CVS: cvs.openbsd.org: src

2019-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/09/02 07:12:09

Modified files:
sys/netinet: ip_mroute.c 

Log message:
Fix a route use after free in multicast route.  Move the rt_mcast_del()
out of the rtable_walk().  This avoids recursion to prevent stack
overflow.  Also it allows freeing the route outside of the walk.
Now mrt_mcast_del() frees the route only when it is deleted from
the routing table.  If that fails, it must not be freed.  After the
route is returned by mfc_find(), it is reference counted.  Then we
need a rtfree(), but not in the other caes.
Move rt_timer_remove_all() into rt_mcast_del().
OK mpi@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/09/02 07:08:49

Modified files:
sys/dev/fdt: sxiccmu.c 

Log message:
Implement setting the CPU clock for Allwinner A64 SoCs.
>From Krystian Lewandowski.



CVS: cvs.openbsd.org: src

2019-09-02 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2019/09/02 06:54:21

Modified files:
sbin/ifconfig  : ifconfig.c 
sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
 ieee80211_node.c ieee80211_node.h 
 ieee80211_pae_input.c ieee80211_proto.c 

Log message:
Make net80211 expose reasons for association failures to userland and have
ifconfig display them in 'scan' output and on the ieee80211 status line if
the failure is applicable to an already selected AP (e.g. wrong WPA key).

This will hopefully reduce the amount of help requests for what often
turn out to be trivial misconfiguration issues that were previously
hard to diagnose without debug mode.

ifconfig must be recompiled with the new ieee80211_ioctl.h to stay in
sync with the kernel. A full 'make build' will do the right thing!

Very helpful input by mpi@ and deraadt@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2019/09/02 06:50:12

Modified files:
sys/dev/pci: if_iwm.c if_iwn.c 
sys/net80211   : ieee80211.c 

Log message:
Reset the current wireless PHY mode to 'auto' when a scan begins if we
are in media autoselect mode.

The interface might have been switched to a fixed PHY mode during association
and keeping it fixed will mislead AP selection after roaming failure.

Problem found and diagnosed at CCC camp 2019
Tested by myself, fkr@, chris@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/09/02 06:48:44

Modified files:
usr.bin/netstat: mroute.c 

Log message:
The output of netstat -g was mangled.  Fix header line and print
format.
OK mpi@



CVS: cvs.openbsd.org: src

2019-09-02 Thread Todd Mortimer
CVSROOT:/cvs
Module name:src
Changes by: morti...@cvs.openbsd.org2019/09/02 06:43:54

Modified files:
libexec/ld.so/mips64: ldasm.S 

Log message:
Remove some duplicate symbol definitions.

ok visa@ guenther@



CVS: cvs.openbsd.org: src

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

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

Log message:
Release locks in error paths.  Spotted by semarie@

ok jsg@



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/fdt: amlmmc.c 

Log message:
A few more missing bits: power regulators, eMMC power sequencing,
MMC DDR52 support, clock gating.



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/fdt: amlpinctrl.c 

Log message:
Two additional pin configurations.