svn commit: r313986 - head/sys/net80211

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 04:04:59 2017 New Revision: 313986 URL: https://svnweb.freebsd.org/changeset/base/313986 Log: [net80211] validate VHT IEs. Modified: head/sys/net80211/ieee80211_hostap.c Modified: head/sys/net80211/ieee80211_hostap.c ===

svn commit: r313985 - head/sys/net80211

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 04:02:50 2017 New Revision: 313985 URL: https://svnweb.freebsd.org/changeset/base/313985 Log: [net80211] teach the probe response routine to add VHT IEs as appropriate. Modified: head/sys/net80211/ieee80211_output.c Modified: head/sys/net80211/ieee80211_output

svn commit: r313984 - head/sys/net80211

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 04:02:29 2017 New Revision: 313984 URL: https://svnweb.freebsd.org/changeset/base/313984 Log: [net80211] fix up VHT IE comparison typo Whilst here, add a comment that I need to validate VHT IEs. Modified: head/sys/net80211/ieee80211_hostap.c Modified: hea

svn commit: r313983 - head/sys/net80211

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 03:45:41 2017 New Revision: 313983 URL: https://svnweb.freebsd.org/changeset/base/313983 Log: [net80211] fix NULL pointer dereference in VHT operation in hostap mode. The vht IEs are NULL at this point, so we shouldn't upgrade a node to VHT. I'll fix the up

svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard ...

2017-02-19 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 20 03:43:12 2017 New Revision: 313982 URL: https://svnweb.freebsd.org/changeset/base/313982 Log: sys/dev: Replace zero with NULL for pointers. Makes things easier to read, plus architectures may set NULL to something different than zero. Found with: devel/

svn commit: r313979 - head/sbin/ifconfig

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 03:12:46 2017 New Revision: 313979 URL: https://svnweb.freebsd.org/changeset/base/313979 Log: [ifconfig] fix a memory leak! Submitted by: Tom Rix Differential Revision:https://reviews.freebsd.org/D9675 Modified: head/sbin/ifconfig/ifbridge.c Mo

svn commit: r313978 - head/sbin/ifconfig

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 03:10:56 2017 New Revision: 313978 URL: https://svnweb.freebsd.org/changeset/base/313978 Log: [ifconfig] fix a memory leak. Submitted by: Tom Rix Differential Revision:https://reviews.freebsd.org/D9654 Modified: head/sbin/ifconfig/ifieee80211.c

svn commit: r313977 - in head: sbin/ifconfig sys/dev/iwn sys/dev/mwl sys/net80211

2017-02-19 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 02:08:08 2017 New Revision: 313977 URL: https://svnweb.freebsd.org/changeset/base/313977 Log: [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. * Migrate the rx_params stuff out from ieee80211_freebsd.h where it doe

svn commit: r313976 - in head: . etc/mtree

2017-02-19 Thread Ngie Cooper
) @@ -38,6 +38,12 @@ # xargs -n1 | sort | uniq -d; # done +# 20170219: OpenPAM RADULA upgrade removed the libpam tests +OLD_FILES+=usr/tests/lib/libpam/Kyuafile +OLD_FILES+=usr/tests/lib/libpam/t_openpam_ctype +OLD_FILES+=usr/tests/lib/libpam/t_openpam_readlinev +OLD_FILES+=usr/tests/lib/libpam

svn commit: r313975 - in head: contrib/openpam contrib/openpam/bin contrib/openpam/bin/openpam_dump_policy contrib/openpam/bin/pamtest contrib/openpam/bin/su contrib/openpam/doc contrib/openpam/doc...

2017-02-19 Thread Dag-Erling Smørgrav
Author: des Date: Mon Feb 20 00:56:46 2017 New Revision: 313975 URL: https://svnweb.freebsd.org/changeset/base/313975 Log: Upgrade to OpenPAM Radula. Added: head/contrib/openpam/m4/ - copied from r313968, vendor/openpam/dist/m4/ head/contrib/openpam/misc/Makefile.am - copied uncha

svn commit: r313974 - head/lib/libfetch

