svn commit: r306030 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:27:34 2016 New Revision: 306030 URL: https://svnweb.freebsd.org/changeset/base/306030 Log: Port vnode_leak_test:main to FreeBSD Use a simpler way of dumping kern.maxvnodes, i.e. `sysctl -n kern.maxvnodes` The awk filtering method employed in NetBSD does

svn commit: r306031 - head/contrib/netbsd-tests/fs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:28:57 2016 New Revision: 306031 URL: https://svnweb.freebsd.org/changeset/base/306031 Log: Port contrib/netbsd-tests/fs/h_funcs.subr to FreeBSD Use kldstat -m to determine whether or not a filesystem is loaded. This works well with tmpfs, ufs, and zfs

svn commit: r306033 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:31:57 2016 New Revision: 306033 URL: https://svnweb.freebsd.org/changeset/base/306033 Log: Port sizes_test and statvfs_test to FreeBSD Similar to r306030, use a simpler method for getting the value of `hw.pagesize`, i.e. `sysctl -n hw.pagesize`. The awk fi

svn commit: r306036 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:37:02 2016 New Revision: 306036 URL: https://svnweb.freebsd.org/changeset/base/306036 Log: Port to mknod_test and readdir_test to FreeBSD The `mknod p` command doesn't exist on FreeBSD, like on NetBSD. Use mkfifo instead to create named pipes (FIFOs).

svn commit: r306038 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:40:15 2016 New Revision: 306038 URL: https://svnweb.freebsd.org/changeset/base/306038 Log: Port vnd_test to FreeBSD Use mdmfs/mdconfig instead of vndconfig/newfs. vndconfig doesn't exist on FreeBSD. TODO: need to parameterize out the md(4) device as it

Re: svn commit: r306220 - head/sys/cddl/dev/systrace

2016-09-22 Thread Ngie Cooper
On Thu, Sep 22, 2016 at 4:22 PM, Mark Johnston wrote: > Author: markj > Date: Thu Sep 22 23:22:53 2016 > New Revision: 306220 > URL: https://svnweb.freebsd.org/changeset/base/306220 > > Log: > Re-check the systrace probe ID before calling dtrace_probe(). > > Otherwise there exists a narrow win

Re: svn commit: r306347 - head/lib/libc/tests

2016-09-28 Thread Ngie Cooper
> On Sep 27, 2016, at 06:25, Warner Losh wrote: > > Shouldn't we have MK_SSP == no on mips instead? That's how it's > supposed to work. If it isn't, perhaps we should set it like that. Thanks. This is what I was going to recommend. -Ngie ___ svn-src-

Re: svn commit: r306395 - head/tests/sys/geom/class/eli

2016-09-28 Thread Ngie Cooper
> On Sep 28, 2016, at 17:11, Ruslan Bukin wrote: > > Author: br > Date: Wed Sep 28 08:11:00 2016 > New Revision: 306395 > URL: https://svnweb.freebsd.org/changeset/base/306395 > > Log: > Increase timeouts for geli tests. It takes 2-3x more time to proceed the > tests on MIPS64EB in QEMU. > >

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

2016-09-28 Thread Ngie Cooper
> On Sep 28, 2016, at 17:45, Ruslan Bukin wrote: > > Author: br > Date: Wed Sep 28 08:45:42 2016 > New Revision: 306397 > URL: https://svnweb.freebsd.org/changeset/base/306397 > > Log: > Use right piece of code for FreeBSD. > > Sponsored by:DARPA, AFRL > Sponsored by:HEIF5 > > Modi

Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-02 Thread Ngie Cooper
> On Nov 2, 2017, at 06:49, Andriy Gapon wrote: > > Author: avg > Date: Thu Nov 2 13:49:08 2017 > New Revision: 325320 > URL: https://svnweb.freebsd.org/changeset/base/325320 > > Log: > Disable posix_fallocate(2) for ZFS > > The generic (naive) implementation of posix_fallocate cannot provi

svn commit: r325442 - in head/lib/libclang_rt: . profile

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 19:25:06 2017 New Revision: 325442 URL: https://svnweb.freebsd.org/changeset/base/325442 Log: Support compiling lib/libclang_rt/profile a bit more with recent versions of gcc Several of the flags were being treated as CFLAGS, when they were actually technica

svn commit: r325443 - in head: . lib/libclang_rt share/mk

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 19:38:51 2017 New Revision: 325443 URL: https://svnweb.freebsd.org/changeset/base/325443 Log: Fix paths for cross-built versions of lib/libclang_rt and hardfloat arm variants - Define TARGET_CPUARCH and use in libclang_rt as the basis for CRTARCH When c

