Author: ngie
Date: Thu Aug 25 17:07:43 2016
New Revision: 304809
URL: https://svnweb.freebsd.org/changeset/base/304809
Log:
Add non-TRUSTEDBSD prefixed knobs for the _PC_ACL* and {CAP,INF,MAC}_PRESENT
knobs
It's not necessarily intuitive that the variables to query contain TRUSTEDBSD
in
Author: ngie
Date: Tue Aug 23 19:41:49 2016
New Revision: 304698
URL: https://svnweb.freebsd.org/changeset/base/304698
Log:
Add support for _PC_ACL_NFS4 as TRUSTEDBSD_ACL_NFS4
The TRUSTEDBSD prefix was chosen for consistency with the other
related `_PC_ACL*` prefixed variables.
MFC a
Author: ngie
Date: Tue Aug 23 19:28:01 2016
New Revision: 304694
URL: https://svnweb.freebsd.org/changeset/base/304694
Log:
Add `MIN_HOLE_SIZE` pathconf(2) support to getconf
This allows shell programs to programmatically determine whether
or not a filesystem supports sparse files
MF
Author: ngie
Date: Tue Aug 23 19:15:01 2016
New Revision: 304693
URL: https://svnweb.freebsd.org/changeset/base/304693
Log:
Clean up trailing whitespace
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.bin/getconf/getconf.c
Modified: head/usr.bin/getcon
Author: ngie
Date: Tue Aug 16 20:35:36 2016
New Revision: 304238
URL: https://svnweb.freebsd.org/changeset/base/304238
Log:
Only expect :encode_tv_random_million to fail on 64-bit platforms
It passes on i386
MFC after:1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Sat Aug 13 06:26:33 2016
New Revision: 304040
URL: https://svnweb.freebsd.org/changeset/base/304040
Log:
Redirect the output of the testcases to stderr instead of
redirecting it to /dev/null
This will aid in debugging failures
MFC after:1 week
Sponsored by: E
Author: ngie
Date: Sat Aug 13 02:05:06 2016
New Revision: 304034
URL: https://svnweb.freebsd.org/changeset/base/304034
Log:
Initialize `ai` to NULL and test for `ai` with type-appropriate values
Depending on the address family and ai_flags containing AI_V4MAPPED,
it might not do a proper
Author: ngie
Date: Sat Aug 13 01:49:11 2016
New Revision: 304033
URL: https://svnweb.freebsd.org/changeset/base/304033
Log:
Increase timeout from 10 minutes to 20 minutes for all tests
On particular slow networks, it can (on average) take longer to
resolve hosts to IP* addresses. 20 minut
Author: ngie
Date: Wed Aug 10 03:10:34 2016
New Revision: 303900
URL: https://svnweb.freebsd.org/changeset/base/303900
Log:
Highball memory requirement (4GB) with common/{raise,safety}
Both test suites require more memory than my amd64 VM using
GENERIC-NODEBUG can provide and reliably pan
Author: ngie
Date: Mon Aug 8 07:19:30 2016
New Revision: 303830
URL: https://svnweb.freebsd.org/changeset/base/303830
Log:
Remove vestigal references to __alpha__
Replace alpha reference in getconf(1) with amd64 [*]
MFC after:1 week
PR: 211300 [*]
Submitted by: Sevan
Author: ngie
Date: Sat Aug 6 19:05:01 2016
New Revision: 303804
URL: https://svnweb.freebsd.org/changeset/base/303804
Log:
Fix building usr.bin/tar/tests with PIE symbol building enabled by
removing CFLAGS+= -static
`CFLAGS+= -static` was a carryover from pre-r289195 with
usr.bin/tar/t
Author: ngie
Date: Sun Jul 31 06:34:49 2016
New Revision: 303576
URL: https://svnweb.freebsd.org/changeset/base/303576
Log:
Conditionalize code which defines sysctls per _KERNEL #ifdef guard
This resolves several issues when compiling libzpool (userspace library), i.e.
-Wimplicit-function
Author: ngie
Date: Sun Jul 31 06:28:40 2016
New Revision: 303575
URL: https://svnweb.freebsd.org/changeset/base/303575
Log:
Remove calls to `die` added for associated bugs
Panics are no longer hit with ^/head@r303573 on amd64
PR: 194586, 194587, 194589
Sponsored by: EMC / Isilo
Author: ngie
Date: Sun Jul 31 06:03:27 2016
New Revision: 303573
URL: https://svnweb.freebsd.org/changeset/base/303573
Log:
Cast result from third parameter to int instead of promoting it to size_t
This resolves a -Wformat issue when the value is used as a format width
precision specifier
Author: ngie
Date: Sun Jul 31 05:31:09 2016
New Revision: 303572
URL: https://svnweb.freebsd.org/changeset/base/303572
Log:
Fix regression with /i caused by r303047
'\n' was specifically added to -e arguments prior to r303047. Restore
historical behavior which in turn fixes usr.sbin/etcup
Author: ngie
Date: Sat Jul 30 04:40:44 2016
New Revision: 303538
URL: https://svnweb.freebsd.org/changeset/base/303538
Log:
Explicitly test for cu_fgets returning NULL or !NULL
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.bin/sed/compile.c
Modified
Author: ngie
Date: Wed Jul 27 06:49:16 2016
New Revision: 303367
URL: https://svnweb.freebsd.org/changeset/base/303367
Log:
Testcase 7.8 no longer needs to be marked TODO
It passes out of the box today
MFC after: 2 months
Sponsored by: EMC / Isilon Storage Division
Modified:
head/
Author: ngie
Date: Thu Jul 14 14:16:20 2016
New Revision: 302842
URL: https://svnweb.freebsd.org/changeset/base/302842
Log:
Don't delete usr/share/local/kk_KZ.UTF-8 with "make delete-old" after r302329
kk_KZ.UTF-8 was originally removed in r290494, but restored as an alias to
en_US.UTF-8
Author: ngie
Date: Thu Jul 14 13:55:38 2016
New Revision: 302841
URL: https://svnweb.freebsd.org/changeset/base/302841
Log:
Always panic if an invalid capability is passed to `capable(..)` instead of
just with INVARIANTS
rwatson's point was valid in the sense that if the data passed at ru
Author: ngie
Date: Thu Jul 14 06:10:16 2016
New Revision: 302807
URL: https://svnweb.freebsd.org/changeset/base/302807
Log:
Initialize first_serial to 0 in dozonetransfer(..) to fix -Wuninitialized
warning
MFC after: 3 days
X-MFC with: r302779
Pointyhat to: des
PR: 209177
Reported
Author: ngie
Date: Mon Jul 11 17:11:18 2016
New Revision: 302581
URL: https://svnweb.freebsd.org/changeset/base/302581
Log:
Remove redundant declaration for tcp_dooptions, similar to r302576
netinet/tcp_var.h already defines this function
Differential Revision:https://reviews.f
Author: ngie
Date: Mon Jul 11 17:01:07 2016
New Revision: 302577
URL: https://svnweb.freebsd.org/changeset/base/302577
Log:
Add missing default case to capable(..) function definition
By definition (enum __drm_capabilities), cases other than CAP_SYS_ADMIN
aren't possible. Add in a KASSERT
Author: ngie
Date: Mon Jul 11 16:56:51 2016
New Revision: 302576
URL: https://svnweb.freebsd.org/changeset/base/302576
Log:
(Re-do r302574 with corrected commit message..)
Remove redundant declaration for tcp_dooptions
netinet/tcp_var.h already defines this function
Differential R
Author: ngie
Date: Mon Jul 11 16:54:19 2016
New Revision: 302575
URL: https://svnweb.freebsd.org/changeset/base/302575
Log:
Revert r302574. I botched the commit message in more way than 1
Modified:
head/sys/dev/cxgb/ulp/tom/cxgb_listen.c
Modified: head/sys/dev/cxgb/ulp/tom/cxgb_listen.c
Author: ngie
Date: Mon Jul 11 16:52:04 2016
New Revision: 302574
URL: https://svnweb.freebsd.org/changeset/base/302574
Log:
Remove redundant declaration for tcp_dooptions
netinet/tcp_var.h already defines this function
PR: 209924
Reported by: Mark Millard
Reviewed by:
Author: ngie
Date: Mon Jul 11 15:50:06 2016
New Revision: 302572
URL: https://svnweb.freebsd.org/changeset/base/302572
Log:
Remove redundant declarations for intel_fbc_enabled(..) and
i915_gem_dump_object(..) to fix -Wredundant-decls warning
MFC after:1 week
PR: 209924
R
Author: ngie
Date: Mon Jul 11 15:47:43 2016
New Revision: 302571
URL: https://svnweb.freebsd.org/changeset/base/302571
Log:
Remove redundant declaration for radeon_pm_acpi_event_handler(..) to fix
-Wredundant-decls warning
MFC after:1 week
PR: 209924
Reported by: Mark M
Author: ngie
Date: Mon Jul 11 07:24:56 2016
New Revision: 302553
URL: https://svnweb.freebsd.org/changeset/base/302553
Log:
Don't test for xpt not being NULL before calling svc_xprt_free(..)
svc_xprt_alloc(..) will always return initialized memory as it uses
mem_alloc(..) under the covers
Author: ngie
Date: Mon Jul 11 07:17:52 2016
New Revision: 302552
URL: https://svnweb.freebsd.org/changeset/base/302552
Log:
Convert `svc_xprt_alloc(..)` and `svc_xprt_free(..)`'s prototypes to
ANSI C style prototypes
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modifie
Author: ngie
Date: Mon Jul 11 07:07:15 2016
New Revision: 302551
URL: https://svnweb.freebsd.org/changeset/base/302551
Log:
Deobfuscate cleanup path in clnt_vc_create(..)
Similar to r300836, r301800, and r302550, cl and ct will always
be non-NULL as they're allocated using the mem_alloc r
Author: ngie
Date: Mon Jul 11 06:58:24 2016
New Revision: 302550
URL: https://svnweb.freebsd.org/changeset/base/302550
Log:
Deobfuscate cleanup path in clnt_dg_create(..)
Similar to r300836 and r301800, cl and cu will always be non-NULL as they're
allocated using the mem_alloc routines, w
Author: ngie
Date: Sun Jul 10 20:42:18 2016
New Revision: 302532
URL: https://svnweb.freebsd.org/changeset/base/302532
Log:
Correct OLD_LIBS change done in r298840
libkvm.so lives in /lib, not /usr/lib
MFC after: 3 days
X-MFC note: ^/stable/11 only
X-MFC with: r298840
Submitted b
Author: ngie
Date: Fri Jul 8 16:29:45 2016
New Revision: 302438
URL: https://svnweb.freebsd.org/changeset/base/302438
Log:
Revert r302403
lang/gcc{48,49,5} lacks -fformat-extensions support (causing build errors,
which
is what prompted r302403 to be committed). devel/amd64-gcc on the ot
Author: ngie
Date: Thu Jul 7 22:44:23 2016
New Revision: 302403
URL: https://svnweb.freebsd.org/changeset/base/302403
Log:
Do not use -fformat-extensions with non-base versions of gcc
Ports versions of gcc do not have -fformat-extensions support.
This unbreaks compiling the kernel/mod
Author: ngie
Date: Wed Jul 6 16:02:15 2016
New Revision: 302373
URL: https://svnweb.freebsd.org/changeset/base/302373
Log:
Fix CTASSERT issue in a more clean way
- Replace all CTASSERT macro instances with static_assert's.
- Remove the WRAPPED_CTASSERT macro; it's now an unnecessary obfu
Author: ngie
Date: Wed Jul 6 05:17:56 2016
New Revision: 302369
URL: https://svnweb.freebsd.org/changeset/base/302369
Log:
Fix gcc warning
Remove -Wunused-but-set-variable (`mopt`).
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D7119
MFC after: 1 week
Author: ngie
Date: Wed Jul 6 05:17:07 2016
New Revision: 302368
URL: https://svnweb.freebsd.org/changeset/base/302368
Log:
Fix gcc build errors with SSE 4.2 detection and gcc warnings
- Remove -Wunused-but-set-variable's (`len`, etc).
- Replace clang-specific tests in sse42_supported(..)
Author: ngie
Date: Wed Jul 6 05:11:39 2016
New Revision: 302367
URL: https://svnweb.freebsd.org/changeset/base/302367
Log:
Fix gcc warnings
Remove unused function (`fifo_available`)
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D7119
MFC after: 1 week
Author: ngie
Date: Wed Jul 6 05:09:13 2016
New Revision: 302366
URL: https://svnweb.freebsd.org/changeset/base/302366
Log:
Fix gcc warnings
- Put parentheses around bitwise OR'ed values in the `FIELD_COPY(..)` and
`FIELD_REPLACE(..)` macros to mute warning from gcc 4.2.1.
- Remove -W
Author: ngie
Date: Wed Jul 6 05:05:03 2016
New Revision: 302365
URL: https://svnweb.freebsd.org/changeset/base/302365
Log:
Fix gcc warnings
Remove -Wunused-but-set-variable (`error`). Cast calls with
`(void)` to note that the return value is explicitly ignored.
Approved by: re (gjb)
Author: ngie
Date: Wed Jul 6 05:02:59 2016
New Revision: 302364
URL: https://svnweb.freebsd.org/changeset/base/302364
Log:
Fix gcc warnings
Add `WRAPPED_CTASSERT` macro by annotating CTASSERTs with __unused
to deal with -Wunused-local-typedefs warnings from gcc 4.8+.
All other compiler
Author: ngie
Date: Wed Jul 6 04:58:42 2016
New Revision: 302363
URL: https://svnweb.freebsd.org/changeset/base/302363
Log:
Fix gcc warnings
Put cfl/prdt under AHCI_DEBUG #defines as they are only used in
those cases.
Approved by: re (gjb)
Differential Revision: https://reviews.fre
Author: ngie
Date: Wed Jul 6 04:56:45 2016
New Revision: 302362
URL: https://svnweb.freebsd.org/changeset/base/302362
Log:
Fix gcc warnings
- Remove -Wunused-but-set-variable (newcpu)
- Always return VMEXIT_CONTINUE as the code always set retval to that value.
Approved by: re (gjb)
Author: ngie
Date: Sun Jul 3 18:27:00 2016
New Revision: 302330
URL: https://svnweb.freebsd.org/changeset/base/302330
Log:
Remove ftp(1) related files when MK_FTP == no
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Author: ngie
Date: Sun Jul 3 17:52:21 2016
New Revision: 302327
URL: https://svnweb.freebsd.org/changeset/base/302327
Log:
Fix .../usr.bin/lastcomm/legacy_test:main on i386
The time in the output files was ahead by 3 hours on i386. Fix the incorrect
offset.
Differential Revision: ht
Author: ngie
Date: Sun Jul 3 17:51:24 2016
New Revision: 302326
URL: https://svnweb.freebsd.org/changeset/base/302326
Log:
Output the diffs to standard error when comparing the expected vs the
obtained output from lastcomm instead of just printing out a summary, e.g.
"they differed".
T
Author: ngie
Date: Sun Jul 3 01:35:27 2016
New Revision: 302321
URL: https://svnweb.freebsd.org/changeset/base/302321
Log:
Update libxo to 0.6.3
This fixes the 02 testcases on i386 (at least), and may fix the testcases
in general on 32-bit platforms
Differential Revision: https://re
Author: ngie
Date: Mon Jun 13 11:19:06 2016
New Revision: 301871
URL: https://svnweb.freebsd.org/changeset/base/301871
Log:
Add missing break in lock_partialfilelock(..) with NFS_RESERR
This will help ensure that the right error is trickled up when the
function is called if the lock statu
;Michael Reifenberger\n...@freebsd.org\n2001/09/30"]
neel [label="Neel Natu\nn...@freebsd.org\n2009/09/20"]
netchild [label="Alexander Leidinger\nnetch...@freebsd.org\n2005/03/31"]
-ngie [label="Garrett Cooper\nn...@freebsd.org\n2014/07/27"]
+ngie [la
Author: ngie
Date: Fri Jun 10 17:53:28 2016
New Revision: 301800
URL: https://svnweb.freebsd.org/changeset/base/301800
Log:
Deobfuscate cleanup path in clnt_bck_create(..)
Similar to r300836, cl and ct will always be non-NULL as they're allocated
using the mem_alloc routines, which always
Author: ngie
Date: Thu Jun 9 19:12:51 2016
New Revision: 301753
URL: https://svnweb.freebsd.org/changeset/base/301753
Log:
Fix up r274061
Detect /usr/share/dict/words the "right way" by using require.files instead of
the hacked up attempt in the dict(..) function, which didn't work prope
Author: ngie
Date: Thu Jun 9 18:35:37 2016
New Revision: 301752
URL: https://svnweb.freebsd.org/changeset/base/301752
Log:
Update `goodResult` after recent changes made to the PRNG in libc
The PRNG was changed in r300953/r300956, and subsequently, the numbers
generated have changed. This
Author: ngie
Date: Thu Jun 9 18:11:42 2016
New Revision: 301749
URL: https://svnweb.freebsd.org/changeset/base/301749
Log:
Add debug output to aid in determining why `goodResult` != `result`
MFC after: 1 week
PR: 210619 (for diagnosis)
Sponsored by: EMC / Isilon Storage Division
Modif
Author: ngie
Date: Wed Jun 8 23:30:13 2016
New Revision: 301708
URL: https://svnweb.freebsd.org/changeset/base/301708
Log:
Revert r301707
getnetent_p doesn't return NULL like getnetent does. coccinelle got confused
and
I didn't verify that it worked before committing the change
MFC
Author: ngie
Date: Wed Jun 8 23:23:19 2016
New Revision: 301707
URL: https://svnweb.freebsd.org/changeset/base/301707
Log:
Use NULL instead of `0` in _ht_getnetbyname(..)
- getnetent returns NULL on completion/error.
- .h_aliases is NULL terminated.
MFC after: 1 week
Sponsored by:
Author: ngie
Date: Wed Jun 8 23:17:30 2016
New Revision: 301704
URL: https://svnweb.freebsd.org/changeset/base/301704
Log:
Test for strchr(3) returning NULL, not 0
MFC after: 3 days
Reported by: coccinelle
Sponsored by: EMC / Isilon Storage Division
Modified:
head/lib/libc/rpc/getne
Author: ngie
Date: Wed Jun 8 18:38:48 2016
New Revision: 301683
URL: https://svnweb.freebsd.org/changeset/base/301683
Log:
Fix typo with description for $ipv6_cpe_wanif (upstram -> upstream)
MFC after: 3 days
PR: 210146
Reported by: Sean M. Collins
Sponsored by: EMC / Isilon Storage
Author: ngie
Date: Wed Jun 8 12:45:22 2016
New Revision: 301605
URL: https://svnweb.freebsd.org/changeset/base/301605
Log:
Bounds check rpcbs_rmtcall(..) to ensure rtype is less than RPCBVERS_STAT
Not returning if rtype == RPCBVERS_STAT will cause us to overrun the inf
array, as
it's de
Author: ngie
Date: Tue May 31 06:24:09 2016
New Revision: 301023
URL: https://svnweb.freebsd.org/changeset/base/301023
Log:
Add missing libc includes to fix -Wimplicit-function-declaration warnings
MFC after: 2 weeks
Reported by: clang
Sponsored by: EMC / Isilon Storage Division
Modifi
Author: ngie
Date: Mon May 30 19:59:51 2016
New Revision: 301004
URL: https://svnweb.freebsd.org/changeset/base/301004
Log:
Fix circular dependency created after r287197 between ldconfig and
mountcritremote
ldconfig is already required by mountcritremote indirectly, as noted by
rcorder:
Author: ngie
Date: Sun May 29 20:28:01 2016
New Revision: 300973
URL: https://svnweb.freebsd.org/changeset/base/300973
Log:
Follow up to r300932
In the event MK_INET6 != no in userspace, but is disabled in the
kernel, or if there aren't any IPv6 addresses configured in userspace
(for lo
Author: ngie
Date: Sun May 29 04:43:24 2016
New Revision: 300937
URL: https://svnweb.freebsd.org/changeset/base/300937
Log:
Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run
etcupdate is conditionally installed based on MK_RCS != no today
MFC after: 1 week
Spon
Author: ngie
Date: Sun May 29 04:39:20 2016
New Revision: 300936
URL: https://svnweb.freebsd.org/changeset/base/300936
Log:
Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/
Author: ngie
Date: Sun May 29 03:42:50 2016
New Revision: 300932
URL: https://svnweb.freebsd.org/changeset/base/300932
Log:
Catch malloc(3) errors and socket(2) errors
- malloc failing will result in a delayed segfault
- socket failing will result in delayed failures with setsockopt
Author: ngie
Date: Sun May 29 02:59:03 2016
New Revision: 300931
URL: https://svnweb.freebsd.org/changeset/base/300931
Log:
Make netif REQUIRE hostid
As noted in the PR, if etc/rc.d/zvol is removed, netif will be run before
hostid, and the MAC address generated for any bridge devices will
Author: ngie
Date: Sun May 29 01:38:12 2016
New Revision: 300922
URL: https://svnweb.freebsd.org/changeset/base/300922
Log:
Fix "make installworld" with MK_CDDL == no after r300906 by
adding a missing entry for ${TESTSBASE}/cddl/sbin
X-MFC with: r300906
Pointyhat to: asomers
Reported
Author: ngie
Date: Sun May 29 06:29:22 2016
New Revision: 300945
URL: https://svnweb.freebsd.org/changeset/base/300945
Log:
Remove unnecessary caller_uaddr != NULL test before calling free on it
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/rpcbi
Author: ngie
Date: Sun May 29 04:56:48 2016
New Revision: 300940
URL: https://svnweb.freebsd.org/changeset/base/300940
Log:
Remove yacc and the yacc tests if MK_TOOLCHAIN == no
yacc's install is conditional based on MK_TOOLCHAIN != no
MFC after: 1 week
Sponsored by: EMC / Isilon Stor
Author: ngie
Date: Sun May 29 06:01:18 2016
New Revision: 300942
URL: https://svnweb.freebsd.org/changeset/base/300942
Log:
Remove a useless if (x != NULL) check before calling free on allocated_uaddr
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin
Author: ngie
Date: Sun May 29 04:50:49 2016
New Revision: 300939
URL: https://svnweb.freebsd.org/changeset/base/300939
Log:
Use require.progs with bc instead of require.files with /usr/bin/bc
This will make things more flexible if the program path changes in the future,
and the test in an
Author: ngie
Date: Sun May 29 05:55:21 2016
New Revision: 300941
URL: https://svnweb.freebsd.org/changeset/base/300941
Log:
Don't leak res in network_init(..)
Call freeaddrinfo on it after it's been used
MFC after: 1 week
Reported by: Coverity
CID: 1225050
Sponsored by: EMC / Isi
Author: ngie
Date: Sun May 29 04:18:47 2016
New Revision: 300935
URL: https://svnweb.freebsd.org/changeset/base/300935
Log:
Mark out_of_mem(..) and usage(..) with __dead2 as they both directly call exit
as a hint to static analysis tools
MFC after: 1 week
Sponsored by: EMC / Isilon Stor
Author: ngie
Date: Sun May 29 04:02:02 2016
New Revision: 300934
URL: https://svnweb.freebsd.org/changeset/base/300934
Log:
Plug leak with ifp by calling freeifaddrs after calling getifaddrs
MFC after: 1 week
Obtained from: NetBSD v1.18
Sponsored by: EMC / Isilon Storage Division
Modif
Author: ngie
Date: Sun May 29 07:01:12 2016
New Revision: 300947
URL: https://svnweb.freebsd.org/changeset/base/300947
Log:
Staticize variables only used in rpcbind.c
This is some low hanging fruit necessary for making this WARNS?= 6 clean
MFC after: 3 days
Sponsored by: EMC / Isilon
Author: ngie
Date: Sun May 29 04:47:10 2016
New Revision: 300938
URL: https://svnweb.freebsd.org/changeset/base/300938
Log:
Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run
sa(8) is conditionally installed based on MK_ACCT != no today
MFC after: 1 week
Sponsored
Author: ngie
Date: Sun May 29 01:52:05 2016
New Revision: 300927
URL: https://svnweb.freebsd.org/changeset/base/300927
Log:
Delete duplicate declaration for i40e_blink_phy_link_led(..)
It was already declared on line 90
Differential Revision: https://reviews.freebsd.org/D6570
Reporte
Author: ngie
Date: Fri May 27 22:56:00 2016
New Revision: 300884
URL: https://svnweb.freebsd.org/changeset/base/300884
Log:
Fix up r300870
The sys/types.h fix I proposed was only tested with zfs(4), not with
libzpool, which is where the build failure actually existed
Remove vm/vm_pag
Author: ngie
Date: Fri May 27 21:12:25 2016
New Revision: 300874
URL: https://svnweb.freebsd.org/changeset/base/300874
Log:
Update usage(..)
- Document missing options
- Sync options with ioatcontrol(8).
- Make it clear that the first 2 parameters are always required.
MFC after: 1
Author: ngie
Date: Fri May 27 20:33:38 2016
New Revision: 300870
URL: https://svnweb.freebsd.org/changeset/base/300870
Log:
Unbreak the zfs(4) build
vm/vm_pageout.h grew a dependency on the bool typedef in r300865
arc.c didn't include sys/types.h, which included the definition for the
Author: ngie
Date: Fri May 27 20:12:32 2016
New Revision: 300868
URL: https://svnweb.freebsd.org/changeset/base/300868
Log:
Remove note about bogus chain-len maximum
There's no current limit on chain-len with Broadwell DE chips; it isn't
enforced in software, and there doesn't appear to b
Author: ngie
Date: Fri May 27 19:30:13 2016
New Revision: 300867
URL: https://svnweb.freebsd.org/changeset/base/300867
Log:
Only expose `hint_uaddr` in the ND_DEBUG case
This fixes a -Wunused-but-set-variable warning with gcc
MFC after: 1 week
Reported by: gcc 5
Sponsored by: EMC /
Author: ngie
Date: Fri May 27 18:40:38 2016
New Revision: 300862
URL: https://svnweb.freebsd.org/changeset/base/300862
Log:
Install ioatcontrol to /usr/bin by default instead of /
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/tools/ioat/Makefile
Mo
Author: ngie
Date: Fri May 27 18:39:47 2016
New Revision: 300861
URL: https://svnweb.freebsd.org/changeset/base/300861
Log:
- Sort make variables
- Use SRCTOP instead of ad hoc definition for it
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/tools/
Author: ngie
Date: Fri May 27 17:57:30 2016
New Revision: 300858
URL: https://svnweb.freebsd.org/changeset/base/300858
Log:
Fix description for -V in the -r case
t.verify_test = true is always set when -V is specified, regardless of whether
or not the tool is being run in raw mode
MF
Author: ngie
Date: Fri May 27 17:44:30 2016
New Revision: 300857
URL: https://svnweb.freebsd.org/changeset/base/300857
Log:
Document the default behavior for -c (0)
Bump .Dd for the change
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/tools/ioa
Author: ngie
Date: Fri May 27 17:42:59 2016
New Revision: 300856
URL: https://svnweb.freebsd.org/changeset/base/300856
Log:
Initialize `t` with memset(.., 0, ..)
This will help ensure that we're not using random garbage on the stack by
accident with respect to the variable
MFC after:
Author: ngie
Date: Fri May 27 08:48:33 2016
New Revision: 300836
URL: https://svnweb.freebsd.org/changeset/base/300836
Log:
Quell false positives in svc_vc_create and svc_vc_create_conn with cd and xprt
Both cd and xprt will be non-NULL after their respective malloc(9) wrappers
are
calle
Author: ngie
Date: Thu May 26 07:09:42 2016
New Revision: 300714
URL: https://svnweb.freebsd.org/changeset/base/300714
Log:
The readme provides a high-level overview of how to upgrade top(1).
Differential Revision: https://reviews.freebsd.org/D6493
MFC after: 1 week
Reviewed By: ngie
Author: ngie
Date: Tue May 24 20:06:41 2016
New Revision: 300625
URL: https://svnweb.freebsd.org/changeset/base/300625
Log:
Remove unnecessary memset(.., 0, ..)'s
The mem_alloc macro calls calloc (userspace) / malloc(.., M_WAITOK|M_ZERO)
under the covers, so zeroing out memory is already
Author: ngie
Date: Tue May 24 19:52:05 2016
New Revision: 300624
URL: https://svnweb.freebsd.org/changeset/base/300624
Log:
Fix up r300385
I accidentally glossed over the fact that tmp is manipulated via strchr, so
if we tried to free `tmp` after r300385, it would have crashed.
Creat
Author: ngie
Date: Tue May 24 18:53:06 2016
New Revision: 300621
URL: https://svnweb.freebsd.org/changeset/base/300621
Log:
Remove redundant NULLing of outbuf_pmap
If reallocf ever failed, outbuf_pmap would already be NULL
MFC after: 1 week
X-MFC with: r300620
Reported by: cem
Sp
Author: ngie
Date: Tue May 24 18:44:50 2016
New Revision: 300620
URL: https://svnweb.freebsd.org/changeset/base/300620
Log:
Use reallocf instead of malloc to fix leak with outbuf_pmap
The previous code overwrote outbuf_pmap's memory with malloc once per
loop iteration, which leaked its me
Author: ngie
Date: Sun May 22 19:06:38 2016
New Revision: 300430
URL: https://svnweb.freebsd.org/changeset/base/300430
Log:
Wrap EXPAND(..) macro with a do-while(0) loop and put a single statement on
each line
As a positive side-effect, this eliminates the double semicolons reported by
Co
Author: ngie
Date: Sun May 22 18:20:45 2016
New Revision: 300428
URL: https://svnweb.freebsd.org/changeset/base/300428
Log:
Fix humanized decoding of struct stat with respect to .st_mtim
st_mtim was being incorrectly described as "stime=", not "mtime=". This was
introduced with the origin
Author: ngie
Date: Sun May 22 04:17:00 2016
New Revision: 300395
URL: https://svnweb.freebsd.org/changeset/base/300395
Log:
Silence top(1) compiler warnings
The contrib/top code is no longer maintained upstream (last pulled 16 years
ago). The K&R-style followed by the code spews -Wimplici
Author: ngie
Date: Sun May 22 03:05:27 2016
New Revision: 300389
URL: https://svnweb.freebsd.org/changeset/base/300389
Log:
nis_rpcent: don't leak resultbuf from yp_first(..)/yp_next(..)
If the buffer couldn't be adequately resized to accomodate an additional "\n",
it would leak resultbuf
Author: ngie
Date: Sun May 22 02:53:11 2016
New Revision: 300388
URL: https://svnweb.freebsd.org/changeset/base/300388
Log:
Call endnetconfig on nc_handle sooner to avoid leaking nc_handle if tmpnconf
was NULL
This would theoretically happen if the netconfig protocol family and protocol
Author: ngie
Date: Sun May 22 02:24:38 2016
New Revision: 300387
URL: https://svnweb.freebsd.org/changeset/base/300387
Log:
getnetid(..): consistently fclose fd at the end of the function
This mutes a false positive with cppcheck, but also helps eliminate future
potential issues with this
Author: ngie
Date: Sun May 22 02:02:18 2016
New Revision: 300386
URL: https://svnweb.freebsd.org/changeset/base/300386
Log:
Don't leak `handle` if svc_tp_create(..) succeeds and allocating a new
struct xlist object fails
MFC after: 1 week
Reported by: Coverity
CID: 978277
Sponsored
Author: ngie
Date: Sun May 22 01:45:15 2016
New Revision: 300385
URL: https://svnweb.freebsd.org/changeset/base/300385
Log:
Don't leak `tmp` if `p->nc_lookups` can't be malloced
MFC after: 1 week
Reported by: cppcheck
Sponsored by: EMC / Isilon Storage Division
Modified:
head/lib/lib
1 - 100 of 1424 matches
Mail list logo