2017-02-19 Thread Baptiste Daroussin
Author: bapt Date: Mon Feb 20 00:14:31 2017 New Revision: 313974 URL: https://svnweb.freebsd.org/changeset/base/313974 Log: Add a file descriptor in struct url for netrc When using libfetch in an application that drops privileges when fetching like pkg(8) then user complain because the ap

Re: svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Kurt Lidl
On 2/19/17 6:22 PM, Oliver Pinter wrote: On 2/20/17, Kurt Lidl wrote: On 2/19/17 4:42 PM, Oliver Pinter wrote: Hello! On 2/19/17, Kurt Lidl wrote: Author: lidl Date: Sun Feb 19 20:35:39 2017 New Revision: 313965 URL: https://svnweb.freebsd.org/changeset/base/313965 Log: Only notify black

Re: svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Oliver Pinter
On 2/20/17, Kurt Lidl wrote: > On 2/19/17 4:42 PM, Oliver Pinter wrote: >> Hello! >> >> On 2/19/17, Kurt Lidl wrote: >>> Author: lidl >>> Date: Sun Feb 19 20:35:39 2017 >>> New Revision: 313965 >>> URL: https://svnweb.freebsd.org/changeset/base/313965 >>> >>> Log: >>> Only notify blacklistd for

Re: svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Ian Lepore
On Sun, 2017-02-19 at 18:06 -0500, Kurt Lidl wrote: > On 2/19/17 4:42 PM, Oliver Pinter wrote: > > > > Hello! > > > > On 2/19/17, Kurt Lidl wrote: > > > > > > Author: lidl > > > Date: Sun Feb 19 20:35:39 2017 > > > New Revision: 313965 > > > URL: https://svnweb.freebsd.org/changeset/base/313965

Re: svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Kurt Lidl
On 2/19/17 4:42 PM, Oliver Pinter wrote: Hello! On 2/19/17, Kurt Lidl wrote: Author: lidl Date: Sun Feb 19 20:35:39 2017 New Revision: 313965 URL: https://svnweb.freebsd.org/changeset/base/313965 Log: Only notify blacklistd for successful logins in auth.c What's the rationale behind this

Re: svn commit: r313962 - in head: etc/mtree sys/boot/geli sys/geom/eli tests/sys/geom tests/sys/geom/eli tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Allan Jude
On 2017-02-19 16:06, Ngie Cooper (yaneurabeya) wrote: > >> On Feb 19, 2017, at 13:01, Ngie Cooper (yaneurabeya) >> wrote: >> >>> >>> On Feb 19, 2017, at 11:30, Allan Jude wrote: >>> >>> Author: allanjude >>> Date: Sun Feb 19 19:30:31 2017 >>> New Revision: 313962 >>> URL: https://svnweb.freebsd

svn commit: r313973 - head/tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Ngie Cooper
Author: ngie Date: Sun Feb 19 22:00:11 2017 New Revision: 313973 URL: https://svnweb.freebsd.org/changeset/base/313973 Log: A forced commit to note other portion of the Makefile change accidentally committed in r313972 The code committed in r313962 implicitly relies on python 2.x to gener

Re: svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Oliver Pinter
Hello! On 2/19/17, Kurt Lidl wrote: > Author: lidl > Date: Sun Feb 19 20:35:39 2017 > New Revision: 313965 > URL: https://svnweb.freebsd.org/changeset/base/313965 > > Log: > Only notify blacklistd for successful logins in auth.c What's the rationale behind this change? > > Reported by:

svn commit: r313972 - head/tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Ngie Cooper
Author: ngie Date: Sun Feb 19 21:19:44 2017 New Revision: 313972 URL: https://svnweb.freebsd.org/changeset/base/313972 Log: Unbreak the build when "make obj" is executed beforehand Using relative paths imply working directory (in this case .OBJDIR), whereas the sources live in the .CURDI

Re: svn commit: r313962 - in head: etc/mtree sys/boot/geli sys/geom/eli tests/sys/geom tests/sys/geom/eli tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Ngie Cooper (yaneurabeya)
> On Feb 19, 2017, at 13:07, Allan Jude wrote: … > Sorry, I didn't think it actually built these tests unless testvect.h > did not exist. > > These tests were written by jmg@, years ago, but by me. > > What do you think the best course of action is? Just disconnect this test? To be s