svn commit: r325446 - in head: . lib/libclang_rt share/mk

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 20:01:00 2017 New Revision: 325446 URL: https://svnweb.freebsd.org/changeset/base/325446 Log: Revert r325443 Despite the fact that it's a working solution, it doesn't follow the design philosophy of only doing TARGET_* in Makefile.inc1 and special locations i

svn commit: r325449 - in head: . lib/libclang_rt

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 20:38:40 2017 New Revision: 325449 URL: https://svnweb.freebsd.org/changeset/base/325449 Log: Choose a simpler, more philosophically correct version for CRTARCH with armv[67] This is a rework of r325443. PR: 222925 Tested with: make buildenv

svn commit: r325450 - head/bin/rm

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 21:43:26 2017 New Revision: 325450 URL: https://svnweb.freebsd.org/changeset/base/325450 Log: Fix cosmetic nit when printing out "override $mode" and "$owner/$group ..." The wrong index was being checked for == ' ' in the resulting stringified mode from strmo

svn commit: r325459 - stable/11/sys/kern

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 22:33:41 2017 New Revision: 325459 URL: https://svnweb.freebsd.org/changeset/base/325459 Log: MFC r324862: Clean up trailing whitespace in kdb_thr_ctx(..) Modified: stable/11/sys/kern/subr_kdb.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r325460 - stable/10/sys/kern

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 22:34:27 2017 New Revision: 325460 URL: https://svnweb.freebsd.org/changeset/base/325460 Log: MFC r324862: Clean up trailing whitespace in kdb_thr_ctx(..) Modified: stable/10/sys/kern/subr_kdb.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r325461 - stable/11/lib/libugidfw

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 22:36:02 2017 New Revision: 325461 URL: https://svnweb.freebsd.org/changeset/base/325461 Log: MFC r324928,r324929: r324928: Remove dead stores The return value of various snprintf calls was stored in `len` and not used in many functions. r32492

svn commit: r325462 - stable/10/lib/libugidfw

2017-11-05 Thread Ngie Cooper
Author: ngie Date: Sun Nov 5 22:36:32 2017 New Revision: 325462 URL: https://svnweb.freebsd.org/changeset/base/325462 Log: MFC r324928: Remove dead stores The return value of various snprintf calls was stored in `len` and not used in many functions. Modified: stable/10/lib/libugi

svn commit: r325500 - head/lib/libclang_rt

2017-11-06 Thread Ngie Cooper
Author: ngie Date: Tue Nov 7 04:55:23 2017 New Revision: 325500 URL: https://svnweb.freebsd.org/changeset/base/325500 Log: Use bsd.compiler.mk instead of src.opts.mk - MK_PROFILE is controlled in bsd.opts.mk, which is pulled in via bsd.own.mk, which is pulled in via bsd.init.mk . All u

svn commit: r325501 - head/lib/libclang_rt

2017-11-06 Thread Ngie Cooper
Author: ngie Date: Tue Nov 7 04:56:53 2017 New Revision: 325501 URL: https://svnweb.freebsd.org/changeset/base/325501 Log: Remove unnecessary src.opts.mk .include MK_ isn't used in lib/libcompiler_rt/Makefile at all. Remove it to reduce namespace pollution. MFC after:1 week Mod

svn commit: r325502 - head/lib/libclang_rt

2017-11-06 Thread Ngie Cooper
Author: ngie Date: Tue Nov 7 05:02:36 2017 New Revision: 325502 URL: https://svnweb.freebsd.org/changeset/base/325502 Log: Handle arm/armv[67] hosted/targeted builds gracefully CPUTYPE (apparently) isn't defined in non-cross-builds, which caused arm/armv[67] hosted/targeted builds to fai

svn commit: r325504 - head/lib/libclang_rt

2017-11-06 Thread Ngie Cooper
Author: ngie Date: Tue Nov 7 06:26:48 2017 New Revision: 325504 URL: https://svnweb.freebsd.org/changeset/base/325504 Log: Redo r325502 :U:Mfoo expands to :Mfoo, apparently. Explicit check for CPUTYPE being defined, and test for it's value not containing *soft* before calling CRTARCH a

Re: svn commit: r323304 - stable/11/share/man/man5

2017-12-16 Thread Ngie Cooper
> On Dec 15, 2017, at 22:57, Herbert J. Skuhra wrote: > >> On Fri, 08 Sep 2017 06:51:16 +0200, Ngie Cooper wrote: >> >> Author: ngie >> Date: Fri Sep 8 04:51:16 2017 >> New Revision: 323304 >> URL: https://svnweb.freebsd.org/changeset/base/323304 &g

Re: svn commit: r284898 - in head: . share/mk

