Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-03 Thread Colin Percival
On 06/03/17 21:39, Rodney W. Grimes wrote: > Are we going to end up with /etc/rc.conf.d? We've had this for over 15 years -- ever since NetBSD rc.d system was imported. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-03 Thread Rodney W. Grimes
> On Friday, May 19, 2017 09:17:23 AM John Baldwin wrote: > > On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote: > > > On Thu, May 18, 2017 at 09:48:25AM -0700, John Baldwin wrote: > > > > On Thursday, May 18, 2017 03:09:32 PM Baptiste Daroussin wrote: > > > > > On Thu, May 18, 2017

svn commit: r319562 - head/usr.bin/factor

2017-06-03 Thread Colin Percival
Author: cperciva Date: Sun Jun 4 02:45:18 2017 New Revision: 319562 URL: https://svnweb.freebsd.org/changeset/base/319562 Log: Delete obsolete paragraph; primes(6) is now able to list primes for the full range up to 2^64 - 1. MFC after:1 week Modified:

svn commit: r319561 - head/usr.bin/primes

2017-06-03 Thread Colin Percival
Author: cperciva Date: Sun Jun 4 02:36:37 2017 New Revision: 319561 URL: https://svnweb.freebsd.org/changeset/base/319561 Log: Using results from J. Sorenson and J. Webster, Strong pseudoprimes to twelve prime bases, Math. Comp. 86(304):985-1003, 2017. teach primes(6) to

Re: svn commit: r319557 - head/sys/fs/ext2fs

2017-06-03 Thread Ngie Cooper (yaneurabeya)
> On Jun 3, 2017, at 18:16, Pedro Giffuni wrote: > > > On 03/06/2017 17:54, Ngie Cooper (yaneurabeya) wrote: >>> On Jun 3, 2017, at 15:30, Conrad Meyer wrote: >>> >>> Author: cem >>> Date: Sat Jun 3 22:30:30 2017 >>> New Revision: 319557 >>> URL:

Re: svn commit: r319557 - head/sys/fs/ext2fs

2017-06-03 Thread Pedro Giffuni
On 03/06/2017 17:54, Ngie Cooper (yaneurabeya) wrote: On Jun 3, 2017, at 15:30, Conrad Meyer wrote: Author: cem Date: Sat Jun 3 22:30:30 2017 New Revision: 319557 URL: https://svnweb.freebsd.org/changeset/base/319557 Log: ext2fs(4): Fix a number of broken flag checks

svn commit: r319559 - head

2017-06-03 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 3 23:13:46 2017 New Revision: 319559 URL: https://svnweb.freebsd.org/changeset/base/319559 Log: native-xtools: Connect makewhatis. This speeds up some port staging, namely perl. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r319557 - head/sys/fs/ext2fs

2017-06-03 Thread Ngie Cooper (yaneurabeya)
> On Jun 3, 2017, at 15:30, Conrad Meyer wrote: > > Author: cem > Date: Sat Jun 3 22:30:30 2017 > New Revision: 319557 > URL: https://svnweb.freebsd.org/changeset/base/319557 > > Log: > ext2fs(4): Fix a number of broken flag checks > > Introduced in r319071. > >

svn commit: r319558 - head/sys/fs/ext2fs

2017-06-03 Thread Conrad Meyer
Author: cem Date: Sat Jun 3 22:39:50 2017 New Revision: 319558 URL: https://svnweb.freebsd.org/changeset/base/319558 Log: ext2fs(4): Fix a null dererence and clean an unclear switch Coverity warned that the switch statement fell through. While this was intentional, the pattern wasn't

svn commit: r319557 - head/sys/fs/ext2fs

2017-06-03 Thread Conrad Meyer
Author: cem Date: Sat Jun 3 22:30:30 2017 New Revision: 319557 URL: https://svnweb.freebsd.org/changeset/base/319557 Log: ext2fs(4): Fix a number of broken flag checks Introduced in r319071. Reported by: Coverity CIDs: 1375847, 1375848, 1375849 Sponsored by: Dell EMC

svn commit: r319556 - head/sys/netinet