Re: svn commit: r313962 - in head: etc/mtree sys/boot/geli sys/geom/eli tests/sys/geom tests/sys/geom/eli tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Allan Jude
On 2017-02-19 16:01, Ngie Cooper (yaneurabeya) wrote: > >> On Feb 19, 2017, at 11:30, Allan Jude wrote: >> >> Author: allanjude >> Date: Sun Feb 19 19:30:31 2017 >> New Revision: 313962 >> URL: https://svnweb.freebsd.org/changeset/base/313962 >> >> Log: >> improve PBKDF2 performance >> >> The P

Re: svn commit: r313962 - in head: etc/mtree sys/boot/geli sys/geom/eli tests/sys/geom tests/sys/geom/eli tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Ngie Cooper (yaneurabeya)
> On Feb 19, 2017, at 13:01, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Feb 19, 2017, at 11:30, Allan Jude wrote: >> >> Author: allanjude >> Date: Sun Feb 19 19:30:31 2017 >> New Revision: 313962 >> URL: https://svnweb.freebsd.org/changeset/base/313962 >> >> Log: >> improve PBKDF2 perfor

Re: svn commit: r313962 - in head: etc/mtree sys/boot/geli sys/geom/eli tests/sys/geom tests/sys/geom/eli tests/sys/geom/eli/pbkdf2

2017-02-19 Thread Ngie Cooper (yaneurabeya)
> On Feb 19, 2017, at 11:30, Allan Jude wrote: > > Author: allanjude > Date: Sun Feb 19 19:30:31 2017 > New Revision: 313962 > URL: https://svnweb.freebsd.org/changeset/base/313962 > > Log: > improve PBKDF2 performance > > The PBKDF2 in sys/geom/eli/pkcs5v2.c is around half the speed it coul

svn commit: r313967 - in head/sys: fs/devfs kern

2017-02-19 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 20:51:04 2017 New Revision: 313967 URL: https://svnweb.freebsd.org/changeset/base/313967 Log: Apply noexec mount option for mmap(PROT_EXEC). Right now the noexec mount option disallows image activators to try execve the files on the mount point. Also, after r

svn commit: r313966 - head/sys/arm/arm

2017-02-19 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 20:40:07 2017 New Revision: 313966 URL: https://svnweb.freebsd.org/changeset/base/313966 Log: MFamd64 r313933: microoptimize pmap_protect_pte1(). Noted by: alc Tested by:mmel Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: he

svn commit: r313965 - head/crypto/openssh

2017-02-19 Thread Kurt Lidl
Author: lidl Date: Sun Feb 19 20:35:39 2017 New Revision: 313965 URL: https://svnweb.freebsd.org/changeset/base/313965 Log: Only notify blacklistd for successful logins in auth.c Reported by: Rick Adams Reviewed by: des MFC after:3 days Sponsored by: The FreeBSD Foundation Modi

svn commit: r313964 - in head/sys: conf powerpc/mikrotik

2017-02-19 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 19 19:56:12 2017 New Revision: 313964 URL: https://svnweb.freebsd.org/changeset/base/313964 Log: Add a driver for the RouterBoard RB800 User LED This may work on other RouterBoard PPC platforms, but I don't have any to test with. Added: head/sys/powerpc/m

svn commit: r313963 - head/share/man/man4

2017-02-19 Thread Alexander Motin
Author: mav Date: Sun Feb 19 19:46:47 2017 New Revision: 313963 URL: https://svnweb.freebsd.org/changeset/base/313963 Log: Document r313854 (kern.cam.ctl.iscsi.maxtags). MFC after:12 days Modified: head/share/man/man4/ctl.4 Modified: head/share/man/man4/ctl.4 ===

Re: svn commit: r313943 - head/sbin/mdconfig

2017-02-19 Thread Cy Schubert
In message <20170219180207.GA6808@brick>, Edward Tomasz Napierala writes: > On 0219T0819, Cy Schubert wrote: > > In message <201702191608.v1jg8wan068...@repo.freebsd.org>, Edward Tomasz > > Napier > > ala writes: > > > Author: trasz > > > Date: Sun Feb 19 16:08:58 2017 > > > New Revision: 313943 >

svn commit: r313961 - head/share/misc