2015-06-28 Thread NGie Cooper
On Sun, Jun 28, 2015 at 12:41 AM, Baptiste Daroussin wrote: > On Sat, Jun 27, 2015 at 08:37:23PM -0700, Garrett Cooper wrote: >> >> > On Jun 27, 2015, at 16:28, Baptiste Daroussin wrote: >> > >> > Author: bapt >> > Date: Sat Jun 27 23:28:56 2015 >> > New Revision: 284898 >> > URL: https://svnweb.

Re: svn commit: r284898 - in head: . share/mk

2015-06-28 Thread NGie Cooper
On Sun, Jun 28, 2015 at 12:13 AM, Adrian Chadd wrote: ... >> How is it broken? > > ok, I figured out how to get it to work. It's not broken (this time!) > > The port cross gcc compiler(s) in freebsd are compiled with > --without-includes, which removes /usr/include from the search path. > So unles

Re: svn commit: r284898 - in head: . share/mk

2015-06-28 Thread NGie Cooper
On Sun, Jun 28, 2015 at 12:49 AM, Baptiste Daroussin wrote: ... > Not at all I have this on a both where I haven't yet r284898 iirc it is like > this since the beginning I do not remember seeing those ld scripts with > absolute > path. $ cat /usr/lib/libc.so /* $FreeBSD$ */ GROUP ( /lib/libc.so.

Re: svn commit: r284898 - in head: . share/mk

2015-06-28 Thread NGie Cooper
On Sun, Jun 28, 2015 at 2:48 AM, Dimitry Andric wrote: > On 28 Jun 2015, at 10:57, Baptiste Daroussin wrote: >> >> On Sun, Jun 28, 2015 at 01:44:21AM -0700, NGie Cooper wrote: >>> On Sun, Jun 28, 2015 at 12:49 AM, Baptiste Daroussin >>> wrote: >>>

Re: svn commit: r285284 - head/lib/liblzma

2015-07-08 Thread NGie Cooper
On Wed, Jul 8, 2015 at 3:18 PM, Dimitry Andric wrote: > Check whether the path starts with /usr/bin, maybe? Normally, you would > check for the existence of a random header in a configure script. But > from within a C source file, it's not that easy. > > That said, immintrin.h is available for a

Re: svn commit: r285284 - head/lib/liblzma

2015-07-09 Thread NGie Cooper
On Thu, Jul 9, 2015 at 1:44 AM, David Chisnall wrote: > On 9 Jul 2015, at 03:53, NGie Cooper wrote: >> >> $ cat ~/has_immintrin.c >> #include >> >> #if __has_include() >> #error "I have immintrin.h" >> #else >> #error "I don'

Re: svn commit: r285284 - head/lib/liblzma

2015-07-09 Thread NGie Cooper
On Thu, Jul 9, 2015 at 2:23 AM, David Chisnall wrote: > On 9 Jul 2015, at 10:19, NGie Cooper wrote: >> >> Yes, but this case will fail for gcc 4.3 ~ 4.4 through 5.x if you use >> my recommended method... > > I think that’s probably fine. We basically have four

Re: svn commit: r286100 - in head/sys: net netipsec

2015-07-30 Thread NGie Cooper
On Thu, Jul 30, 2015 at 5:23 PM, John-Mark Gurney wrote: > Author: jmg > Date: Fri Jul 31 00:23:21 2015 > New Revision: 286100 > URL: https://svnweb.freebsd.org/changeset/base/286100 > > Log: > Clean up this header file... > > use CTASSERTs now that we have them... > > Replace a draft w/ RFC

Re: svn commit: r286234 - head/sys/boot/common

2015-08-03 Thread NGie Cooper
On Mon, Aug 3, 2015 at 10:54 AM, Andriy Gapon wrote: > On 03/08/2015 19:27, Edward Tomasz Napierala wrote: >> Author: trasz >> Date: Mon Aug 3 16:27:36 2015 >> New Revision: 286234 >> URL: https://svnweb.freebsd.org/changeset/base/286234 >> >> Log: >> Fix a problem which made loader(8) load non

Re: svn commit: r286341 - head/usr.sbin/pw/tests

2015-08-05 Thread NGie Cooper
On Wed, Aug 5, 2015 at 2:11 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Wed Aug 5 21:11:32 2015 > New Revision: 286341 > URL: https://svnweb.freebsd.org/changeset/base/286341 > > Log: > Add regression tests for a bug reported in stable/10 > > While pw(8) on head is not affected it is

svn commit: r309652 - vendor/fsx

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Tue Dec 6 19:36:30 2016 New Revision: 309652 URL: https://svnweb.freebsd.org/changeset/base/309652 Log: Prune ^/vendor/fsx I don't plan on completing this work Deleted: vendor/fsx/ ___ svn-src-all@freebsd.org mailing list ht