2017-06-03 Thread Michael Tuexen
Author: tuexen Date: Sat Jun 3 21:53:58 2017 New Revision: 319556 URL: https://svnweb.freebsd.org/changeset/base/319556 Log: Fix the ICMP6 handling for TCP. The ICMP6 packets might not be contained in a single mbuf. So don't assume this. Keep the IPv4 and IPv6 code in sync and make

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-03 Thread Ngie Cooper (yaneurabeya)
> On Jun 3, 2017, at 12:05, John Baldwin wrote: … > Ping? bapt@ agreed with this, but I haven't seen any other feedback? If > others > agree then we should either revert back to a single foo.conf or we should > fully > split newsyslog.conf and syslogd.conf out to

svn commit: r319554 - in head/sys/arm: conf freescale/vybrid

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 20:14:46 2017 New Revision: 319554 URL: https://svnweb.freebsd.org/changeset/base/319554 Log: Port the Vybrid code to PLATFORM to help move it into GENERIC. Deleted: head/sys/arm/freescale/vybrid/vf_common.c Modified: head/sys/arm/conf/VYBRID

svn commit: r319553 - in head/sys/arm: conf samsung/exynos

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 20:02:12 2017 New Revision: 319553 URL: https://svnweb.freebsd.org/changeset/base/319553 Log: Port the Samsung ARM code to use PLATFORM and PLATFORM_SMP. This will help move it into the GENERIC kernel config. Added: head/sys/arm/samsung/exynos/exynos5_mp.h

svn commit: r319552 - in head/sys/arm: conf xilinx

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 19:11:32 2017 New Revision: 319552 URL: https://svnweb.freebsd.org/changeset/base/319552 Log: Port the Xilinx code to use PLATFORM and PLATFORM_SMP. This will help move it to be part of the armv6 GENERIC kernel. Added: head/sys/arm/xilinx/zy7_mp.h

Re: svn commit: r318441 - in head/etc: . cron.d

2017-06-03 Thread John Baldwin
On Friday, May 19, 2017 09:17:23 AM John Baldwin wrote: > On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote: > > On Thu, May 18, 2017 at 09:48:25AM -0700, John Baldwin wrote: > > > On Thursday, May 18, 2017 03:09:32 PM Baptiste Daroussin wrote: > > > > On Thu, May 18, 2017 at

Re: svn commit: r319551 - head/bin/dd/tests

2017-06-03 Thread Ngie Cooper (yaneurabeya)
> On Jun 3, 2017, at 11:29, Alan Somers wrote: > > Author: asomers > Date: Sat Jun 3 18:29:18 2017 > New Revision: 319551 > URL: https://svnweb.freebsd.org/changeset/base/319551 > > Log: > Fix bin/dd/dd2_tests:seek_overflow on UFS and TMPFS > > Split the postive and

svn commit: r319551 - head/bin/dd/tests

2017-06-03 Thread Alan Somers
Author: asomers Date: Sat Jun 3 18:29:18 2017 New Revision: 319551 URL: https://svnweb.freebsd.org/changeset/base/319551 Log: Fix bin/dd/dd2_tests:seek_overflow on UFS and TMPFS Split the postive and negative parts into separate test cases. The positive test case can only run on ZFS,

svn commit: r319548 - head/usr.sbin/newsyslog/tests

2017-06-03 Thread Ngie Cooper
Author: ngie Date: Sat Jun 3 18:20:23 2017 New Revision: 319548 URL: https://svnweb.freebsd.org/changeset/base/319548 Log: Remove TODO for sub testcases added for bug 212160 On closer inspection, the past failures no longer occur on ^/head. PR: 212160 Sponsored by: Dell

svn commit: r319546 - head/usr.sbin/newsyslog/tests

2017-06-03 Thread Ngie Cooper
Author: ngie Date: Sat Jun 3 18:12:00 2017 New Revision: 319546 URL: https://svnweb.freebsd.org/changeset/base/319546 Log: Fix the testplan after ^/head@r318960 The number of executed testcases is 128, not 126. MFC after:18 days MFC with: r318960 Sponsored by: Dell EMC

