svn commit: r316315 - head/usr.bin/bsdiff/bsdiff

2017-03-30 Thread Allan Jude
Author: allanjude Date: Fri Mar 31 03:11:25 2017 New Revision: 316315 URL: https://svnweb.freebsd.org/changeset/base/316315 Log: Revert debugging that was accidently committed in r316314 Modified: head/usr.bin/bsdiff/bsdiff/bsdiff.c Modified: head/usr.bin/bsdiff/bsdiff/bsdiff.c =

svn commit: r316314 - in head/usr.bin: bsdiff/bsdiff top

2017-03-30 Thread Allan Jude
Author: allanjude Date: Fri Mar 31 03:08:07 2017 New Revision: 316314 URL: https://svnweb.freebsd.org/changeset/base/316314 Log: fix top(1) ZFS compressed ARC support top(1) read the wrong amount of data from sysctl, uint64_t instead of boolean_t, resulting in the stats not showing in man

svn commit: r316313 - in head: . sys/netinet

2017-03-30 Thread Steven Hartland
Author: smh Date: Fri Mar 31 00:41:54 2017 New Revision: 316313 URL: https://svnweb.freebsd.org/changeset/base/316313 Log: Allow explicitly assigned IPv4 loopback address to be used in jails If a jail has an explicitly assigned loopback address then allow it to be used instead of remappin

svn commit: r316312 - head/sys/geom/eli

2017-03-30 Thread Allan Jude
Author: allanjude Date: Fri Mar 31 00:07:03 2017 New Revision: 316312 URL: https://svnweb.freebsd.org/changeset/base/316312 Log: sys/geom/eli: Switch bzero() to explicit_bzero() for sensitive data In GELI, anywhere we are zeroing out possibly sensitive data, like the metadata struct, the

svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-03-30 Thread Allan Jude
Author: allanjude Date: Fri Mar 31 00:04:32 2017 New Revision: 316311 URL: https://svnweb.freebsd.org/changeset/base/316311 Log: Add explicit_bzero() to libstand, and switch GELIBoot to using it Make sure sensitive memory is properly cleared when finished with it Reviewed by: Eric McC

svn commit: r316310 - head/share/man/man4

2017-03-30 Thread David C Somayajulu
Author: davidcs Date: Thu Mar 30 23:49:57 2017 New Revision: 316310 URL: https://svnweb.freebsd.org/changeset/base/316310 Log: Update man page for commit r316309 "Add support for optional Soft LRO". The driver provides the ability to select either HW or Software LRO, when LRO is enabled (def

RE: svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread Somayajulu, David
>> > I know this is not a new topic but a little more descriptive commit-log >> > would have been nicer. Also, you should update the manpage reflecting this >> > change. i.e. now it also supports software LRO when h/w LRO is disabled. >> Will do. Sorry about that. Minor correction. Please note th

Re: svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread hiren panchasara
On 03/30/17 at 11:07P, Somayajulu, David wrote: > Hi Hiren, > > I know this is not a new topic but a little more descriptive commit-log > > would have been nicer. Also, you should update the manpage reflecting this > > change. i.e. now it also supports software LRO when h/w LRO is disabled. > Wil

RE: svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread Somayajulu, David
Hi Hiren, > I know this is not a new topic but a little more descriptive commit-log would > have been nicer. Also, you should update the manpage reflecting this change. > i.e. now it also supports software LRO when h/w LRO is disabled. Will do. Sorry about that. > Do you know of a case where one

Re: svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread hiren panchasara
On 03/30/17 at 10:43P, David C Somayajulu wrote: > Author: davidcs > Date: Thu Mar 30 22:43:32 2017 > New Revision: 316309 > URL: https://svnweb.freebsd.org/changeset/base/316309 > > Log: > Add support for optional Soft LRO Hi David, I know this is not a new topic but a little more descriptive

svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread David C Somayajulu
Author: davidcs Date: Thu Mar 30 22:43:32 2017 New Revision: 316309 URL: https://svnweb.freebsd.org/changeset/base/316309 Log: Add support for optional Soft LRO MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_hw.c head/sys/dev/qlxgbe/ql_hw.h head/sys/dev/qlxgbe/ql_isr.c head/sys/

svn commit: r316308 - in head/sys: kern security/audit

2017-03-30 Thread Robert Watson
Author: rwatson Date: Thu Mar 30 22:26:15 2017 New Revision: 316308 URL: https://svnweb.freebsd.org/changeset/base/316308 Log: Audit arguments to System V IPC system calls implementing sempahores, message queues, and shared memory. Obtained from:TrustedBSD Project MFC after:

svn commit: r316307 - head/sys/kern

2017-03-30 Thread Robert Watson
Author: rwatson Date: Thu Mar 30 22:00:58 2017 New Revision: 316307 URL: https://svnweb.freebsd.org/changeset/base/316307 Log: Add system-call argument auditing for ACL-related system calls. Obtained from:TrustedBSD Project MFC after:3 weeks Sponsored by: DARPA, AFRL Modifi