svn commit: r309661 - stable/11/tests/sys/kern/pipe

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 00:55:36 2016 New Revision: 309661 URL: https://svnweb.freebsd.org/changeset/base/309661 Log: MFC r306962: r306962 (by br): Ensure data in pipe is available to read. Useful for latest (5th, direct mode) test only. Modified: stable/11/tests/sys/kern/pipe/

svn commit: r309662 - stable/10/tests/sys/kern/pipe

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 00:57:15 2016 New Revision: 309662 URL: https://svnweb.freebsd.org/changeset/base/309662 Log: MFstable/11 r309661: MFC r306962: r306962 (by br): Ensure data in pipe is available to read. Useful for latest (5th, direct mode) test only. Modified: stab

svn commit: r309668 - in stable/11: contrib/netbsd-tests/fs contrib/netbsd-tests/fs/tmpfs etc/mtree tests/sys tests/sys/fs

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 06:57:08 2016 New Revision: 309668 URL: https://svnweb.freebsd.org/changeset/base/309668 Log: MFC r306030,r306031,r306033,r306036,r306038,r307190,r307196,r307204,r307205,r307701,r307702: r306030: Port vnode_leak_test:main to FreeBSD Use a simpler way

svn commit: r309774 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 22:50:43 2016 New Revision: 309774 URL: https://svnweb.freebsd.org/changeset/base/309774 Log: Only run mdconfig -d -u 3 if /dev/md3 exists on the system This will prevent "cleanup failures" (exit code != 0 returned) when tmpfs is not loaded MFC after:

svn commit: r309778 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:42:04 2016 New Revision: 309778 URL: https://svnweb.freebsd.org/changeset/base/309778 Log: Make test_unmount usable in cleanup subroutines - Duplicate test_unmount to _test_unmount - Remove atf_check calls - Call _test_unmount from test_unmount, checking

svn commit: r309779 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:43:33 2016 New Revision: 309779 URL: https://svnweb.freebsd.org/changeset/base/309779 Log: - Ignore errors from umount - Use _test_unmount instead of test_unmount in cleanup MFC after:1 week Modified: head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh M

svn commit: r309780 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:44:25 2016 New Revision: 309780 URL: https://svnweb.freebsd.org/changeset/base/309780 Log: Use _test_unmount instead of test_unmount in cleanup to avoid false positives with atf_check when tmpfs is not loaded, etc MFC after:1 week Modified: head/con

svn commit: r309837 - head/contrib/netbsd-tests/lib/libc/sys

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 22:08:33 2016 New Revision: 309837 URL: https://svnweb.freebsd.org/changeset/base/309837 Log: Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when executing :mincore_resid The default process limits in FreeBSD is 64kB for unprivileged users, w

svn commit: r309839 - head/sbin/camcontrol

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 23:26:34 2016 New Revision: 309839 URL: https://svnweb.freebsd.org/changeset/base/309839 Log: free/NULL out variables prior to calling strdup to avoid leaking memory if arguments are specified more than once with "camcontrol timestamp". CID: 1366829,

svn commit: r309840 - head/sbin/camcontrol

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 23:58:14 2016 New Revision: 309840 URL: https://svnweb.freebsd.org/changeset/base/309840 Log: Cut to the chase and just call free instead of free(x) + x = NULL NULLing out x wasn't required as the memory was immediately scribbled over with strdup in the follo

svn commit: r309863 - vendor/libarchive/dist/cpio/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:09:31 2016 New Revision: 309863 URL: https://svnweb.freebsd.org/changeset/base/309863 Log: Free p (the memory allocated via slurpfile) when done with the contents Reported by: Coverity CID: 1331631, 1331632, 1331633, 1331646 Obtained from: libarchiv

svn commit: r309864 - vendor/libarchive/dist/tar/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:11:30 2016 New Revision: 309864 URL: https://svnweb.freebsd.org/changeset/base/309864 Log: Merge PR to address tar/test coverity issues Obtained from:libarchive (fd0ea220635939ffe4b9ffb5cacaaa526a25b5ae) Modified: vendor/libarchive/dist/tar/test/m

svn commit: r309865 - vendor/libarchive/dist/libarchive/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:12:51 2016 New Revision: 309865 URL: https://svnweb.freebsd.org/changeset/base/309865 Log: Merge PR to address libarchive/test coverity issues Obtained from:libarchive (f9e3de49fb294901374e0c8c6c2ceaeea7b6d6c0) Modified: vendor/libarchive/dist/lib

