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
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
>>
>>
> 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
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
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
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
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/
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
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
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
/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
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/
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
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
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)
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
===
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
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
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
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
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
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
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
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
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
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
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.
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
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/
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
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
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
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.
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/
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_
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
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
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
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.
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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_
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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:
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
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
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
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
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
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
> 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
> 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
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
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
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
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 - 100 of 1553 matches
Mail list logo