svn commit: r313328 - in head/sys/boot: common usb/storage zfs

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 08:26:45 2017 New Revision: 313328 URL: https://svnweb.freebsd.org/changeset/base/313328 Log: loader: Implement disk_ioctl() to support DIOCGSECTORSIZE and DIOCGMEDIASIZE. Need interface to extract information about disk abstraction, to read disk or partiti

svn commit: r313329 - in head: bin/ed secure/usr.bin secure/usr.bin/bdes usr.bin usr.bin/enigma

2017-02-06 Thread Allan Jude
Author: allanjude Date: Mon Feb 6 08:27:19 2017 New Revision: 313329 URL: https://svnweb.freebsd.org/changeset/base/313329 Log: Remove bdes(1) The use of DES for anything is discouraged, especially with a static IV of 0 If you still need bdes(1) to decrypt Kirk's video lectures, see

Re: svn commit: r313329 - in head: bin/ed secure/usr.bin secure/usr.bin/bdes usr.bin usr.bin/enigma

2017-02-06 Thread Xin Li
On 2/6/17 00:27, Allan Jude wrote: > Author: allanjude > Date: Mon Feb 6 08:27:19 2017 > New Revision: 313329 > URL: https://svnweb.freebsd.org/changeset/base/313329 > > Log: > Remove bdes(1) > > The use of DES for anything is discouraged, especially with a static IV of 0 > > If you

svn commit: r313330 - in head: contrib/netcat lib/libipsec sbin/ifconfig sbin/setkey share/man/man4 sys/conf sys/modules sys/modules/ipsec sys/modules/tcp/tcpmd5 sys/net sys/netinet sys/netinet/tcp...

2017-02-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 6 08:49:57 2017 New Revision: 313330 URL: https://svnweb.freebsd.org/changeset/base/313330 Log: Merge projects/ipsec into head/. Small summary - o Almost all IPsec releated code was moved into sys/netipsec. o New kernel modules added: ipsec.k

svn commit: r313331 - head

2017-02-06 Thread Andrey V. Elsukov
== --- head/ObsoleteFiles.inc Mon Feb 6 08:49:57 2017(r313330) +++ head/ObsoleteFiles.inc Mon Feb 6 08:56:04 2017(r313331) @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20170206: merged projects/ipsec +OLD_FILES+=usr/include/netinet

svn commit: r313332 - head/sys/boot/common

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 08:58:40 2017 New Revision: 313332 URL: https://svnweb.freebsd.org/changeset/base/313332 Log: loader: bcache read ahead block count should take account the large sectors The loader bcache is implementing simple read-ahead to boost the cache. The bcache is b

Re: svn commit: r313329 - in head: bin/ed secure/usr.bin secure/usr.bin/bdes usr.bin usr.bin/enigma

2017-02-06 Thread Allan Jude
On 02/06/17 03:36 AM, Xin Li wrote: > > > On 2/6/17 00:27, Allan Jude wrote: >> Author: allanjude >> Date: Mon Feb 6 08:27:19 2017 >> New Revision: 313329 >> URL: https://svnweb.freebsd.org/changeset/base/313329 >> >> Log: >> Remove bdes(1) >> >> The use of DES for anything is discouraged

svn commit: r313333 - in head: lib/libstand sys/boot/efi/include sys/boot/efi/libefi sys/boot/efi/loader sys/boot/zfs

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 09:18:47 2017 New Revision: 31 URL: https://svnweb.freebsd.org/changeset/base/31 Log: loader: Replace EFI part devices. Rewrite EFI part device interface to present disk devices in more user friendly way. We keep list of three types of devices:

svn commit: r313335 - head/sys/kern

2017-02-06 Thread Mateusz Guzik
Author: mjg Date: Mon Feb 6 09:40:14 2017 New Revision: 313335 URL: https://svnweb.freebsd.org/changeset/base/313335 Log: locks: fix recursion support after recent changes When a relevant lockstat probe is enabled the fallback primitive is called with a constant signifying a free lock.

Re: svn commit: r313318 - in head: share/man/man4 sys/dev/cxgbe

2017-02-06 Thread Slawa Olhovchenkov
On Mon, Feb 06, 2017 at 05:19:30AM +, Navdeep Parhar wrote: > Author: np > Date: Mon Feb 6 05:19:29 2017 > New Revision: 313318 > URL: https://svnweb.freebsd.org/changeset/base/313318 > > Log: > cxgbe(4): Allow tunables that control the number of queues to be set to > '-n' to tell the d

