svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-12 Thread Ngie Cooper
Author: ngie Date: Sat May 13 03:10:50 2017 New Revision: 318250 URL: https://svnweb.freebsd.org/changeset/base/318250 Log: Handle the logfiles in newsyslog and syslogd conditionally, based on src.conf(5) knobs This will allow consumers of FreeBSD to use the unmodified configuration fil

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper
On May 13, 2017, at 08:37, Rodney W. Grimes wrote: >> Author: ngie >> Date: Sat May 13 03:10:50 2017 >> New Revision: 318250 >> URL: https://svnweb.freebsd.org/changeset/base/318250 >> >> Log: >> Handle the logfiles in newsyslog and syslogd conditionally, based on >> src.conf(5) knobs >> >>

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper
> On May 13, 2017, at 09:29, Ngie Cooper wrote: > > On May 13, 2017, at 08:37, Rodney W. Grimes > wrote: > >>> Author: ngie >>> Date: Sat May 13 03:10:50 2017 >>> New Revision: 318250 >>> URL: https://svnweb.freebsd.org/changeset/base/318250

svn commit: r318255 - in head/sys: netinet netinet6

2017-05-13 Thread Ngie Cooper
Author: ngie Date: Sat May 13 18:41:24 2017 New Revision: 318255 URL: https://svnweb.freebsd.org/changeset/base/318255 Log: Add missing braces around MCAST_EXCLUDE check when KTR support is compiled into the kernel This ensures that .iss_asm (the number of ASM listeners) isn't incorrectly

svn commit: r318257 - head/usr.bin/localedef

2017-05-13 Thread Ngie Cooper
Author: ngie Date: Sat May 13 19:59:03 2017 New Revision: 318257 URL: https://svnweb.freebsd.org/changeset/base/318257 Log: style(9): sort headers MFC after:3 weeks Sponsored by: Dell EMC Isilon Modified: head/usr.bin/localedef/localedef.h Modified: head/usr.bin/localedef/localede

svn commit: r318278 - head/usr.bin/localedef

2017-05-14 Thread Ngie Cooper
Author: ngie Date: Sun May 14 18:47:09 2017 New Revision: 318278 URL: https://svnweb.freebsd.org/changeset/base/318278 Log: Mark errf _Noreturn, and mark errf and warn __printflike The _Noreturn attribute was added to placate Coverity and other static analysis tools. The __printflike attr

svn commit: r318280 - head/usr.bin/getconf

2017-05-14 Thread Ngie Cooper
Author: ngie Date: Sun May 14 20:39:01 2017 New Revision: 318280 URL: https://svnweb.freebsd.org/changeset/base/318280 Log: getconf: use nitems(..) to compute NWORDS instead of hardcoding the equivalent macro MFC after:1 month Sponsored by: Dell EMC Isilon Modified: head/usr.bin/

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

2017-05-15 Thread Ngie Cooper
Author: ngie Date: Mon May 15 19:58:01 2017 New Revision: 318315 URL: https://svnweb.freebsd.org/changeset/base/318315 Log: lib/libc/gen/realpath_test: make check result from getcwd(3) This is being done to avoid dereferencing a NULL pointer via strlcat, obscuring the underlying issue wit

svn commit: r318325 - in head: etc/mtree usr.bin/procstat usr.bin/procstat/tests

2017-05-15 Thread Ngie Cooper
ad/usr.bin/procstat/tests/procstat_test.shMon May 15 22:52:25 2017(r318325) @@ -0,0 +1,140 @@ +# +# Copyright (c) 2017 Ngie Cooper +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the

svn commit: r318434 - head/usr.bin/getconf

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 01:35:07 2017 New Revision: 318434 URL: https://svnweb.freebsd.org/changeset/base/318434 Log: Make the `.gperf.c` suffix rule depend on fake-gperf.awk Parameterize out fake-gperf.awk to avoid duplicating the path MFC after:2 weeks Sponsored by: Dell

svn commit: r318436 - in head: etc/mtree usr.bin/getconf usr.bin/getconf/tests