svn commit: r316306 - head/sys/arm/ti/am335x

2017-03-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 30 21:54:57 2017 New Revision: 316306 URL: https://svnweb.freebsd.org/changeset/base/316306 Log: [am335x] Fix HDMI suport for Beaglebone Black Fallback to Linux video interface bindings introduced in r313068 worked with then current DTS but that DTS turned out

svn commit: r316305 - head/sys/security/audit

2017-03-30 Thread Robert Watson
Author: rwatson Date: Thu Mar 30 21:39:03 2017 New Revision: 316305 URL: https://svnweb.freebsd.org/changeset/base/316305 Log: Various BSM generation improvements when auditing AUE_ACCEPT, AUE_PROCCTL, AUE_SENDFILE, AUE_ACL_*, and AUE_POSIX_FALLOCATE. Audit AUE_SHMUNLINK path in the path tok

svn commit: r316304 - head/lib/libprocstat

2017-03-30 Thread Tycho Nightingale
Author: tychon Date: Thu Mar 30 20:42:16 2017 New Revision: 316304 URL: https://svnweb.freebsd.org/changeset/base/316304 Log: Reorder includes to placate MIPS build. Reported by: markj Sponsored by: Dell EMC Isilon Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libpr

svn commit: r316289 - head/sys/compat/linux

2017-03-30 Thread Dmitry Chagin
Author: dchagin Date: Thu Mar 30 19:45:07 2017 New Revision: 316289 URL: https://svnweb.freebsd.org/changeset/base/316289 Log: Use kern_mincore() helper instead of abusing syscall entry. Suggested by: kib@ Reviewed by: kib@ MFC after:1 month Differential Revision:https://

svn commit: r316288 - in head/sys: sys vm

2017-03-30 Thread Dmitry Chagin
Author: dchagin Date: Thu Mar 30 19:42:49 2017 New Revision: 316288 URL: https://svnweb.freebsd.org/changeset/base/316288 Log: Add kern_mincore() helper for micore() syscall. Suggested by: kib@ Reviewed by: kib@ MFC after:1 month Differential Revision:https://reviews.free

svn commit: r316287 - in head: lib/libstand sys/boot/i386/libi386

2017-03-30 Thread Toomas Soome
Author: tsoome Date: Thu Mar 30 19:32:25 2017 New Revision: 316287 URL: https://svnweb.freebsd.org/changeset/base/316287 Log: Remove OLD_NFSV2 from loader and libstand We have parallel NFSv2 and NFSv3 reader implementations, only configurable at build time, defaulting to v3. Remove v2.

Re: svn commit: r316286 - in head: lib/libprocstat sys/kern sys/sys usr.bin/gcore usr.bin/procstat

2017-03-30 Thread Tycho Nightingale
Additionally: Differential Revision: https://reviews.freebsd.org/D9995 Tycho > On Mar 30, 2017, at 2:21 PM, Tycho Nightingale wrote: > > Author: tychon > Date: Thu Mar 30 18:21:36 2017 > New Revision: 316286 > URL: https://svnweb.freebsd.org/changeset/base/316286 > > Log: > Add support for

svn commit: r316286 - in head: lib/libprocstat sys/kern sys/sys usr.bin/gcore usr.bin/procstat

2017-03-30 Thread Tycho Nightingale
Author: tychon Date: Thu Mar 30 18:21:36 2017 New Revision: 316286 URL: https://svnweb.freebsd.org/changeset/base/316286 Log: Add support for capturing 'struct ptrace_lwpinfo' for signals resulting in a process dumping core in the corefile. Also extend procstat to view select members of '

svn commit: r316285 - head/sbin/dhclient

2017-03-30 Thread Nick Hibma
Author: n_hibma Date: Thu Mar 30 18:20:04 2017 New Revision: 316285 URL: https://svnweb.freebsd.org/changeset/base/316285 Log: Make dhcp-lease-time option supersedable as well. Note: It is not recommended to set this value to above the value that the server provided, unless that value is

svn commit: r316284 - head/contrib/elftoolchain/elfcopy

2017-03-30 Thread Ed Maste
Author: emaste Date: Thu Mar 30 17:37:12 2017 New Revision: 316284 URL: https://svnweb.freebsd.org/changeset/base/316284 Log: elfcopy: remove temporary ELF file when converting from binary Previously a command like objcopy --input-target binary --output-target elf64-x86-64-freebsd \

svn commit: r316283 - head/sbin/dhclient

2017-03-30 Thread Nick Hibma
Author: n_hibma Date: Thu Mar 30 17:31:12 2017 New Revision: 316283 URL: https://svnweb.freebsd.org/changeset/base/316283 Log: Allow superseding the lease renewal and rebind times. Also make sure that the renewal is never more than 1/2 * expiry and rebind never more than 7/4 * renewal (th

