CVS: cvs.openbsd.org: src

2017-11-14 Thread Alexandr Nedvedicky
CVSROOT:/cvs
Module name:src
Changes by: sas...@cvs.openbsd.org  2017/11/14 15:17:41

Modified files:
sbin/pfctl : parse.y 

Log message:
- nested anchors vs. pfctl/parse.y
bug reported and fix tested by Leonardo Guardati

OK bluhm@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2017/11/14 15:04:50

Modified files:
usr.sbin/bgpd  : rde.c 

Log message:
Inverse logic, issue found by henning@. MPLS VPN is still broken though.



CVS: cvs.openbsd.org: src

2017-11-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2017/11/14 13:21:29

Modified files:
etc: MAKEDEV.common 

Log message:
Remove /dev/arandom symlink.  Nothing in base, xenocara, or ports uses
/dev/arandom any longer.  ok deraadt@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2017/11/14 13:22:04

Modified files:
etc/etc.alpha  : MAKEDEV 
etc/etc.amd64  : MAKEDEV 
etc/etc.arm64  : MAKEDEV 
etc/etc.armv7  : MAKEDEV 
etc/etc.hppa   : MAKEDEV 
etc/etc.i386   : MAKEDEV 
etc/etc.landisk: MAKEDEV 
etc/etc.loongson: MAKEDEV 
etc/etc.luna88k: MAKEDEV 
etc/etc.macppc : MAKEDEV 
etc/etc.octeon : MAKEDEV 
etc/etc.sgi: MAKEDEV 
etc/etc.socppc : MAKEDEV 
etc/etc.sparc64: MAKEDEV 

Log message:
sync



CVS: cvs.openbsd.org: src

2017-11-14 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/14 18:11:45

Modified files:
sys/net: if_media.h 

Log message:
some more 25g media types, and a bunch of AOC types.

with tweaks from carlos cardenas and visa@
ok mpi@



CVS: cvs.openbsd.org: src

2017-11-14 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/14 18:41:20

Modified files:
share/man/man9 : if_rxr_init.9 

Log message:
wrap some long lines for function prototypes with .Fo, .Fa, and .Fc.

no functional change, ie, the output is the same



CVS: cvs.openbsd.org: src

2017-11-14 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/14 19:10:16

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

Log message:
downgrade a couple more request parsing errors from process-fatal to
just returning failure, making them consistent with the others that
were already like that.



CVS: cvs.openbsd.org: src

2017-11-14 Thread Frederic Cambus
CVSROOT:/cvs
Module name:src
Changes by: fcam...@cvs.openbsd.org 2017/11/14 06:09:22

Modified files:
sys/arch/amd64/amd64: via.c 

Log message:
Add sizes for free() in the VIA PadLock driver.

OK mikeb@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2017/11/14 04:58:17

Modified files:
sys/dev/pckbc  : pms.c 

Log message:
Print out the offending data causing pms sync to fail.

ok bru@, mpi@ (as part of a larger diff)



CVS: cvs.openbsd.org: src

2017-11-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2017/11/14 05:03:42

Modified files:
sys/dev/pckbc  : pms.c 

Log message:
Detect touchpad reset announcements. On rare occasions, the touchpad is reset
due to power failure and an announcement is transmitted as input by the device
making it detectable. At this point, the device must be re-enabled to continue
working since any configuration done prior to the reset is lost.

Detection is implemented using a watchdog and enabled for all protocols. So far,
the announcement has been observed on Synaptics by me and on Elantech v4 by
bru@. Extra care has been taken to handle potential false positives: when the
announcement byte sequence is part of a valid input packet.

with help and ok bru@, mpi@



CVS: cvs.openbsd.org: src

2017-11-14 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/14 01:44:11

Modified files:
sys/net: ifq.c ifq.h 

Log message:
anton@ reports that ifq tx mitigation breaks iwm somehow.

back it out until i can figure the problem out.



CVS: cvs.openbsd.org: src

2017-11-14 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2017/11/14 03:17:13

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
Add a few more PNP IDs to the skip lists.

ok deraadt@, mpi@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/14 02:14:50

Modified files:
usr.bin/ctfconv: elf.c 
usr.bin/ctfdump: elf.c 

Log message:
Verify that every section header lies within the mapped file.

Pointed out by Mark Johnston, Markj@FreeBSD



CVS: cvs.openbsd.org: src

2017-11-14 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/14 02:30:17

Modified files:
sys/netinet: in.h ip_input.c ip_ipsp.h ipsec_input.c 

Log message:
Introduce ipsec_sysctl() and move IPsec tunables where they belong.

ok bluhm@, visa@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2017/11/14 03:02:56

Modified files:
share/mk   : bsd.lib.mk 

Log message:
Set soname when building shared libraries.

ok guenther@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2017/11/14 07:46:49

Modified files:
sys/netinet6   : frag6.c 

Log message:
Put the net lock around frag6_freef() as it sends ICMP6 error
messages.  Splassert was triggered by regress/sys/netinet6/frag6.
OK mpi@ sashan@ visa@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2017/11/14 09:01:55

Modified files:
sys/kern   : sys_socket.c 
sys/net: if.c 
sys/nfs: nfs_boot.c 

Log message:
Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().
In particular, this allows SIOCGIF* requests to run in parallel.

lots of help & ok mpi, ok visa, sashan



CVS: cvs.openbsd.org: src

2017-11-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2017/11/14 08:30:35

Modified files:
regress/sys/netinet6/frag6: Makefile 

Log message:
Add more checks helping to set up the test environment.



CVS: cvs.openbsd.org: src

2017-11-14 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/11/14 07:43:39

Modified files:
sys/kern   : subr_witness.c 

Log message:
Fix the initial check of the checkorder and lock operations
so that statically initialized locks get properly enrolled
to the validator.

OK mpi@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/14 10:48:48

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
Treat invalid server name as empty instead of declining the lease offered
by such misconfigured DHCP servers.

Original diff from and ok krw@, ok sthen@



Re: CVS: cvs.openbsd.org: src

2017-11-14 Thread Martin Pieuchot
On 14/11/17(Tue) 10:48, Martin Pieuchot wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   m...@cvs.openbsd.org2017/11/14 10:48:48
> 
> Modified files:
>   sbin/dhclient  : dhclient.c 
> 
> Log message:
> Treat invalid server name as empty instead of declining the lease offered
> by such misconfigured DHCP servers.
> 
> Original diff from and ok krw@, ok sthen@

And ok phessler@



CVS: cvs.openbsd.org: src

2017-11-14 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/14 17:13:41

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

Log message:
fix regression in 7.6: failure to parse a signature request message
shouldn't be fatal to the process, just the request. Reported by
Ron Frederick