svn commit: r309869 - in head/contrib/libarchive: cpio/test libarchive/test tar/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:21:56 2016 New Revision: 309869 URL: https://svnweb.freebsd.org/changeset/base/309869 Log: Merge changes from vendor to address several Coverity issues with contrib/libarchive's tests MFC after:2 weeks Obtained from:libarchive (ebe29c, fd0ea2

svn commit: r310126 - stable/11/tools/build/mk

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:10:20 2016 New Revision: 310126 URL: https://svnweb.freebsd.org/changeset/base/310126 Log: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc Directory Properti

svn commit: r310127 - stable/10/tools/build/mk

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:13:40 2016 New Revision: 310127 URL: https://svnweb.freebsd.org/changeset/base/310127 Log: MFstable/11 r310126: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified: stable/10/tools/build/mk/OptionalObsoleteFi

svn commit: r310186 - in head: lib/libelftc tools/build/mk

2016-12-16 Thread Ngie Cooper
Author: ngie Date: Sat Dec 17 03:34:51 2016 New Revision: 310186 URL: https://svnweb.freebsd.org/changeset/base/310186 Log: Install the lib/libelftc manpages Some other manpages, e.g. c++filt reference these MFC after:1 week Modified: head/lib/libelftc/Makefile head/tools/buil

svn commit: r310187 - head/tools/build/mk

2016-12-16 Thread Ngie Cooper
Author: ngie Date: Sat Dec 17 03:41:16 2016 New Revision: 310187 URL: https://svnweb.freebsd.org/changeset/base/310187 Log: Remove lib/libelf's manpages if MK_TOOLCHAIN == no Add a comment to help figure out which set is lib/libelf's and which set is lib/libelftc's MFC after:1 we

svn commit: r310188 - stable/11/contrib/netbsd-tests/fs/tmpfs

2016-12-16 Thread Ngie Cooper
Author: ngie Date: Sat Dec 17 03:47:09 2016 New Revision: 310188 URL: https://svnweb.freebsd.org/changeset/base/310188 Log: MFC r309774,r309778,r309779,r309780: r309774: Only run mdconfig -d -u 3 if /dev/md3 exists on the system This will prevent "cleanup failures" (exit code != 0

svn commit: r310196 - head/usr.sbin/bsnmpd/modules/snmp_bridge

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 00:44:43 2016 New Revision: 310196 URL: https://svnweb.freebsd.org/changeset/base/310196 Log: Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and begemotBridgeTpMaxAddresses Bump LAST-UPDATED for the MIB, per the change MFC after:1 week

svn commit: r310202 - head/contrib/bsnmp/lib

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 05:31:54 2016 New Revision: 310202 URL: https://svnweb.freebsd.org/changeset/base/310202 Log: Clean up trailing and leading whitespace Fix variable type alignment in snmp_dialog(..) MFC after:1 week Modified: head/contrib/bsnmp/lib/snmpclient.c Mod

svn commit: r310203 - head/usr.sbin/bsnmpd/tools/bsnmptools

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 05:36:04 2016 New Revision: 310203 URL: https://svnweb.freebsd.org/changeset/base/310203 Log: Clean up parse_ip(..) - Clean up trailing whitespace - Fix variable alignment MFC after:1 week Modified: head/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c

svn commit: r310433 - head/lib/libc/stdio

2016-12-22 Thread Ngie Cooper
Author: ngie Date: Thu Dec 22 22:30:42 2016 New Revision: 310433 URL: https://svnweb.freebsd.org/changeset/base/310433 Log: Revert r310138 Adding %b support to vfprintf for parity with kernel space requires more discussion/review. In particular, many parties were concerned over intro

svn commit: r310455 - head/contrib/bsnmp/snmpd

2016-12-22 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 05:07:28 2016 New Revision: 310455 URL: https://svnweb.freebsd.org/changeset/base/310455 Log: Clarify failure in snmp_output(..) with call to snmp_pdu_decode - Explicitly test snmp_pdu_encode against SNMP_CODE_OK instead of assuming any non-zero value is ba

svn commit: r310457 - head/etc

2016-12-22 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 06:35:18 2016 New Revision: 310457 URL: https://svnweb.freebsd.org/changeset/base/310457 Log: Clean up trailing whitespace No functional change MFC after:3 days Modified: head/etc/snmpd.config Modified: head/etc/snmpd.config ===

svn commit: r310458 - head/etc

2016-12-22 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 06:56:48 2016 New Revision: 310458 URL: https://svnweb.freebsd.org/changeset/base/310458 Log: Group all loadable modules in the %default section This will allow new users to uncomment the modules and have things work with less head scratching, in the event th

svn commit: r310459 - head/contrib/bsnmp/snmpd

2016-12-22 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 07:55:13 2016 New Revision: 310459 URL: https://svnweb.freebsd.org/changeset/base/310459 Log: Sort #includes per style(9) No functional change MFC after:3 days Modified: head/contrib/bsnmp/snmpd/action.c Modified: head/contrib/bsnmp/snmpd/action.c