svn commit: r319545 - head/usr.sbin/newsyslog/tests

2017-06-03 Thread Ngie Cooper
Author: ngie Date: Sat Jun 3 18:10:04 2017 New Revision: 319545 URL: https://svnweb.freebsd.org/changeset/base/319545 Log: Don't execute the TODO cases in a subshell This messes up the testcase counter, as seen in bug 219756. PR: 212160, 219756 Sponsored by: Dell EMC

svn commit: r319544 - head/bin/dd/tests

2017-06-03 Thread Ngie Cooper
Author: ngie Date: Sat Jun 3 17:59:10 2017 New Revision: 319544 URL: https://svnweb.freebsd.org/changeset/base/319544 Log: Mark :seek_overflow as an expected failure MFC after:18 days MFC with: r319339 PR: 219757 Sponsored by: Dell EMC Isilon Modified:

svn commit: r319543 - head/bin/dd/tests

2017-06-03 Thread Ngie Cooper
Author: ngie Date: Sat Jun 3 17:56:31 2017 New Revision: 319543 URL: https://svnweb.freebsd.org/changeset/base/319543 Log: Stylistic tweaks Move opening braces of functions from the last column to column 0. MFC after:18 days MFC with: r319339 Sponsored by: Dell EMC Isilon

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

2017-06-03 Thread Alan Cox
Author: alc Date: Sat Jun 3 17:24:13 2017 New Revision: 319542 URL: https://svnweb.freebsd.org/changeset/base/319542 Log: Eliminate duplication of the pmap and pv list unlock operations in pmap_enter() by implementing a single return path. Otherwise, the duplication will only increase

svn commit: r319541 - in head/sys/arm: annapurna/alpine arm versatile

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 16:24:17 2017 New Revision: 319541 URL: https://svnweb.freebsd.org/changeset/base/319541 Log: Stop making cpu_initclocks weak when using event timers. A weak symbol could be overridden in the SoC specific code, but this would break GENERIC as it is likely to

svn commit: r319540 - head/sys/kern

2017-06-03 Thread Alan Cox
Author: alc Date: Sat Jun 3 16:19:33 2017 New Revision: 319540 URL: https://svnweb.freebsd.org/changeset/base/319540 Log: The data type returned by vmoff() is too narrow in its range. This could break the transmission of files longer than 4 GB on 32-bit architectures. Reviewed by:

svn commit: r319539 - head/sys/ufs/ffs

2017-06-03 Thread Konstantin Belousov
Author: kib Date: Sat Jun 3 16:18:50 2017 New Revision: 319539 URL: https://svnweb.freebsd.org/changeset/base/319539 Log: Mitigate several problems with the softdep_request_cleanup() on busy host. Problems start appearing when there are several threads all doing operations on a UFS

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

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 15:56:54 2017 New Revision: 319538 URL: https://svnweb.freebsd.org/changeset/base/319538 Log: Add MULTIDELAY support to the mpcore timer driver. This is needed when using this with GENERIC. While here remove the weak symbol, it doesn't seem to be needed

svn commit: r319537 - head/sys/arm/versatile

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 15:48:03 2017 New Revision: 319537 URL: https://svnweb.freebsd.org/changeset/base/319537 Log: Add MULTIDELAY support to the sp804 driver. Modified: head/sys/arm/versatile/sp804.c Modified: head/sys/arm/versatile/sp804.c

svn commit: r319536 - head/sys/arm/conf

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 15:40:34 2017 New Revision: 319536 URL: https://svnweb.freebsd.org/changeset/base/319536 Log: Add MULTIDELAY to the Beaglebone kenrel config to help moving it to GENERIC. Modified: head/sys/arm/conf/BEAGLEBONE Modified: head/sys/arm/conf/BEAGLEBONE

svn commit: r319535 - in head/sys/arm: conf freescale/imx

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 15:39:23 2017 New Revision: 319535 URL: https://svnweb.freebsd.org/changeset/base/319535 Log: Enable MULTIDELAY in the i.MX5 kernel configs. This will help adding them to GENERIC. Modified: head/sys/arm/conf/EFIKA_MX head/sys/arm/conf/IMX53