svn commit: r313336 - head

2017-02-06 Thread Allan Jude
(r313336) @@ -38,6 +38,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20170206: remove bdes(1) +OLD_FILES+=usr/bin/bdes +OLD_FILES+=usr/lib/debug/usr/bin/bdes.debug +OLD_FILES+=usr/share/man/man1/bdes.1.gz # 20170206: merged projects/ipsec OLD_FILES+=usr/include/netinet/ip_ipsec.h OLD_FILES+=usr

svn commit: r313337 - head/sys/boot/efi/loader

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 10:57:54 2017 New Revision: 313337 URL: https://svnweb.freebsd.org/changeset/base/313337 Log: loader: 313329 missed ZFS guard in loader/main.c Missing guard added. Reviewed by: imp, allanjude Approved by: imp (mentor), allanjude (mentor) Differenti

svn commit: r313338 - head/sys/dev/gxemul/disk

2017-02-06 Thread Sean Bruno
Author: sbruno Date: Mon Feb 6 11:37:20 2017 New Revision: 313338 URL: https://svnweb.freebsd.org/changeset/base/313338 Log: gxemul: Add a format string to call to g_new_providerf() found when compiling mips64 target with clang. Reviewed by: brooks Modified: head/sys/dev/gxemul/

svn commit: r313339 - head/sys/kern

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 13:08:48 2017 New Revision: 313339 URL: https://svnweb.freebsd.org/changeset/base/313339 Log: Only allow the pic type to be either a PIC or MSI type. All interrupt controller drivers handle either MSI/MSI-X interrupts, or regular interrupts, as such enforce th

Re: svn commit: r313337 - head/sys/boot/efi/loader

2017-02-06 Thread Cy Schubert
In message <201702061057.v16avs9m018...@repo.freebsd.org>, Toomas Soome writes: > Author: tsoome > Date: Mon Feb 6 10:57:54 2017 > New Revision: 313337 > URL: https://svnweb.freebsd.org/changeset/base/313337 > > Log: > loader: 313329 missed ZFS guard in loader/main.c Did you mean r313328? -

Re: svn commit: r313337 - head/sys/boot/efi/loader

2017-02-06 Thread Toomas Soome
> On 6. veebr 2017, at 15:53, Cy Schubert wrote: > > In message <201702061057.v16avs9m018...@repo.freebsd.org>, Toomas Soome > writes: >> Author: tsoome >> Date: Mon Feb 6 10:57:54 2017 >> New Revision: 313337 >> URL: https://svnweb.freebsd.org/changeset/base/313337 >> >> Log: >> loader: 313

svn commit: r313341 - head/sys/mips/include

2017-02-06 Thread Alexander Kabaev
Author: kan Date: Mon Feb 6 14:00:28 2017 New Revision: 313341 URL: https://svnweb.freebsd.org/changeset/base/313341 Log: Use 64bit store instruction in atomic_fcmpset_64. Reported by: br Modified: head/sys/mips/include/atomic.h Modified: head/sys/mips/include/atomic.h

Re: svn commit: r313337 - head/sys/boot/efi/loader

2017-02-06 Thread Toomas Soome
> On 6. veebr 2017, at 15:58, Toomas Soome wrote: > > >> On 6. veebr 2017, at 15:53, Cy Schubert wrote: >> >> In message <201702061057.v16avs9m018...@repo.freebsd.org>, Toomas Soome >> writes: >>> Author: tsoome >>> Date: Mon Feb 6 10:57:54 2017 >>> New Revision: 313337 >>> URL: https://svn

Re: svn commit: r313330 - in head: contrib/netcat lib/libipsec sbin/ifconfig sbin/setkey share/man/man4 sys/conf sys/modules sys/modules/ipsec sys/modules/tcp/tcpmd5 sys/net sys/netinet sys/netinet/tc

2017-02-06 Thread Dmitry Morozovsky
On Mon, 6 Feb 2017, Andrey V. Elsukov wrote: > Author: ae > Date: Mon Feb 6 08:49:57 2017 > New Revision: 313330 > URL: https://svnweb.freebsd.org/changeset/base/313330 > > Log: > Merge projects/ipsec into head/. [snip] Great, thanks! Have you any plans to merge this into stable/11 to reduc