2017-05-17 Thread Ngie Cooper
/tests/arch_type.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/getconf/tests/arch_type.c Thu May 18 01:43:30 2017 (r318436) @@ -0,0 +1,59 @@ +/* + * Copyright (c) 2017 Ngie Cooper + * All rights reserved. + * + * Redistribution and use in

svn commit: r318437 - head/usr.bin/getconf

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 01:46:30 2017 New Revision: 318437 URL: https://svnweb.freebsd.org/changeset/base/318437 Log: Revert local changes to find_progenv accidentally committed in r318436 MFC after:2 weeks MFC with: r318436 Sponsored by: Dell EMC Isilon Modified: head/

svn commit: r318439 - head/sys/modules/ipsec

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 06:13:29 2017 New Revision: 318439 URL: https://svnweb.freebsd.org/changeset/base/318439 Log: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r31

svn commit: r318440 - head/sys/modules/dtrace/dtaudit

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 06:15:42 2017 New Revision: 318440 URL: https://svnweb.freebsd.org/changeset/base/318440 Log: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files. MFC after:2 weeks Sponsored by: Dell EMC I

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

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 06:25:39 2017 New Revision: 318441 URL: https://svnweb.freebsd.org/changeset/base/318441 Log: Handle the cron.d entry for MK_AT in cron conditionally Install /etc/cron.d/at if MK_AT != no, always using it, which tries to run a non-existent program via cron(8)

svn commit: r318442 - in head/etc: . cron.d

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 06:27:37 2017 New Revision: 318442 URL: https://svnweb.freebsd.org/changeset/base/318442 Log: Revert r318441: the commit message was incoherent Deleted: head/etc/cron.d/ Modified: head/etc/Makefile head/etc/crontab Modified: head/etc/Makefile ===

svn commit: r318443 - in head/etc: . cron.d

2017-05-17 Thread Ngie Cooper
Author: ngie Date: Thu May 18 06:33:55 2017 New Revision: 318443 URL: https://svnweb.freebsd.org/changeset/base/318443 Log: Conditionally handle the crontab entry for atrun(8) The default crontab prior to this commit assumes atrun(8) is always present, which isn't true if MK_AT == no. Mov

svn commit: r318545 - head/etc

2017-05-19 Thread Ngie Cooper
Author: ngie Date: Fri May 19 17:04:01 2017 New Revision: 318545 URL: https://svnweb.freebsd.org/changeset/base/318545 Log: Install {cron.d,newsyslog.conf.d,syslog.d} via `make distribution`, not `make install` I incorrectly started this pattern in r277541 with the opensm newsyslog.conf.d

svn commit: r318546 - in head: contrib/netbsd-tests/fs/tmpfs tests/sys/fs/tmpfs

2017-05-19 Thread Ngie Cooper
Author: ngie Date: Fri May 19 17:14:29 2017 New Revision: 318546 URL: https://svnweb.freebsd.org/changeset/base/318546 Log: sys/fs/tmpfs/vnd_test: make md(4) allocation dynamic The previous logic was flawed in the sense that it assumed that /dev/md3 was always available. This was a caveat

svn commit: r318651 - head/sys

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Mon May 22 15:53:30 2017 New Revision: 318651 URL: https://svnweb.freebsd.org/changeset/base/318651 Log: Remove glimpse make target added in r181432 The textproc/glimpse port expired over 3 years ago because there weren't any more publicly available distfiles, and becau

svn commit: r318693 - head/usr.sbin/bsdinstall/partedit

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:04:38 2017 New Revision: 318693 URL: https://svnweb.freebsd.org/changeset/base/318693 Log: Some minor style(9) fixes - Wrap at <80 columns. - Sort by type MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/bsdinstall/part

svn commit: r318694 - head/usr.sbin/bsdinstall/partedit

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:05:54 2017 New Revision: 318694 URL: https://svnweb.freebsd.org/changeset/base/318694 Log: style(9): sort headers MFC after:2 weeks MFC with: r318693 Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c Modi

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

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:14:02 2017 New Revision: 318695 URL: https://svnweb.freebsd.org/changeset/base/318695 Log: err(3): use `NULL`, aka `(void*)0` per POSIX instead of `(FILE *)0` This is being done to aid humans and static analysis checkers. MFC after:2 weeks Sponsor

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

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:53:31 2017 New Revision: 318698 URL: https://svnweb.freebsd.org/changeset/base/318698 Log: basename(3): fix section ordering IMPLEMENTATION NOTES come before RETURN VALUES MFC after:2 weeks Reported by: make manlint Sponsored by: Dell EMC Isilo

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

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:55:51 2017 New Revision: 318699 URL: https://svnweb.freebsd.org/changeset/base/318699 Log: directory(3): delete trailing whitespace and rewrite `E.g.` as `e.g.` Reported by: make manlint Sponsored by: Dell EMC Isilon Modified: head/lib/libc/gen/directo

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

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:56:57 2017 New Revision: 318700 URL: https://svnweb.freebsd.org/changeset/base/318700 Log: dirname(3): fix section ordering IMPLEMENTATION NOTES come before RETURN VALUES MFC after:2 weeks Reported by: make manlint Sponsored by: Dell EMC Isilon

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

2017-05-22 Thread Ngie Cooper
Author: ngie Date: Tue May 23 06:58:08 2017 New Revision: 318701 URL: https://svnweb.freebsd.org/changeset/base/318701 Log: tcsendbreak(3): delete spurious blank line at the end of the man page MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/gen/tcsendbreak.

svn commit: r318702 - head/contrib/libc-vis

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:00:46 2017 New Revision: 318702 URL: https://svnweb.freebsd.org/changeset/base/318702 Log: vis(3): delete spurious .Pp macro MFC after:2 weeks Reported by: make manlint Sponsored by: Dell EMC Isilon Modified: head/contrib/libc-vis/vis.3 Modified

svn commit: r318703 - head/lib/libc/iconv

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:02:01 2017 New Revision: 318703 URL: https://svnweb.freebsd.org/changeset/base/318703 Log: __iconv_get_list: separate .Nm entries with commas MFC after:2 weeks Reported by: make manlint Sponsored by: Dell EMC Isilon Modified: head/lib/libc/iconv/

svn commit: r318704 - head/lib/libc/posix1e

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:05:34 2017 New Revision: 318704 URL: https://svnweb.freebsd.org/changeset/base/318704 Log: posix1e(3): reference using the section (3) when referencing libbsm with .Xr MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/posix1e/p

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

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:08:30 2017 New Revision: 318705 URL: https://svnweb.freebsd.org/changeset/base/318705 Log: fopen(3): make manlint fixes - Break on new lines. - Use .Dv with NULL. - Rewrap lines as necessary/when possible. MFC after:2 weeks Sponsored by: Dell

svn commit: r318706 - head/lib/libc/locale

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:09:26 2017 New Revision: 318706 URL: https://svnweb.freebsd.org/changeset/base/318706 Log: localeconv(3): start sentences on new lines Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/locale/locale

svn commit: r318707 - head/lib/libc/net

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:10:20 2017 New Revision: 318707 URL: https://svnweb.freebsd.org/changeset/base/318707 Log: sctp_send(3): start sentences on new lines Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/net/sctp_send.

svn commit: r318708 - head/lib/libc/posix1e

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:11:15 2017 New Revision: 318708 URL: https://svnweb.freebsd.org/changeset/base/318708 Log: acl_create_entry(3): separate .Nm entries with commas in SYNOPSIS Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/

svn commit: r318709 - head/lib/libc/posix1e

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:12:31 2017 New Revision: 318709 URL: https://svnweb.freebsd.org/changeset/base/318709 Log: acl_to_text(3): start sentences on new lines Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/posix1e/acl_

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

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:14:46 2017 New Revision: 318710 URL: https://svnweb.freebsd.org/changeset/base/318710 Log: quick_exit(3): delete trailing whitespace in licensing tort Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/li

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

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:15:57 2017 New Revision: 318711 URL: https://svnweb.freebsd.org/changeset/base/318711 Log: fopencookie(3): declare function pointers in SYNOPSIS correctly Add obligatory `*` in declarations. Reported by: make manlint MFC after:2 weeks Sponsored

svn commit: r318712 - head/lib/libc/xdr

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:17:52 2017 New Revision: 318712 URL: https://svnweb.freebsd.org/changeset/base/318712 Log: xdr(3): add missing comma after xdr_sizeof(3) in SYNOPSIS This unbreaks the .Nm declaration Reported by: make manlint MFC after:2 weeks Sponsored by: Del

svn commit: r318715 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:26:45 2017 New Revision: 318715 URL: https://svnweb.freebsd.org/changeset/base/318715 Log: _umtx_op(2): fix minor manlint issues - Sort .Xr entries in SEE ALSO section. - Sort SEE ALSO and STANDARDS sections properly, in terms of the entire document.

svn commit: r318717 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:31:03 2017 New Revision: 318717 URL: https://svnweb.freebsd.org/changeset/base/318717 Log: cap_enter(2): fix manlint issues - Sort SEE ALSO section appropriately. - Correct section for sysctl(9). Reported by: make manlint MFC after:2 weeks Sp

svn commit: r318718 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:32:57 2017 New Revision: 318718 URL: https://svnweb.freebsd.org/changeset/base/318718 Log: rctl_add_rule(2): fix manlint warnings - Fix commas (either missing or misused) after .Nm entries in SYNOPSIS Reported by: make manlint MFC after:2 weeks

svn commit: r318719 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:44:43 2017 New Revision: 318719 URL: https://svnweb.freebsd.org/changeset/base/318719 Log: open(2): fix manlint warnings - Sort SEE ALSO .Xr entries. - Sort sections (HISTORY comes after STANDARDS). Reported by: make manlint MFC after:2 weeks

svn commit: r318720 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:45:29 2017 New Revision: 318720 URL: https://svnweb.freebsd.org/changeset/base/318720 Log: ptrace(2): clean up trailing whitespace Reviewed by: make manlint MFC after:2 weeks Modified: head/lib/libc/sys/ptrace.2 Modified: head/lib/libc/sys/ptrace.

svn commit: r318721 - head/lib/libc/sys

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:46:10 2017 New Revision: 318721 URL: https://svnweb.freebsd.org/changeset/base/318721 Log: kill(2): add missing section for sysctl(9) Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/sys/kill.2 Mo

svn commit: r318722 - head/usr.sbin/bsdinstall/partedit

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 07:50:42 2017 New Revision: 318722 URL: https://svnweb.freebsd.org/changeset/base/318722 Log: sade(8): start new sentence on new line Reported by: make manlint MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/bsdinstall/parted

svn commit: r318723 - head/usr.sbin/bsdinstall

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 08:01:11 2017 New Revision: 318723 URL: https://svnweb.freebsd.org/changeset/base/318723 Log: bsdinstall(8): fix manpage issues - Start new sentences on new lines. - Separate e.g. (more of an igor thing) with commas, and rewrite some examples not to be en

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

2017-05-23 Thread Ngie Cooper
Author: ngie Date: Tue May 23 17:34:10 2017 New Revision: 318753 URL: https://svnweb.freebsd.org/changeset/base/318753 Log: directory(3): add trailing comma after e.g., missed in r318699 Submitted by: bjk MFC after:2 weeks MFC with: r318699 Sponsored by: Dell EMC Isilon Modif

svn commit: r319002 - head/usr.bin/grep/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 22:40:20 2017 New Revision: 319002 URL: https://svnweb.freebsd.org/changeset/base/319002 Log: :rgrep : use atf-check to check the exit code/save the output of grep -r instead of calling grep -r without it, and saving the output to a file This ensures that an

svn commit: r319008 - head/lib/libkvm/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:19:32 2017 New Revision: 319008 URL: https://svnweb.freebsd.org/changeset/base/319008 Log: kvm_geterr_test: Compile out the portions that require kvm_open2(3) on systems that lack the libcall, based on __FreeBSD_version. kvm_open2(3) wasn't made available

svn commit: r319010 - head/lib/libkvm/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:23:22 2017 New Revision: 319010 URL: https://svnweb.freebsd.org/changeset/base/319010 Log: Fix #if conditional added in r319008 I committed an earlier version of the file by accident This is a no-op on ^/head and ^/stable/11. MFC after:now Sp

svn commit: r319015 - head/tools/regression/geom_gpt

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sat May 27 23:57:09 2017 New Revision: 319015 URL: https://svnweb.freebsd.org/changeset/base/319015 Log: Use calloc instead of malloc + memset MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tools/regression/geom_gpt/gctl_test_helper.c Modified: he

svn commit: r319019 - head/lib/libgeom

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 00:28:11 2017 New Revision: 319019 URL: https://svnweb.freebsd.org/changeset/base/319019 Log: Remove getpagesize(3) error checking added in r317312 getpagesize(3) no longer fails as of r317436. MFC after:3 days Sponsored by: Dell EMC Isilon Modified

svn commit: r319026 - head/usr.sbin/pw/tests

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 02:15:57 2017 New Revision: 319026 URL: https://svnweb.freebsd.org/changeset/base/319026 Log: pw: add some basic testcases for groupshow and usershow - groupshow: test out -a/-g/-n . - usershow: test out -a/-n/-u . MFC after:1 week Sponsored by: De

svn commit: r319027 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 02:55:04 2017 New Revision: 319027 URL: https://svnweb.freebsd.org/changeset/base/319027 Log: lib/libc/tests/nss: use calloc appropriately The pattern used prior to this commit was `calloc(1, n * sizeof(type))`; the pattern that should be used however is `cal

svn commit: r319028 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:39:24 2017 New Revision: 319028 URL: https://svnweb.freebsd.org/changeset/base/319028 Log: Sort make variables to suit style.Makefile(5) This is being done prior to functional changes. MFC after:3 days Sponsored by: Dell EMC Isilon Modified: he

svn commit: r319029 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:42:49 2017 New Revision: 319029 URL: https://svnweb.freebsd.org/changeset/base/319029 Log: Staticize functions and remove unused variables to aid with bumping WARNS MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/get

svn commit: r319030 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:47:58 2017 New Revision: 319030 URL: https://svnweb.freebsd.org/changeset/base/319030 Log: Fix -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getgr_test.c Modified: head/lib/libc/tests/nss/g

svn commit: r319031 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 03:58:36 2017 New Revision: 319031 URL: https://svnweb.freebsd.org/changeset/base/319031 Log: getusershell_test: staticize run_tests(..) to fix warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getusershell_test.

svn commit: r319034 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:03:45 2017 New Revision: 319034 URL: https://svnweb.freebsd.org/changeset/base/319034 Log: getaddrinfo_test: fix -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getaddrinfo_test.c Modified: h

svn commit: r319033 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:03:06 2017 New Revision: 319033 URL: https://svnweb.freebsd.org/changeset/base/319033 Log: getserv_test: fix -Wsign-compare and -Wmissing-prototypes warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getserv_te

svn commit: r319035 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:04:32 2017 New Revision: 319035 URL: https://svnweb.freebsd.org/changeset/base/319035 Log: getrpc_test: fix -Wmissing-prototypes and -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getrpc_test

svn commit: r319036 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:05:19 2017 New Revision: 319036 URL: https://svnweb.freebsd.org/changeset/base/319036 Log: getproto_test: fix -Wmissing-prototypes and -Wsign-compare warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getproto_

svn commit: r319037 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:11:04 2017 New Revision: 319037 URL: https://svnweb.freebsd.org/changeset/base/319037 Log: getaddrinfo_test: mark unused function parameters __unused to fix -Wunused warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/t

svn commit: r319038 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:12:02 2017 New Revision: 319038 URL: https://svnweb.freebsd.org/changeset/base/319038 Log: getusershell_test: mark mdata parameter in compare_usershell __unused MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getuser

svn commit: r319039 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:12:52 2017 New Revision: 319039 URL: https://svnweb.freebsd.org/changeset/base/319039 Log: getserv_test: mark unused parameters __unused to fix corresponding warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss

svn commit: r319040 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:15:05 2017 New Revision: 319040 URL: https://svnweb.freebsd.org/changeset/base/319040 Log: getrpc_test: fix -Wunused warnings - Mark unused function parameters unused. - Remove an unused function prototype. MFC after:3 days Sponsored by: Dell EM

svn commit: r319041 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:15:57 2017 New Revision: 319041 URL: https://svnweb.freebsd.org/changeset/base/319041 Log: getproto_test: fix -Wunused warnings Mark unused parameters __unused in functions. MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc

svn commit: r319042 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:34:57 2017 New Revision: 319042 URL: https://svnweb.freebsd.org/changeset/base/319042 Log: gethostby_test: fix multiple warning types - Fix -Wmissing-declaration warning by staticizing run_tests. - Fix -Wsign-compare warnings by casting size_t types to int

svn commit: r319043 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:41:06 2017 New Revision: 319043 URL: https://svnweb.freebsd.org/changeset/base/319043 Log: getpw_test: fix -Wunused warnings - Mark unused parameters __unused. - Put dump_passwd under DEBUG as it's only used in that case. MFC after:3 days Sponso

svn commit: r319044 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 04:43:02 2017 New Revision: 319044 URL: https://svnweb.freebsd.org/changeset/base/319044 Log: getgr_test: fix -Wunused warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getgr_test.c Modified: head/lib/libc/tests

svn commit: r319045 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 05:26:45 2017 New Revision: 319045 URL: https://svnweb.freebsd.org/changeset/base/319045 Log: Fix -Wunused and -Wshadow warnings MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/gethostby_test.c Modified: head/lib/libc/

svn commit: r319046 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 05:31:18 2017 New Revision: 319046 URL: https://svnweb.freebsd.org/changeset/base/319046 Log: Fix a -Wunused-but-set-variable warning reported by gcc 6.3.0 MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/lib/libc/tests/nss/getaddrinfo_tes

svn commit: r319048 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 06:26:43 2017 New Revision: 319048 URL: https://svnweb.freebsd.org/changeset/base/319048 Log: Push `snapshot_file` copying down into run_tests function, and mark snapshot_file const char *. This fixes a bogus set of errors from gcc about strdup not being all

svn commit: r319049 - head/lib/libc/tests/nss

2017-05-27 Thread Ngie Cooper
Author: ngie Date: Sun May 28 06:29:01 2017 New Revision: 319049 URL: https://svnweb.freebsd.org/changeset/base/319049 Log: Bump WARNS from 1 to 3 after recent commits to fix warnings in the directory. Tested with: clang 4.0, gcc 4.2.1, gcc 6.3.0 MFC after:1 week Sponsored by: De

svn commit: r319051 - head/lib/libc/tests/nss

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 07:04:50 2017 New Revision: 319051 URL: https://svnweb.freebsd.org/changeset/base/319051 Log: hostent_test_getnameinfo_eq(..): initialize found_a_host to false MFC after:1 week Reported by: Coverity CID: 1368943 Sponsored by: Dell EMC Isilon

svn commit: r319054 - head/lib/libc/tests/nss

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 07:40:42 2017 New Revision: 319054 URL: https://svnweb.freebsd.org/changeset/base/319054 Log: hostent_test_getaddrinfo_eq(..): call freeaddrinfo on `ai` when done This plugs a leak of memory allocated via getaddrinfo. MFC after:1 week Reported by: C

svn commit: r319056 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:46:41 2017 New Revision: 319056 URL: https://svnweb.freebsd.org/changeset/base/319056 Log: tests/sys/file/ftruncate_test: use an exit code of 1 instead of -1 with err*(3). An exit code of -1 is implementation defined -- it's best to stick with something

svn commit: r319058 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:52:12 2017 New Revision: 319058 URL: https://svnweb.freebsd.org/changeset/base/319058 Log: Create a deterministic file in the kyua sandbox, instead of a temporary file outside the kyua sandbox This helps ensure that the file is removed at test exit, and as

svn commit: r319059 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:55:32 2017 New Revision: 319059 URL: https://svnweb.freebsd.org/changeset/base/319059 Log: Use an exit code of 1 instead of -1 for reasons noted in r319056 MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tests/sys/file/newfileops_on_fo

svn commit: r319060 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:57:08 2017 New Revision: 319060 URL: https://svnweb.freebsd.org/changeset/base/319060 Log: Use main(void) instead of main(argc __unused, argv __unused) MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tests/sys/file/newfileops_on_fork_t

svn commit: r319061 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:01:58 2017 New Revision: 319061 URL: https://svnweb.freebsd.org/changeset/base/319061 Log: Don't leak accept_fd on thread completion MFC after:3 days Reported by: Coverity CID: 1296068 Sponsored by: Dell EMC Isilon Modified: head/tests

svn commit: r319062 - head/tests/sys/netinet

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:08:30 2017 New Revision: 319062 URL: https://svnweb.freebsd.org/changeset/base/319062 Log: Initial `srv` before using it in bind(2) MFC after:3 days Reported by: Coverity CID: 1357526 Sponsored by: Dell EMC Isilon Modified: head/tests/

svn commit: r319063 - head/tests/sys/kern

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:21:28 2017 New Revision: 319063 URL: https://svnweb.freebsd.org/changeset/base/319063 Log: Send all of `data`, not just a portion of it It was sending only a long's worth (4 or 8 bytes) of data previously (instead of the entire buffer) via send(2). MF

svn commit: r319078 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 17:50:29 2017 New Revision: 319078 URL: https://svnweb.freebsd.org/changeset/base/319078 Log: Tweak r319058 slightly - Specify an explicit mode when using O_CREAT per open(2). - Fix the error message (add missing enclosing parentheses). Submitted by: jil

svn commit: r319155 - head/lib/libnv/tests

2017-05-29 Thread Ngie Cooper
Author: ngie Date: Mon May 29 18:34:45 2017 New Revision: 319155 URL: https://svnweb.freebsd.org/changeset/base/319155 Log: lib/libnv/tests/dnv_test: fix memory leaks for memory allocated via either strdup or one of the dnvlist* libcalls. Reported by: Coverity CID: 1362056-136

svn commit: r319156 - head/lib/libnv/tests

2017-05-29 Thread Ngie Cooper
Author: ngie Date: Mon May 29 18:39:28 2017 New Revision: 319156 URL: https://svnweb.freebsd.org/changeset/base/319156 Log: :nvlist_unpack__duplicate_key : check the result of nvlist_pack(3) This fixes a potential NULL pointer dereference. MFC after:3 days Reported by: Coverity

svn commit: r319157 - head/lib/msun/tests

2017-05-29 Thread Ngie Cooper
Author: ngie Date: Mon May 29 18:45:10 2017 New Revision: 319157 URL: https://svnweb.freebsd.org/changeset/base/319157 Log: fma_test: mute a warning about unreachable code on amd64 by restructuring the #ifdef block to only handle the rest of the logic in the loop in the #else case. MFC

svn commit: r319158 - head/lib/msun/tests

2017-05-29 Thread Ngie Cooper
Author: ngie Date: Mon May 29 18:49:28 2017 New Revision: 319158 URL: https://svnweb.freebsd.org/changeset/base/319158 Log: logarithm_test: assert that feclearexcept succeeds This helps ensure that test preconditons are fulfilled. MFC after:3 days Reported by: Coverity CID:

svn commit: r319159 - head/lib/libnv/tests

2017-05-29 Thread Ngie Cooper
Author: ngie Date: Mon May 29 19:02:52 2017 New Revision: 319159 URL: https://svnweb.freebsd.org/changeset/base/319159 Log: :dnvlist_get_string__default_value: fix a bogus string comparison test Check actual_value vs "5", not "5" vs itself. MFC after:3 days Reported by: Coverity

svn commit: r319246 - head/tools/build/options

2017-05-30 Thread Ngie Cooper
Author: ngie Date: Tue May 30 18:03:34 2017 New Revision: 319246 URL: https://svnweb.freebsd.org/changeset/base/319246 Log: Use .Xr to reference libblacklist(3), blacklistctl(8), and blacklistd(8) MFC after:now Sponsored by: Dell EMC Isilon Modified: head/tools/build/options/WITHOU

svn commit: r319248 - head/share/man/man5

2017-05-30 Thread Ngie Cooper
Author: ngie Date: Tue May 30 18:06:19 2017 New Revision: 319248 URL: https://svnweb.freebsd.org/changeset/base/319248 Log: Regenerate src.conf(5) This contains a number of content changes due to src.opts.mk changes. Sponsored by: Dell EMC Isilon Modified: head/share/man/man5/src.co

svn commit: r319293 - head/usr.bin/mkimg/tests

2017-05-31 Thread Ngie Cooper
Author: ngie Date: Wed May 31 07:42:14 2017 New Revision: 319293 URL: https://svnweb.freebsd.org/changeset/base/319293 Log: Formalize the dependent/dependency relationship for .gz.uu vs This helps ensure that the output files are regenerated if the input files change, after the output fi

svn commit: r319294 - head/usr.bin/mkimg/tests

2017-05-31 Thread Ngie Cooper
Author: ngie Date: Wed May 31 07:49:49 2017 New Revision: 319294 URL: https://svnweb.freebsd.org/changeset/base/319294 Log: Fix "make rebase" after ^/head@r315776 "make rebase" can be used for rebasing the output files from mkimg after making a change to mkimg. This will come in handy soo

svn commit: r319295 - head/usr.bin/mkimg/tests

2017-05-31 Thread Ngie Cooper
Author: ngie Date: Wed May 31 08:01:12 2017 New Revision: 319295 URL: https://svnweb.freebsd.org/changeset/base/319295 Log: Update the usr.bin/mkimg golden test output files after ^/head@r319125 ^/head@r319125 changed the location of the backup pmbr, requiring the output files to be regen

Re: svn commit: r319125 - head/usr.bin/mkimg

2017-05-31 Thread Ngie Cooper
> On May 31, 2017, at 02:48, Emmanuel Vadot wrote: > > On Wed, 31 May 2017 00:20:45 -0700 > "Ngie Cooper (yaneurabeya)" wrote: > >> >>> On May 29, 2017, at 05:51, Emmanuel Vadot wrote: >>> >>> Author: manu >>> Dat

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Ngie Cooper
> On Jun 1, 2017, at 08:35, Marcel Moolenaar wrote: > > >> On Jun 1, 2017, at 8:32 AM, Alan Somers wrote: ... >> If the files are binary, then why not store them as binary files? > > A 100MB image, committed as binary file is 100MB of data. The hexdump -C > equivalent is often only a few hu

svn commit: r319455 - head/tests/sys/opencrypto

2017-06-01 Thread Ngie Cooper
Author: ngie Date: Thu Jun 1 19:46:48 2017 New Revision: 319455 URL: https://svnweb.freebsd.org/changeset/base/319455 Log: Fix up `TEST_METADATA` - `TEST_METADATA.foo` should be `TEST_METADATA.run_tests`: this will unbreak trying to run the tests on a system without python installed in

svn commit: r319456 - head/tests/sys/opencrypto

2017-06-01 Thread Ngie Cooper
Author: ngie Date: Thu Jun 1 19:58:40 2017 New Revision: 319456 URL: https://svnweb.freebsd.org/changeset/base/319456 Log: tests/sys/opencrypto/runtests: apply minor polish to test script - Refactor kld loading/unloading logic: -- Use a loop instead of an unrolled one. -- Check for the

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: 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: head/bin/d

  1   2   3   4   5   6   7   8   9   10   >