svn commit: r310463 - stable/11/sys/modules/ioat

2016-12-23 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 08:44:10 2016 New Revision: 310463 URL: https://svnweb.freebsd.org/changeset/base/310463 Log: MFC r309521: Unbreak "make depend" with sys/modules/ioat by adding opt_ddb.h to SRCS Modified: stable/11/sys/modules/ioat/Makefile Directory Properties: stable/11

svn commit: r310466 - head/etc

2016-12-23 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 08:54:44 2016 New Revision: 310466 URL: https://svnweb.freebsd.org/changeset/base/310466 Log: Don't hardcode $(securityModelUSM) (3) in the authPriv example under the %vacm section MFC after:1 week Modified: head/etc/snmpd.config Modified: head/etc/sn

svn commit: r310467 - head/etc

2016-12-23 Thread Ngie Cooper
Author: ngie Date: Fri Dec 23 08:59:23 2016 New Revision: 310467 URL: https://svnweb.freebsd.org/changeset/base/310467 Log: Provide some guidance when dealing with sections and variables contained within them For example, using variables designated for %usm requires uncommenting %usm se

svn commit: r310497 - in head/usr.sbin/bsnmpd/tools: bsnmptools libbsnmptools

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:22:28 2016 New Revision: 310497 URL: https://svnweb.freebsd.org/changeset/base/310497 Log: Warning message cleanup - Use warn instead of warnx + strerror(errno) - Remove unnecessary trailing newline from a warnx call - Add missing spaces following "," in

svn commit: r310498 - head/contrib/bsnmp/snmpd

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:23:18 2016 New Revision: 310498 URL: https://svnweb.freebsd.org/changeset/base/310498 Log: Allow SNMPv3 authNoPriv and noAuthNoPriv protocols to discover snmpEngineTime as discussed in RFC-5343 This fixes interoperability with net-snmp. Tested with th

svn commit: r310499 - head/contrib/bsnmp/lib

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:26:55 2016 New Revision: 310499 URL: https://svnweb.freebsd.org/changeset/base/310499 Log: Sort #includes No functional change MFC after:3 days Modified: head/contrib/bsnmp/lib/snmp.c Modified: head/contrib/bsnmp/lib/snmp.c =

svn commit: r310500 - head/contrib/bsnmp/lib

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:30:24 2016 New Revision: 310500 URL: https://svnweb.freebsd.org/changeset/base/310500 Log: Minor style(9) fixes - Trailing whitespace cleanup - Sort variables in snmp_dialog(..) by alignment No functional change MFC after:1 week Modified:

svn commit: r310501 - head/contrib/bsnmp/lib

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:41:16 2016 New Revision: 310501 URL: https://svnweb.freebsd.org/changeset/base/310501 Log: Be more strict about IpAddress type in snmp_value_parse(..) - Use inet_pton with AF_INET instead of doing longhand with sscanf. - Use gethostbyname2 with AF_INET to

svn commit: r310503 - head/contrib/bsnmp/snmp_target

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 11:49:25 2016 New Revision: 310503 URL: https://svnweb.freebsd.org/changeset/base/310503 Log: style(9): delete stray trailing whitespace after break statement MFC after:3 days Modified: head/contrib/bsnmp/snmp_target/target_snmp.c Modified: head/contrib

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

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 12:50:17 2016 New Revision: 310504 URL: https://svnweb.freebsd.org/changeset/base/310504 Log: Unbreak syslogd after r310494 Don't close all file descriptors greater than STDERR_FILENO (2) in waitdaemon(..) -- only close fd (file descriptor for /dev/null used

svn commit: r310505 - in stable/11: lib/libelftc tools/build/mk

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 12:55:37 2016 New Revision: 310505 URL: https://svnweb.freebsd.org/changeset/base/310505 Log: MFC r310186,r310187: r310186: Install the lib/libelftc manpages Some other manpages, e.g. c++filt reference these r310187: Remove lib/libelf's manp

svn commit: r310506 - stable/11/contrib/netbsd-tests/lib/libc/sys

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 12:58:33 2016 New Revision: 310506 URL: https://svnweb.freebsd.org/changeset/base/310506 Log: MFC r309837: Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when executing :mincore_resid The default process limits in FreeBSD is 64kB for unpri

svn commit: r310507 - stable/10/contrib/netbsd-tests/lib/libc/sys

2016-12-24 Thread Ngie Cooper
Author: ngie Date: Sat Dec 24 13:00:19 2016 New Revision: 310507 URL: https://svnweb.freebsd.org/changeset/base/310507 Log: MFstable/11 r310506: MFC r309837: Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when executing :mincore_resid The default process limits in

svn commit: r310561 - stable/11/usr.sbin/bsnmpd/tools/bsnmptools

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:02:45 2016 New Revision: 310561 URL: https://svnweb.freebsd.org/changeset/base/310561 Log: MFC r310203: Clean up parse_ip(..) - Clean up trailing whitespace - Fix variable alignment Modified: stable/11/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c Di

svn commit: r310562 - stable/10/usr.sbin/bsnmpd/tools/bsnmptools

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:04:10 2016 New Revision: 310562 URL: https://svnweb.freebsd.org/changeset/base/310562 Log: MFstable/11 r310561: MFC r310203: Clean up parse_ip(..) - Clean up trailing whitespace - Fix variable alignment Modified: stable/10/usr.sbin/bsnmpd/tool

svn commit: r310563 - stable/11/usr.sbin/bsnmpd/modules/snmp_bridge

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:05:47 2016 New Revision: 310563 URL: https://svnweb.freebsd.org/changeset/base/310563 Log: MFC r310196: Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and begemotBridgeTpMaxAddresses Bump LAST-UPDATED for the MIB, per the change Modifi

svn commit: r310564 - stable/10/usr.sbin/bsnmpd/modules/snmp_bridge

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:06:55 2016 New Revision: 310564 URL: https://svnweb.freebsd.org/changeset/base/310564 Log: MFstable/11 r310563: MFC r310196: Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and begemotBridgeTpMaxAddresses Bump LAST-UPDATED for the M

svn commit: r310565 - stable/11/contrib/bsnmp/lib

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:08:20 2016 New Revision: 310565 URL: https://svnweb.freebsd.org/changeset/base/310565 Log: MFC r310202: Clean up trailing and leading whitespace Fix variable type alignment in snmp_dialog(..) Modified: stable/11/contrib/bsnmp/lib/snmpclient.c Directo

svn commit: r310566 - stable/10/contrib/bsnmp/lib

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:09:09 2016 New Revision: 310566 URL: https://svnweb.freebsd.org/changeset/base/310566 Log: MFstable/11 r310565: MFC r310202: Clean up trailing and leading whitespace Fix variable type alignment in snmp_dialog(..) Modified: stable/10/contrib/bsnm

svn commit: r310567 - stable/11/etc

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:10:21 2016 New Revision: 310567 URL: https://svnweb.freebsd.org/changeset/base/310567 Log: MFC r310457: Clean up trailing whitespace No functional change Modified: stable/11/etc/snmpd.config Directory Properties: stable/11/ (props changed) Modif

svn commit: r310568 - stable/10/etc

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:11:43 2016 New Revision: 310568 URL: https://svnweb.freebsd.org/changeset/base/310568 Log: MFstable/11 r310567: MFC r310457: Clean up trailing whitespace No functional change Modified: stable/10/etc/snmpd.config Directory Properties: stable/10

svn commit: r310569 - in stable/11/contrib/libarchive: cpio/test libarchive/test tar/test

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:16:27 2016 New Revision: 310569 URL: https://svnweb.freebsd.org/changeset/base/310569 Log: MFC r309869: Merge changes from vendor to address several Coverity issues with contrib/libarchive's tests Obtained from:libarchive (ebe29c, fd0ea2, f9e3

svn commit: r310570 - in stable/10/contrib/libarchive: cpio/test libarchive/test tar/test

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:25:39 2016 New Revision: 310570 URL: https://svnweb.freebsd.org/changeset/base/310570 Log: MFstable/11 r310569: MFC r309869: Merge changes from vendor to address several Coverity issues with contrib/libarchive's tests Obtained from:libarc

svn commit: r310571 - stable/11/contrib/bsnmp/snmpd

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:32:42 2016 New Revision: 310571 URL: https://svnweb.freebsd.org/changeset/base/310571 Log: MFC r310459: Sort #includes per style(9) No functional change Modified: stable/11/contrib/bsnmp/snmpd/action.c Directory Properties: stable/11/ (props chan

svn commit: r310572 - stable/10/contrib/bsnmp/snmpd

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 06:33:43 2016 New Revision: 310572 URL: https://svnweb.freebsd.org/changeset/base/310572 Log: MFstable/11 r310571: MFC r310459: Sort #includes per style(9) No functional change Modified: stable/10/contrib/bsnmp/snmpd/action.c Directory Properties:

svn commit: r310574 - head/contrib/bsnmp/snmpd

2016-12-25 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 07:31:16 2016 New Revision: 310574 URL: https://svnweb.freebsd.org/changeset/base/310574 Log: Fix style(9) - Sort #includes - Delete trailing whitespace No functional change MFC after:3 days Modified: head/contrib/bsnmp/snmpd/trans_lsock.c M