svn commit: r313342 - head/sys/conf

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 14:41:34 2017 New Revision: 313342 URL: https://svnweb.freebsd.org/changeset/base/313342 Log: Only build the ACPI PCI drivers on x86, they are unlikely to be used on arm64 without dignificant changes. Obtained from:ABT Systems Ltd Sponsored by: Th

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

2017-02-06 Thread Stanislav Galabov
Author: sgalabov Date: Mon Feb 6 14:58:24 2017 New Revision: 313343 URL: https://svnweb.freebsd.org/changeset/base/313343 Log: sys/arm/arm/identcpu-v4.c: fix identify_arm_cpu() identify_arm_cpu() in sys/arm/arm/identcpu-v4.c incorrectly uses a u_int8_t variable to store the result of cpu

Re: svn commit: r313329 - in head: bin/ed secure/usr.bin secure/usr.bin/bdes usr.bin usr.bin/enigma

2017-02-06 Thread Ed Schouten
Hi Allan, 2017-02-06 9:27 GMT+01:00 Allan Jude : > The use of DES for anything is discouraged, especially with a static IV of 0 Not entirely related to this, but still... Do we want to go ahead and also remove DES support from crypt(3)? Compared to the other crypt formats, the DES implementati

svn commit: r313344 - head/sys/conf

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 15:24:52 2017 New Revision: 313344 URL: https://svnweb.freebsd.org/changeset/base/313344 Log: Temporary disable gicv3_its.c when FDT is missing from the kernel until INTRNG supports ACPI. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Fou

Re: svn commit: r313329 - in head: bin/ed secure/usr.bin secure/usr.bin/bdes usr.bin usr.bin/enigma

2017-02-06 Thread Allan Jude
On 02/06/17 10:18 AM, Ed Schouten wrote: > Hi Allan, > > 2017-02-06 9:27 GMT+01:00 Allan Jude : >> The use of DES for anything is discouraged, especially with a static IV of >> 0 > > Not entirely related to this, but still... > > Do we want to go ahead and also remove DES support from crypt(3)

svn commit: r313345 - in head/sys: arm/include arm64/include

2017-02-06 Thread Konstantin Belousov
Author: kib Date: Mon Feb 6 17:20:37 2017 New Revision: 313345 URL: https://svnweb.freebsd.org/changeset/base/313345 Log: Update arm and arm64 counters MD bits. On arm64 use atomics. Then, both arm and arm64 do not need a critical section around update. Replace all cpus loop by CPU_FOR

svn commit: r313346 - head/sys/dev/cxgbe/tom

2017-02-06 Thread Navdeep Parhar
Author: np Date: Mon Feb 6 17:48:25 2017 New Revision: 313346 URL: https://svnweb.freebsd.org/changeset/base/313346 Log: cxgbe/t4_tom: Fix CLIP entry refcounting on the passive side. Every IPv6 connection being handled by the TOE should have a reference on its CLIP entry. Sponsored by

svn commit: r313347 - in head/sys/arm64: arm64 include

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 17:50:09 2017 New Revision: 313347 URL: https://svnweb.freebsd.org/changeset/base/313347 Log: Remove arm64_tlb_flushID_SE, it's unused and may be wrong. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/cpufunc_asm.S head/sys/arm64/include/cpu

Re: svn commit: r313318 - in head: share/man/man4 sys/dev/cxgbe

2017-02-06 Thread Navdeep Parhar
On Mon, Feb 6, 2017 at 1:47 AM, Slawa Olhovchenkov wrote: > On Mon, Feb 06, 2017 at 05:19:30AM +, Navdeep Parhar wrote: > >> Author: np >> Date: Mon Feb 6 05:19:29 2017 >> New Revision: 313318 >> URL: https://svnweb.freebsd.org/changeset/base/313318 >> >> Log: >> cxgbe(4): Allow tunables t

svn commit: r313348 - head/sys/boot/i386/libi386

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 18:29:43 2017 New Revision: 313348 URL: https://svnweb.freebsd.org/changeset/base/313348 Log: loader: biosdisk fix for 2+TB disks This fix is implementing partition based boundary check for disk IO and updates disk mediasize (if needed), based on informatio

svn commit: r313349 - in head/sys/boot/i386: btx/lib libi386