svn commit: r316281 - head/sys/net

2017-03-30 Thread Sean Bruno
Author: sbruno Date: Thu Mar 30 16:54:01 2017 New Revision: 316281 URL: https://svnweb.freebsd.org/changeset/base/316281 Log: Don't call init functions directly from the timer/watchdog function. Enqueue this in the admin task now that it can process it. Submitted by: Matt Macy Spons

svn commit: r316280 - head/sys/boot/efi/loader

2017-03-30 Thread Toomas Soome
Author: tsoome Date: Thu Mar 30 16:31:35 2017 New Revision: 316280 URL: https://svnweb.freebsd.org/changeset/base/316280 Log: loader: simplify efi_zfs_probe and avoid double probing for zfs. The current efi_zfs_probe() is overcomplicated and can be made simpler. Still we need to pick up t

svn commit: r316279 - head/sys/boot/efi/libefi

2017-03-30 Thread Toomas Soome
Author: tsoome Date: Thu Mar 30 16:23:31 2017 New Revision: 316279 URL: https://svnweb.freebsd.org/changeset/base/316279 Log: loader: efipart should check disk size from partition table While testing 32bit UEFI OVMF (which has bug about how the disk size is presented), I did witness the e

svn commit: r316278 - head/sys/net

2017-03-30 Thread Sean Bruno
Author: sbruno Date: Thu Mar 30 16:03:51 2017 New Revision: 316278 URL: https://svnweb.freebsd.org/changeset/base/316278 Log: Assert IFF_DRV_OACTIVE in iflib_timer() when the "hung" case is detected so that iflib's admin task can still process the reset directive and restore functionality.

svn commit: r316275 - head/sys/conf

2017-03-30 Thread Nick Hibma
Author: n_hibma Date: Thu Mar 30 15:05:10 2017 New Revision: 316275 URL: https://svnweb.freebsd.org/changeset/base/316275 Log: Add nctgpio conf lines so it can be compiled into the kernel. MFC after:2 days Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386 Modified: head

svn commit: r316271 - head/sys/security/audit

2017-03-30 Thread Robert Watson
Author: rwatson Date: Thu Mar 30 12:35:56 2017 New Revision: 316271 URL: https://svnweb.freebsd.org/changeset/base/316271 Log: Don't ifdef KDTRACE_HOOKS struct, variable, and function prototype definitions for the DTrace audit provider, so that the dtaudit module can compile in the absence o

Re: svn commit: r316182 - in head/sys: compat/freebsd32 kern sys

2017-03-30 Thread Konstantin Belousov
On Thu, Mar 30, 2017 at 09:22:07AM +0100, Robert Watson wrote: > On Thu, 30 Mar 2017, Konstantin Belousov wrote: > > >> Hook up new audit event identifiers for various non-Orange Book/CAPP > >> system calls supported by OpenBSM 1.2-alpha5. > >> > >> Obtained from: TrustedBSD Project > >>

Re: svn commit: r316182 - in head/sys: compat/freebsd32 kern sys

2017-03-30 Thread Robert Watson
On Thu, 30 Mar 2017, Konstantin Belousov wrote: Hook up new audit event identifiers for various non-Orange Book/CAPP system calls supported by OpenBSM 1.2-alpha5. Obtained from:TrustedBSD Project MFC after:3 weeks Sponsored by: DARPA, AFRL Modified: head/sys/compat/free

Re: svn commit: r316213 - in head: include lib/libc/include lib/libc/stdlib lib/libc/string lib/libc/tests/stdlib lib/libc/tests/string sys/sys

2017-03-30 Thread Konstantin Belousov
On Thu, Mar 30, 2017 at 02:10:55AM -0500, Pedro Giffuni wrote: > The thing about the Annex K is that it is not used by anything AFAICT, > so I guess it would be considered bloat but with Microsoft being such > a good open-source citizen lately perhaps it will find uses in the > near future. If you

Re: svn commit: r316132 - head/sys/boot/i386/boot2

2017-03-30 Thread Bruce Evans
On Thu, 30 Mar 2017, Warner Losh wrote: On Thu, Mar 30, 2017 at 12:23 AM, Bruce Evans wrote: I doubt that gcc-6.3 is very broken. Did its CFLAGS even have -Os? Yes. boot2 doesn't use the kernel CFLAGS. I know. I even understand most of the magic. My point was that with all the ifdef obf

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

2017-03-30 Thread Ngie Cooper
Author: ngie Date: Thu Mar 30 07:13:47 2017 New Revision: 316260 URL: https://svnweb.freebsd.org/changeset/base/316260 Log: Annotate all changes made in r316178-r316180 with __FreeBSD__ Restore the stock (upstream) code under an #else block, so it's easier for me to visualize and understa