svn commit: r319522 - head/sys/arm/conf

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 14:45:46 2017 New Revision: 319522 URL: https://svnweb.freebsd.org/changeset/base/319522 Log: Remove RT1310 from universe as it fails to build. Modified: head/sys/arm/conf/RT1310 Modified: head/sys/arm/conf/RT1310

svn commit: r319521 - head/usr.sbin/makefs/ffs

2017-06-03 Thread Ed Maste
Author: emaste Date: Sat Jun 3 14:28:19 2017 New Revision: 319521 URL: https://svnweb.freebsd.org/changeset/base/319521 Log: makefs: rename variable for NetBSD diff reduction Modified: head/usr.sbin/makefs/ffs/buf.c Modified: head/usr.sbin/makefs/ffs/buf.c

svn commit: r319520 - in head: lib/libsysdecode usr.bin/kdump usr.bin/truss

2017-06-03 Thread John Baldwin
Author: jhb Date: Sat Jun 3 14:22:15 2017 New Revision: 319520 URL: https://svnweb.freebsd.org/changeset/base/319520 Log: Decode the 'who' argument passed to getrusage(). Add a new sysdecode_getrusage_who() which decodes the RUSAGE_* constant passed as the first argument to getrusage().

svn commit: r319519 - head/sys/ufs/ffs

2017-06-03 Thread Konstantin Belousov
Author: kib Date: Sat Jun 3 14:15:14 2017 New Revision: 319519 URL: https://svnweb.freebsd.org/changeset/base/319519 Log: Clean possible td_su reference on the struct mount being unmounted as the last step of ffs_unmount(). It is possible that the mount point is recorded for cleanup in

svn commit: r319518 - head/sys/kern

2017-06-03 Thread Konstantin Belousov
Author: kib Date: Sat Jun 3 14:12:17 2017 New Revision: 319518 URL: https://svnweb.freebsd.org/changeset/base/319518 Log: Ensure that cached struct thread does not keep spurious td_su reference on an UFS mount point. Reported and tested by: pho Sponsored by: The FreeBSD

svn commit: r319517 - head/lib/libsysdecode

2017-06-03 Thread John Baldwin
Author: jhb Date: Sat Jun 3 14:10:09 2017 New Revision: 319517 URL: https://svnweb.freebsd.org/changeset/base/319517 Log: Add a cross-reference to sysdecode_socket_protocol(3). Modified: head/lib/libsysdecode/sysdecode.3 Modified: head/lib/libsysdecode/sysdecode.3

svn commit: r319516 - head/contrib/compiler-rt/lib/tsan/rtl

2017-06-03 Thread Ed Maste
Author: emaste Date: Sat Jun 3 13:13:57 2017 New Revision: 319516 URL: https://svnweb.freebsd.org/changeset/base/319516 Log: tsan: set noexec stack on aarch64 This may be refined upstream. Reviewed by: dim MFC after:1 week Sponsored by: The FreeBSD Foundation Differential

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

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 10:40:45 2017 New Revision: 319515 URL: https://svnweb.freebsd.org/changeset/base/319515 Log: Make it an error to build armv6 without INTRNG enabled. Most kernel configs have been updated for this, with the exception of the two marked as NO_UNIVERSE in

svn commit: r319514 - head/sys/arm/conf

2017-06-03 Thread Andrew Turner
Author: andrew Date: Sat Jun 3 10:38:41 2017 New Revision: 319514 URL: https://svnweb.freebsd.org/changeset/base/319514 Log: Mark the non-INTRNG armv6 configs with NO_UNIVERSE to prepare for INTRNG being always enabled on armv6. Modified: head/sys/arm/conf/AML8726

Re: svn commit: r319507 - head/sys/fs/msdosfs

2017-06-03 Thread Bruce Evans
On Fri, 2 Jun 2017, Ed Maste wrote: Log: msdosfs: use mem{cpy,move,set} instead of bcopy,bzero This somewhat simplifies use of msdosfs code in userland (for makefs), reduces diffs with NetBSD and is standard C as of C89. This is a style bug in the kernel. The kernel should use the