svn commit: r310586 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:17:22 2016 New Revision: 310586 URL: https://svnweb.freebsd.org/changeset/base/310586 Log: Refactor transport sources a bit to facilitate changes coming down pipeline Add recv callback to transport layer to better facilitate code reuse and readability and

svn commit: r310587 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:21:28 2016 New Revision: 310587 URL: https://svnweb.freebsd.org/changeset/base/310587 Log: Fix definition for recv_dgram(..); it should be "ssize_t", not "int" I'm not sure why this wasn't flagged as an issue by the compiler, yet MFC after:3 weeks

svn commit: r310588 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:24:48 2016 New Revision: 310588 URL: https://svnweb.freebsd.org/changeset/base/310588 Log: Fix return type for `ret` (recv callback) and sort variables by alignment Again, for reasons I don't yet understand, this is not being flagged by the compiler. Unlik

svn commit: r310591 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 11:11:30 2016 New Revision: 310591 URL: https://svnweb.freebsd.org/changeset/base/310591 Log: Update engine time using update_snmpd_engine_time(..) MFC after:6 days X-MFC with: r310498 Sponsored by: Dell EMC Isilon Modified: head/contrib/bsnmp/snmp

svn commit: r310592 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 11:16:55 2016 New Revision: 310592 URL: https://svnweb.freebsd.org/changeset/base/310592 Log: style(9): fix trailing whitespace MFC after:3 days Modified: head/contrib/bsnmp/snmpd/trap.c Modified: head/contrib/bsnmp/snmpd/trap.c

svn commit: r310648 - in head: contrib/bsnmp/gensnmpdef contrib/bsnmp/gensnmptree contrib/bsnmp/lib contrib/bsnmp/snmp_mibII contrib/bsnmp/snmp_ntp contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm ...

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Tue Dec 27 23:32:54 2016 New Revision: 310648 URL: https://svnweb.freebsd.org/changeset/base/310648 Log: style(9): clean up trailing whitespace MFC after:3 weeks Modified: head/contrib/bsnmp/gensnmpdef/gensnmpdef.1 head/contrib/bsnmp/gensnmpdef/gensnmpdef.c hea

svn commit: r310654 - in head: tools/build/mk usr.sbin/bsnmpd/bsnmpd

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 03:56:25 2016 New Revision: 310654 URL: https://svnweb.freebsd.org/changeset/base/310654 Log: Install snmpmod.3 as all of the bsnmpd APIs it documents MFC after:3 days Modified: head/tools/build/mk/OptionalObsoleteFiles.inc head/usr.sbin/bsnmpd/bsnmpd/

svn commit: r310655 - head/contrib/bsnmp/snmpd

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 04:29:09 2016 New Revision: 310655 URL: https://svnweb.freebsd.org/changeset/base/310655 Log: Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used as the listening address in snmpd_input(..) Stash the IPv4 address of the receiver v

svn commit: r310656 - head/contrib/bsnmp/snmpd

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 04:31:07 2016 New Revision: 310656 URL: https://svnweb.freebsd.org/changeset/base/310656 Log: style(9): sort alignment in udp_recv(..) MFC after:3 weeks Modified: head/contrib/bsnmp/snmpd/trans_udp.c Modified: head/contrib/bsnmp/snmpd/trans_udp.c ==

svn commit: r310660 - head/contrib/bsnmp/lib

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 04:53:52 2016 New Revision: 310660 URL: https://svnweb.freebsd.org/changeset/base/310660 Log: style(9): fix whitespace in pdu_encode_secparams(..) MFC after:3 days Modified: head/contrib/bsnmp/lib/snmp.c Modified: head/contrib/bsnmp/lib/snmp.c =

svn commit: r310662 - head/contrib/bsnmp/lib

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 04:56:15 2016 New Revision: 310662 URL: https://svnweb.freebsd.org/changeset/base/310662 Log: style(9): snmp_send_packet(..): fix whitespace MFC after:3 days Modified: head/contrib/bsnmp/lib/snmpclient.c Modified: head/contrib/bsnmp/lib/snmpclient.c ===

svn commit: r310663 - head/contrib/bsnmp/snmpd

2016-12-27 Thread Ngie Cooper
Author: ngie Date: Wed Dec 28 05:05:08 2016 New Revision: 310663 URL: https://svnweb.freebsd.org/changeset/base/310663 Log: style(9): ip_get(..): clean up whitespace MFC after:3 days Modified: head/contrib/bsnmp/snmpd/export.c Modified: head/contrib/bsnmp/snmpd/export.c

<    1   2   3   4   5   6   7   8   9   10   >