2017-02-06 Thread Toomas Soome
Author: tsoome Date: Mon Feb 6 18:44:15 2017 New Revision: 313349 URL: https://svnweb.freebsd.org/changeset/base/313349 Log: loader: disk io should not use alloca() The alloca() does give us pointer and we have no practical way to check if the area is actually available, resulting in cor

Re: svn commit: r313037 - in head/sys: amd64/include kern mips/include net powerpc/include sparc64/include

2017-02-06 Thread Kurt Lidl
On 2/5/17 1:59 PM, Jason Harmening wrote: Actually attaching the patch this time ( gmail client) On Sun, Feb 5, 2017 at 10:58 AM, Jason Harmening mailto:jason.harmen...@gmail.com>> wrote: Hmm, it's a good idea to consider the possibility of a barrier issue. It wouldn't be the first

Re: svn commit: r313342 - head/sys/conf

2017-02-06 Thread John Baldwin
On Monday, February 06, 2017 02:41:34 PM Andrew Turner wrote: > Author: andrew > Date: Mon Feb 6 14:41:34 2017 > New Revision: 313342 > URL: https://svnweb.freebsd.org/changeset/base/313342 > > Log: > Only build the ACPI PCI drivers on x86, they are unlikely to be used on > arm64 without dign

Re: svn commit: r312910 - in head: . etc/etc.pc98 etc/rc.d lib/libsysdecode libexec release release/doc release/doc/en_US.ISO8859-1/hardware release/doc/en_US.ISO8859-1/readme release/doc/share/exampl

2017-02-06 Thread John Baldwin
On Sunday, February 05, 2017 10:11:44 PM TAKAHASHI Yoshihiro wrote: > I have decided to remove pc98 support on stable/11 as well > after 2 weeks to reduce conflicts between head and stable/11. That seems like it might be a bit invasive to do on a stable branch? In the past when we've retired archi

svn commit: r313350 - head/sys/kern

2017-02-06 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 6 20:36:59 2017 New Revision: 313350 URL: https://svnweb.freebsd.org/changeset/base/313350 Log: In r290196 the root mount hold mechanism was changed to make it not wait for mount hold release if the root device already exists. So, unless your rootdev is not on U

svn commit: r313351 - head/sys/kern

2017-02-06 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 6 20:44:34 2017 New Revision: 313351 URL: https://svnweb.freebsd.org/changeset/base/313351 Log: Make root_mount_hold() work after boot. This is important for two reasons. First is rerooting into USB-mounted device that happens to be not yet enumerated. The second

svn commit: r313352 - in head/sys: compat/cloudabi compat/freebsd32 compat/linux vm

2017-02-06 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 6 20:57:12 2017 New Revision: 313352 URL: https://svnweb.freebsd.org/changeset/base/313352 Log: Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), kern_vm_munmap(), and kern_vm_madvise(), and use them in various compats instead of their

svn commit: r313354 - head/sys/conf

2017-02-06 Thread Adrian Chadd
Author: adrian Date: Mon Feb 6 21:02:26 2017 New Revision: 313354 URL: https://svnweb.freebsd.org/changeset/base/313354 Log: [iwm] fix path. Modified: head/sys/conf/files Modified: head/sys/conf/files == --- head/sy

Re: svn commit: r313322 - in head/sys: conf dev/iwm modules/iwm

2017-02-06 Thread Adrian Chadd
Fixed, thanks. -adrian On 5 February 2017 at 23:56, Ed Schouten wrote: > Hi Adrian, > > 2017-02-06 6:27 GMT+01:00 Adrian Chadd : >> Modified: head/sys/conf/files >> == >> --- head/sys/conf/files Mon Feb 6 05:27:05 20

Re: svn commit: r313352 - in head/sys: compat/cloudabi compat/freebsd32 compat/linux vm

2017-02-06 Thread John Baldwin
On Monday, February 06, 2017 08:57:12 PM Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Feb 6 20:57:12 2017 > New Revision: 313352 > URL: https://svnweb.freebsd.org/changeset/base/313352 > > Log: > Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), > kern

svn commit: r313356 - in head: sys/netpfil/ipfw usr.sbin/syslogd

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 00:09:48 2017 New Revision: 313356 URL: https://svnweb.freebsd.org/changeset/base/313356 Log: Fix typos in comments (returing -> returning) MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/sys/netpfil/ipfw/dn_heap.h head/usr.sbin/syslogd