2017-02-19 Thread Baptiste Daroussin
Author: bapt Date: Sun Feb 19 18:16:47 2017 New Revision: 313961 URL: https://svnweb.freebsd.org/changeset/base/313961 Log: Update pci_vendors to 2017.02.15 MFC after:3 days Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors =

Re: svn commit: r313943 - head/sbin/mdconfig

2017-02-19 Thread Edward Tomasz Napierala
On 0219T0819, Cy Schubert wrote: > In message <201702191608.v1jg8wan068...@repo.freebsd.org>, Edward Tomasz > Napier > ala writes: > > Author: trasz > > Date: Sun Feb 19 16:08:58 2017 > > New Revision: 313943 > > URL: https://svnweb.freebsd.org/changeset/base/313943 > > > > Log: > > Make mdconf

svn commit: r313960 - head/sys/amd64/amd64

2017-02-19 Thread Alan Cox
Author: alc Date: Sun Feb 19 18:00:57 2017 New Revision: 313960 URL: https://svnweb.freebsd.org/changeset/base/313960 Log: In pmap_enter(), set the PG_MANAGED flag on the new PTE in one place, rather two places, and do so before the pmap lock is acquired. Submitted by: Yufeng Zhou Revi

svn commit: r313959 - in head: share/man/man4 sys/conf sys/dev/usb/storage sys/modules/usb sys/modules/usb/cfumass

2017-02-19 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 19 17:47:43 2017 New Revision: 313959 URL: https://svnweb.freebsd.org/changeset/base/313959 Log: Add USB Mass Storage CTL frontend. This makes it possible for USB OTG-capable hardware to implement device side of USB Mass Storage, ie pretend it's a flash drive. I

svn commit: r313958 - head/contrib/mdocml

2017-02-19 Thread Baptiste Daroussin
Author: bapt Date: Sun Feb 19 17:46:37 2017 New Revision: 313958 URL: https://svnweb.freebsd.org/changeset/base/313958 Log: Import mandoc 1.4.1rc2 Added: head/contrib/mdocml/catman.8 - copied unchanged from r313957, vendor/mdocml/dist/catman.8 head/contrib/mdocml/catman.c - copied

svn commit: r313955 - head/usr.bin/grep

2017-02-19 Thread Ed Maste
Author: emaste Date: Sun Feb 19 17:40:24 2017 New Revision: 313955 URL: https://svnweb.freebsd.org/changeset/base/313955 Log: bsdgrep: document ignored option -u MSDOS and Windows GNU grep uses -u to mean "print byte offsets as if running on an UNIX system." The option has no effect on sy

svn commit: r313954 - head/sys/dev/nvme

2017-02-19 Thread Warner Losh
Author: imp Date: Sun Feb 19 17:38:17 2017 New Revision: 313954 URL: https://svnweb.freebsd.org/changeset/base/313954 Log: Remove obsolete comment after prior rev. Modified: head/sys/dev/nvme/nvme_sim.c Modified: head/sys/dev/nvme/nvme_sim.c ==

svn commit: r313953 - in head/contrib/libucl: . include lua src

2017-02-19 Thread Baptiste Daroussin
Author: bapt Date: Sun Feb 19 17:37:16 2017 New Revision: 313953 URL: https://svnweb.freebsd.org/changeset/base/313953 Log: Import libucl 20170219 MFC after:3 days Modified: head/contrib/libucl/ChangeLog.md head/contrib/libucl/README.md head/contrib/libucl/configure.ac head

svn commit: r313949 - in head/sys: cam/scsi dev/advansys dev/aha dev/ahci dev/arcmsr dev/ata dev/buslogic dev/hptmv dev/mvs dev/ncr dev/nvme dev/siis dev/sym dev/trm

2017-02-19 Thread Alexander Motin
Author: mav Date: Sun Feb 19 17:27:58 2017 New Revision: 313949 URL: https://svnweb.freebsd.org/changeset/base/313949 Log: Remove dead mentions of CAM target mode APIs from drivers. This makes grepping kernel for target mode implementation much easier. Modified: head/sys/cam/scsi/scsi_lo

svn commit: r313948 - head/usr.bin/grep

