svn commit: r322358 - head/release/packages

2017-08-10 Thread Glen Barber
Author: gjb Date: Thu Aug 10 13:32:04 2017 New Revision: 322358 URL: https://svnweb.freebsd.org/changeset/base/322358 Log: Further revise r322327 and r322352 in release/packages/kernel.ucl. Use PPID and PID to kill off the pre-install and parent pkg(8) processes unless 'Y' or 'y' are

svn commit: r322362 - head

2017-08-10 Thread Glen Barber
Author: gjb Date: Thu Aug 10 14:18:58 2017 New Revision: 322362 URL: https://svnweb.freebsd.org/changeset/base/322362 Log: Indent nested conditionals for readability. Sponsored by: The FreeBSD Foundation Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r322361 - in head: lib/csu/riscv lib/libc/riscv/gen libexec/rtld-elf/riscv share/mk sys/boot/fdt/dts/riscv sys/conf sys/riscv/conf sys/riscv/include sys/riscv/riscv

2017-08-10 Thread Ruslan Bukin
Author: br Date: Thu Aug 10 14:18:09 2017 New Revision: 322361 URL: https://svnweb.freebsd.org/changeset/base/322361 Log: Support for v1.10 (latest) of RISC-V privilege specification. New version is not compatible on supervisor mode with v1.9.1 (previous version). Highlights:

svn commit: r322364 - in head/sys/dev: mpr mps

2017-08-10 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 10 14:59:17 2017 New Revision: 322364 URL: https://svnweb.freebsd.org/changeset/base/322364 Log: Changes to make mps(4) and mpr(4) handle reinit with reallocation. When the mps(4) and mpr(4) drivers need to reinitialize the firmware, they sometimes need to

svn commit: r322365 - head/usr.bin/calendar/calendars

2017-08-10 Thread Ruey-Cherng Yu
Author: rcyu (doc committer) Date: Thu Aug 10 15:31:45 2017 New Revision: 322365 URL: https://svnweb.freebsd.org/changeset/base/322365 Log: Add myself. Reported by: mckusick Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322368 - head/lib/libc/gen

2017-08-10 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 10 15:42:25 2017 New Revision: 322368 URL: https://svnweb.freebsd.org/changeset/base/322368 Log: fnmatch(3): improve POSIX conformance. In a recent interpretation[1], "\\" shall return a non-zero value (indicating either no match or an error). The fix

svn commit: r322348 - in head/sys/x86: acpica include x86

2017-08-10 Thread Roger Pau Monné
Author: royger Date: Thu Aug 10 09:16:03 2017 New Revision: 322348 URL: https://svnweb.freebsd.org/changeset/base/322348 Log: x86: make the arrays that depend on MAX_APIC_ID dynamic So that MAX_APIC_ID can be bumped without wasting memory. Note that the usage of MAX_APIC_ID in the

Re: svn commit: r322318 - in head: share/man/man4 sys/conf sys/geom

2017-08-10 Thread Bruce Evans
On Wed, 9 Aug 2017, Warner Losh wrote: Log: Mark geom classes as deprecated. geom_bsd, geom_mbr and geom_sunlabel have been obsolete since Marcel Moolenaar's geom_part was in FreeBSD 7. They haven't been in GENERIC since FreeBSD 8. Add warning when used. geom_vol_ffs has been obsolete

svn commit: r322349 - in head/sys/x86: acpica include x86

2017-08-10 Thread Roger Pau Monné
Author: royger Date: Thu Aug 10 09:16:40 2017 New Revision: 322349 URL: https://svnweb.freebsd.org/changeset/base/322349 Log: x86: bump MAX_APIC_ID to 512 Introduce a new define to take int account the xAPIC ID limit, for systems where x2APIC is not available/reliable. Also change

svn commit: r322350 - head/usr.bin/calendar/calendars

2017-08-10 Thread Roger Pau Monné
Author: royger Date: Thu Aug 10 09:17:16 2017 New Revision: 322350 URL: https://svnweb.freebsd.org/changeset/base/322350 Log: calendars: add myself to the FreeBSD calendar Reported by: mckusick Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322347 - in head/sys/x86: acpica include x86 xen

2017-08-10 Thread Roger Pau Monné
Author: royger Date: Thu Aug 10 09:15:18 2017 New Revision: 322347 URL: https://svnweb.freebsd.org/changeset/base/322347 Log: apic_enumerator: only set mp_ncpus and mp_maxid at probe cpus phase Populate the lapics arrays and call cpu_add/lapic_create in the setup phase instead. Also

svn commit: r322363 - head/sys/dev/e1000

2017-08-10 Thread Sean Bruno
Author: sbruno Date: Thu Aug 10 14:54:36 2017 New Revision: 322363 URL: https://svnweb.freebsd.org/changeset/base/322363 Log: Purge deprecated locking macros. Submitted by: Matt Macy Sponsored by: Limelight Networks Modified: head/sys/dev/e1000/if_em.h Modified:

svn commit: r322369 - head/lib/libutil

2017-08-10 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Aug 10 16:45:05 2017 New Revision: 322369 URL: https://svnweb.freebsd.org/changeset/base/322369 Log: Store directory descriptor in the pidfh structure and use unlinkat(2) function instead of unlink(2). Now when pidfile_remove() uses unlinkat(2) to remove the

svn commit: r322372 - in head/sys/x86: acpica x86

2017-08-10 Thread Roger Pau Monné
Author: royger Date: Thu Aug 10 17:46:57 2017 New Revision: 322372 URL: https://svnweb.freebsd.org/changeset/base/322372 Log: mptable: fix i386 build failure Reported by: emaste X-MFC-with: r322347 Modified: head/sys/x86/acpica/madt.c head/sys/x86/x86/mptable.c Modified:

svn commit: r322371 - head/lib/libc/tests/gen

2017-08-10 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 10 17:03:46 2017 New Revision: 322371 URL: https://svnweb.freebsd.org/changeset/base/322371 Log: fnmatch(3): Update testcase for r322368. Modified: head/lib/libc/tests/gen/fnmatch_testcases.h Modified: head/lib/libc/tests/gen/fnmatch_testcases.h

svn commit: r322370 - head/lib/libutil

2017-08-10 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Aug 10 16:50:13 2017 New Revision: 322370 URL: https://svnweb.freebsd.org/changeset/base/322370 Log: Limit descriptors stored in the pidfh structure. Reviewed by: markj, cem Differential Revision:https://reviews.freebsd.org/D11741 Modified:

svn commit: r322374 - head/usr.sbin/bsdinstall/scripts

2017-08-10 Thread Ed Maste
Author: emaste Date: Thu Aug 10 20:26:07 2017 New Revision: 322374 URL: https://svnweb.freebsd.org/changeset/base/322374 Log: bsdinstall: record DHCP config after obtaining lease Previously we added an ifconfig_$INTERFACE line to rc.conf for each unsuccessful DCHP attempt. PR:

svn commit: r322380 - in head/contrib/subversion: . subversion/include subversion/libsvn_client subversion/libsvn_fs_fs subversion/libsvn_fs_x subversion/libsvn_ra_svn subversion/libsvn_repos subve...

2017-08-10 Thread Peter Wemm
Author: peter Date: Thu Aug 10 22:03:26 2017 New Revision: 322380 URL: https://svnweb.freebsd.org/changeset/base/322380 Log: Update subversion 1.9.5 -> 1.9.7 This includes a client-side fix for CVE-2017-9800. Modified: head/contrib/subversion/CHANGES head/contrib/subversion/NOTICE

svn commit: r322383 - head/sys/vm

2017-08-10 Thread Mark Johnston
Author: markj Date: Thu Aug 10 22:43:38 2017 New Revision: 322383 URL: https://svnweb.freebsd.org/changeset/base/322383 Log: Make vm_page_sunbusy() assert that the page is unlocked. Reviewed by: kib MFC after:1 week Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r322386 - in head/contrib/sqlite3: . tea tea/generic

2017-08-10 Thread Peter Wemm
Author: peter Date: Fri Aug 11 00:00:01 2017 New Revision: 322386 URL: https://svnweb.freebsd.org/changeset/base/322386 Log: Update from sqlite3-3.14.1 to sqlite3-3.20.0. This is a private lib. This fixes a possible client-side crash when parsing corrupt databases. Modified:

Re: svn commit: r322347 - in head/sys/x86: acpica include x86 xen

2017-08-10 Thread Ed Maste
On 10 August 2017 at 05:15, Roger Pau Monné wrote: > Author: royger > Date: Thu Aug 10 09:15:18 2017 > New Revision: 322347 > URL: https://svnweb.freebsd.org/changeset/base/322347 > > Log: > apic_enumerator: only set mp_ncpus and mp_maxid at probe cpus phase i386 is failing

svn commit: r322359 - head/sys/dev/ofw

2017-08-10 Thread Marcin Wojtas
Author: mw Date: Thu Aug 10 13:45:56 2017 New Revision: 322359 URL: https://svnweb.freebsd.org/changeset/base/322359 Log: Enable OF_setprop API function to add property in FDT This patch modifies function ofw_fdt_setprop (called by OF_setprop), so that it can add property, when replacing

svn commit: r322360 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2017-08-10 Thread Ed Maste
Author: emaste Date: Thu Aug 10 13:51:04 2017 New Revision: 322360 URL: https://svnweb.freebsd.org/changeset/base/322360 Log: lldb: Report inferior signals as signals, not exceptions, on FreeBSD This is the FreeBSD equivalent of LLVM r238549. This serves 2 purposes: * LLDB should

svn commit: r322351 - head/usr.sbin/acpi/acpidump

2017-08-10 Thread Alexander Motin
Author: mav Date: Thu Aug 10 10:59:05 2017 New Revision: 322351 URL: https://svnweb.freebsd.org/changeset/base/322351 Log: Add two NFIT fields missed in r321298. MFC after:2 weeks Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c

Re: svn commit: r322347 - in head/sys/x86: acpica include x86 xen

2017-08-10 Thread Roger Pau Monné
On Thu, Aug 10, 2017 at 10:20:59AM -0400, Ed Maste wrote: > On 10 August 2017 at 05:15, Roger Pau Monné wrote: > > Author: royger > > Date: Thu Aug 10 09:15:18 2017 > > New Revision: 322347 > > URL: https://svnweb.freebsd.org/changeset/base/322347 > > > > Log: > >

svn commit: r322391 - head/sys/vm

2017-08-10 Thread Mark Johnston
Author: markj Date: Fri Aug 11 03:09:11 2017 New Revision: 322391 URL: https://svnweb.freebsd.org/changeset/base/322391 Log: Micro-optimize kmem_unback(). We can remove some unnecessary object radix tree lookups by using the object memq to iterate over pages in the specified range. This

Re: svn commit: r322380 - in head/contrib/subversion: . subversion/include subversion/libsvn_client subversion/libsvn_fs_fs subversion/libsvn_fs_x subversion/libsvn_ra_svn subversion/libsvn_repos s

2017-08-10 Thread Cy Schubert
In message <201708102203.v7am3qj7022...@repo.freebsd.org>, Peter Wemm writes: > Author: peter > Date: Thu Aug 10 22:03:26 2017 > New Revision: 322380 > URL: https://svnweb.freebsd.org/changeset/base/322380 > > Log: > Update subversion 1.9.5 -> 1.9.7 Cool. Thanks. I'll submit a PR or phab

svn commit: r322392 - in head/sys/compat/linuxkpi/common: include/linux src

2017-08-10 Thread Mark Johnston
Author: markj Date: Fri Aug 11 03:59:48 2017 New Revision: 322392 URL: https://svnweb.freebsd.org/changeset/base/322392 Log: Add a specialized function for DRM drivers to register themselves. Such drivers attach to a vgapci bus rather than directly to a pci bus. For the rest of the

svn commit: r322373 - head/sys/arm/ti/am335x

2017-08-10 Thread Ian Lepore
Author: ian Date: Thu Aug 10 19:42:30 2017 New Revision: 322373 URL: https://svnweb.freebsd.org/changeset/base/322373 Log: Ensure the clocks driver is attached before any drivers that need to enable clocks in their attach(). Modified: head/sys/arm/ti/am335x/am335x_prcm.c Modified:

svn commit: r322352 - head/release/packages

2017-08-10 Thread Glen Barber
Author: gjb Date: Thu Aug 10 12:30:34 2017 New Revision: 322352 URL: https://svnweb.freebsd.org/changeset/base/322352 Log: Revise part of r322327 in release/packages/kernel.ucl. It appears I misunderstand process forking and signal handling in how the pre-/post-install scripts are

svn commit: r322353 - head/usr.bin/calendar/calendars

2017-08-10 Thread Oleg Bulyzhin
Author: oleg Date: Thu Aug 10 12:31:55 2017 New Revision: 322353 URL: https://svnweb.freebsd.org/changeset/base/322353 Log: Add myself. Reported by: mckusick Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd

svn commit: r322354 - head/sys/compat/linuxkpi/common/src

2017-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 10 12:51:04 2017 New Revision: 322354 URL: https://svnweb.freebsd.org/changeset/base/322354 Log: Make sure the linux_wait_event_common() function in the LinuxKPI properly handles a timeout value of MAX_SCHEDULE_TIMEOUT which basically means there is no

svn commit: r322355 - head/sys/compat/linuxkpi/common/include/linux

2017-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 10 13:00:10 2017 New Revision: 322355 URL: https://svnweb.freebsd.org/changeset/base/322355 Log: Fixes for wait event in the LinuxKPI. These are regression issues after r319757. 1) Correct the return value from __wait_event_common() from 1 to 0 in case

svn commit: r322356 - head/share/mk

2017-08-10 Thread Ed Maste
Author: emaste Date: Thu Aug 10 13:01:19 2017 New Revision: 322356 URL: https://svnweb.freebsd.org/changeset/base/322356 Log: Mark PROFILE option as broken when targetting mips64 The assembly in sys/mips/include/profile.h will only work for o32 ABI. Submitted by: Alexander Richardson

svn commit: r322357 - in head/sys/compat/linuxkpi/common: include/linux src

2017-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 10 13:05:40 2017 New Revision: 322357 URL: https://svnweb.freebsd.org/changeset/base/322357 Log: Use integer type to pass around jiffies and/or ticks values in the LinuxKPI because in FreeBSD ticks are 32-bit. MFC after:1 week Sponsored by: Mellanox