svn commit: r313357 - head/usr.sbin/syslogd

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 00:42:55 2017 New Revision: 313357 URL: https://svnweb.freebsd.org/changeset/base/313357 Log: Use a flexible array for TypeNames instead of hardcoding the array length MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/syslogd/syslo

svn commit: r313358 - head/usr.sbin/syslogd

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 00:47:33 2017 New Revision: 313358 URL: https://svnweb.freebsd.org/changeset/base/313358 Log: Sort sys/ #includes and zap an unnecessary trailing space nearby MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/syslogd/syslogd.c Mod

Re: svn commit: r313330 - in head: contrib/netcat lib/libipsec sbin/ifconfig sbin/setkey share/man/man4 sys/conf sys/modules sys/modules/ipsec sys/modules/tcp/tcpmd5 sys/net sys/netinet sys/netinet/tc

2017-02-06 Thread Andrey V. Elsukov
On 06.02.2017 17:31, Dmitry Morozovsky wrote: Date: Mon Feb 6 08:49:57 2017 New Revision: 313330 URL: https://svnweb.freebsd.org/changeset/base/313330 Log: Merge projects/ipsec into head/. [snip] Great, thanks! Have you any plans to merge this into stable/11 to reduce diffs in network sta

svn commit: r313359 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2017-02-06 Thread George V. Neville-Neil
Author: gnn Date: Tue Feb 7 01:21:18 2017 New Revision: 313359 URL: https://svnweb.freebsd.org/changeset/base/313359 Log: Fix the ifdef protection and remove superfluous extern statements Reported by: Konstantin Belousov MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: hea

svn commit: r313360 - head/usr.sbin/syslogd

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 01:28:55 2017 New Revision: 313360 URL: https://svnweb.freebsd.org/changeset/base/313360 Log: Sort sys/ #includes some more MFC after:1 week X-MFC with: r313358 Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/syslogd/syslogd.c Modified: head

svn commit: r313373 - head/sys/dev/ath

2017-02-06 Thread Adrian Chadd
Author: adrian Date: Tue Feb 7 02:21:34 2017 New Revision: 313373 URL: https://svnweb.freebsd.org/changeset/base/313373 Log: [ath] prepare for station side quiet time support. * Track the current quiet time configuration in the ath_vap struct. * Add an accessor method for calling the qui

svn commit: r313374 - head/lib/libc/stdlib

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 02:32:49 2017 New Revision: 313374 URL: https://svnweb.freebsd.org/changeset/base/313374 Log: hcreate(3): fix the ERRORS section and bump .Dd - Add missing comma between functions that trigger ENOMEM error. - Fix the description for ESRCH. The action that tri

svn commit: r313376 - head/lib/libc/tests/stdio

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 03:46:48 2017 New Revision: 313376 URL: https://svnweb.freebsd.org/changeset/base/313376 Log: Fix :hexadecimal_floating_point on i386 Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in that case. While here, replace strcmp + atf_tc_fail wi

svn commit: r313377 - head/contrib/netbsd-tests/lib/libc/gen

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 04:15:41 2017 New Revision: 313377 URL: https://svnweb.freebsd.org/changeset/base/313377 Log: Expect :floatunditf to fail on FreeBSD/i386 The precision error on FreeBSD/i386 doesn't match the expected output in long double form. MFC after:1 week Sp

svn commit: r313378 - head/lib/libc/tests/stdio

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 04:25:21 2017 New Revision: 313378 URL: https://svnweb.freebsd.org/changeset/base/313378 Log: Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use The reasoning here was the same as what was done in r313376: - Gather as many results as possibl

svn commit: r313379 - head/lib/libc/tests/stdio

2017-02-06 Thread Ngie Cooper
Author: ngie Date: Tue Feb 7 05:39:00 2017 New Revision: 313379 URL: https://svnweb.freebsd.org/changeset/base/313379 Log: Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base type The %t{d,u} (ptrdiff_t) tests fail for the following reasons: - ptrdiff_t is by defini

Re: svn commit: r313379 - head/lib/libc/tests/stdio

2017-02-06 Thread Ngie Cooper (yaneurabeya)
> On Feb 6, 2017, at 21:39, Ngie Cooper wrote: > > Author: ngie > Date: Tue Feb 7 05:39:00 2017 > New Revision: 313379 > URL: https://svnweb.freebsd.org/changeset/base/313379 > > Log: > Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base > type > > The %t{d,u} (ptrdif