2017-02-19 Thread Ed Maste
Author: emaste Date: Sun Feb 19 17:23:27 2017 New Revision: 313948 URL: https://svnweb.freebsd.org/changeset/base/313948 Log: bsdgrep: fix EOF handling with --mmap Rework part of the loop in grep_fgetln to return the rest of the line and ensure that we still advance the buffer by the leng

svn commit: r313947 - head/sys/compat/linux

2017-02-19 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 19 17:17:06 2017 New Revision: 313947 URL: https://svnweb.freebsd.org/changeset/base/313947 Log: There are some Linux binaries that expect the system to obey the "addr" parameter to mmap(2), even if MAP_FIXED is not explicitly specified. Android ART is one example

svn commit: r313946 - head/sbin/savecore

2017-02-19 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 19 16:59:00 2017 New Revision: 313946 URL: https://svnweb.freebsd.org/changeset/base/313946 Log: Make savecore(8) output nicer by specifying the maximum field width instead of minimum one (precision instead of width). MFC after:2 weeks Sponsored by: DARPA

svn commit: r313945 - head/sys/dev/isp

2017-02-19 Thread Alexander Motin
Author: mav Date: Sun Feb 19 16:40:03 2017 New Revision: 313945 URL: https://svnweb.freebsd.org/changeset/base/313945 Log: Remove broken remnants of obsolete INOT API. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c ===

svn commit: r313944 - head/sys/kern

2017-02-19 Thread Mateusz Guzik
Author: mjg Date: Sun Feb 19 16:28:46 2017 New Revision: 313944 URL: https://svnweb.freebsd.org/changeset/base/313944 Log: locks: make trylock routines check for 'unowned' value Since fcmpset can fail without lock contention e.g. on arm, it was possible to get spurious failures when the c

Re: svn commit: r313943 - head/sbin/mdconfig

2017-02-19 Thread Cy Schubert
In message <201702191608.v1jg8wan068...@repo.freebsd.org>, Edward Tomasz Napier ala writes: > Author: trasz > Date: Sun Feb 19 16:08:58 2017 > New Revision: 313943 > URL: https://svnweb.freebsd.org/changeset/base/313943 > > Log: > Make mdconfig(8) not segfault when the kernel returns garbage da

svn commit: r313943 - head/sbin/mdconfig

2017-02-19 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 19 16:08:58 2017 New Revision: 313943 URL: https://svnweb.freebsd.org/changeset/base/313943 Log: Make mdconfig(8) not segfault when the kernel returns garbage data. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sbin/mdconfig/mdconfig.c Modi

svn commit: r313941 - head/sys/kern

2017-02-19 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 19 13:15:33 2017 New Revision: 313941 URL: https://svnweb.freebsd.org/changeset/base/313941 Log: Make sure the thread constructor and destructor eventhandlers are called for all threads belonging to a procedure. Currently the first thread in a procedure is kept

Re: svn commit: r313928 - head/sys/kern

2017-02-19 Thread Michal Meloun
On 19.02.2017 11:30, Mateusz Guzik wrote: > On Sun, Feb 19, 2017 at 09:30:44AM +0100, Michal Meloun wrote: >> >> On 18.02.2017 23:06, Mateusz Guzik wrote: >>> Author: mjg >>> Date: Sat Feb 18 22:06:03 2017 >>> New Revision: 313928 >>> URL: https://svnweb.freebsd.org/changeset/base/313928 >>> >>>

Re: svn commit: r313928 - head/sys/kern

2017-02-19 Thread Mateusz Guzik
On Sun, Feb 19, 2017 at 09:30:44AM +0100, Michal Meloun wrote: > > > On 18.02.2017 23:06, Mateusz Guzik wrote: > > Author: mjg > > Date: Sat Feb 18 22:06:03 2017 > > New Revision: 313928 > > URL: https://svnweb.freebsd.org/changeset/base/313928 > > > > Log: > > locks: clean up trylock primitiv

Re: svn commit: r313928 - head/sys/kern

2017-02-19 Thread Michal Meloun
On 18.02.2017 23:06, Mateusz Guzik wrote: > Author: mjg > Date: Sat Feb 18 22:06:03 2017 > New Revision: 313928 > URL: https://svnweb.freebsd.org/changeset/base/313928 > > Log: > locks: clean up trylock primitives > > In particular thius reduces accesses of the lock itself. > > Modified: