Re: svn commit: r292817 - head/usr.bin/systat

2015-12-27 Thread Bruce Evans
On Mon, 28 Dec 2015, Marcelo Araujo wrote: Log: Add on systat -vm the ability to display the physical and kernel memory percent usage. PR:bin/203917 Submitted by: ota Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D4281 This has lots of sty

svn commit: r292828 - head/usr.sbin/pwd_mkdb

2015-12-27 Thread Marcelo Araujo
Author: araujo Date: Mon Dec 28 05:48:22 2015 New Revision: 292828 URL: https://svnweb.freebsd.org/changeset/base/292828 Log: The sdp opens the database with PERM_SECURE mode and it is different than dp that opens the database with PERM_INSECURE, so we need to check sdp->put against sdp inst

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Julian Elischer
On 28/12/2015 7:23 AM, Bruce Evans wrote: On Sun, 27 Dec 2015, Ian Lepore wrote: On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote: On Dec 27, 2015, at 11:30, Slawa Olhovchenkov wrote: � I have no idea what you mean by that -- I didn't say anything at all about panic. As I understund

svn commit: r292822 - head/tests/sys/kern/pipe

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:36:57 2015 New Revision: 292822 URL: https://svnweb.freebsd.org/changeset/base/292822 Log: Remove retval to fix a -Wunused-but-set-variable warning from gcc 4.9 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tests/sys/kern/

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

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:34:59 2015 New Revision: 292821 URL: https://svnweb.freebsd.org/changeset/base/292821 Log: - Remove unused but set ssize in shutdown_send_sigpipe - Add #ifdef TEST_SEQ_PACKET_SOURCE_ADDRESS` for untestable code because FreeBSD doesn't have a means to map so

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

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:28:12 2015 New Revision: 292820 URL: https://svnweb.freebsd.org/changeset/base/292820 Log: Clean trailing whitespace MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tests/sys/kern/unix_seqpacket_test.c Modified: head/tests/

svn commit: r292819 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:21:36 2015 New Revision: 292819 URL: https://svnweb.freebsd.org/changeset/base/292819 Log: - Fix an improperly sized buffer for `pathname` [1] - Fix a -Wunused-but-set-variable warning [2] MFC after: 1 week Reported by: cppcheck [1], gcc 4.9 [2] Sponso

svn commit: r292818 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:18:22 2015 New Revision: 292818 URL: https://svnweb.freebsd.org/changeset/base/292818 Log: Fix style(9) a bit and ensure that error from initializing kqueue(2) is sane - Push the kqueue(2) initialization down so the errno will correspond with the failu

svn commit: r292817 - head/usr.bin/systat

2015-12-27 Thread Marcelo Araujo
Author: araujo Date: Mon Dec 28 02:07:56 2015 New Revision: 292817 URL: https://svnweb.freebsd.org/changeset/base/292817 Log: Add on systat -vm the ability to display the physical and kernel memory percent usage. PR: bin/203917 Submitted by: ota Approved by: bapt (mentor)

svn commit: r292816 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:01:41 2015 New Revision: 292816 URL: https://svnweb.freebsd.org/changeset/base/292816 Log: Place cancel and error under #ifdef DEBUG to mute -Wunused-but-set-variable warnings reported by gcc 4.9 Remove some trailing whitespace as well Tested with and

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

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 01:51:20 2015 New Revision: 292815 URL: https://svnweb.freebsd.org/changeset/base/292815 Log: Staticize several variables that are used exclusively in bsnmpd/main.c and bsnmpd/trap.c This fixes several -Wmissing-variable-declaration warnings noted by clang

svn commit: r292814 - head/tools/regression/sockets/unix_passfd

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 00:53:37 2015 New Revision: 292814 URL: https://svnweb.freebsd.org/changeset/base/292814 Log: - Explicitly initialize ch to 0 - Delete some spurious whitespace - Use calloc instead of malloc in the last test to ensure that sendspace is properly zero'ed out

svn commit: r292813 - head/sys/contrib/ipfilter/netinet

2015-12-27 Thread Cy Schubert
Author: cy Date: Mon Dec 28 00:42:15 2015 New Revision: 292813 URL: https://svnweb.freebsd.org/changeset/base/292813 Log: Correct __FreeBSD__ check. MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c ===

Re: svn commit: r290383 - in head/sys: net netinet

2015-12-27 Thread Cy Schubert
In message <98f16c2b-3904-438d-912b-85c17acfb...@freebsd.org>, "George Neville- Neil" writes: > > > > On 20 Dec 2015, at 13:02, Cy Schubert wrote: > > > Cy Schubert writes: > >> In message <201511050726.ta57qxlu074...@repo.freebsd.org>, "George V. > >> Neville-N > >> eil" writes: > >>> Author:

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Bruce Evans
On Sun, 27 Dec 2015, Ian Lepore wrote: On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote: On Dec 27, 2015, at 11:30, Slawa Olhovchenkov wrote: ? I have no idea what you mean by that -- I didn't say anything at all about panic. As I understund commit log -- this is prevent kernel panic

svn commit: r292810 - in head/libexec/rtld-elf: . arm

2015-12-27 Thread Warner Losh
Author: imp Date: Sun Dec 27 23:04:12 2015 New Revision: 292810 URL: https://svnweb.freebsd.org/changeset/base/292810 Log: Use a macro to create the names for the library path names. This will allow later substitution at run time instead of compile time of the environment variable name prefi

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

2015-12-27 Thread Warner Losh
Author: imp Date: Sun Dec 27 23:04:11 2015 New Revision: 292809 URL: https://svnweb.freebsd.org/changeset/base/292809 Log: The FILE structure has a mbstate_t in it. This structure needs to be aligned on a int64_t boundary. However, when we allocate the array of these structures, we use ALIGN

svn commit: r292808 - head/tools/tools/nanobsd/embedded

2015-12-27 Thread Warner Losh
Author: imp Date: Sun Dec 27 23:04:10 2015 New Revision: 292808 URL: https://svnweb.freebsd.org/changeset/base/292808 Log: There's currently some issues with armv7-class of CPUs code generation with our default toolchain. Turn it off here until that all gets sorted out. Modified: head/too

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Bruce Evans
On Sun, 27 Dec 2015, Ian Lepore wrote: On Sun, 2015-12-27 at 15:37 +, Dmitry Chagin wrote: Author: dchagin Date: Sun Dec 27 15:37:07 2015 New Revision: 292777 URL: https://svnweb.freebsd.org/changeset/base/292777 Log: Verify that tv_sec value specified in settimeofday() and clock_settime

Re: svn commit: r292740 - in head/sys: dev/cxgbe/cxgbei modules/cxgbe modules/cxgbe/cxgbei

2015-12-27 Thread Edward Tomasz Napierała
On 1226T0605, Navdeep Parhar wrote: > Author: np > Date: Sat Dec 26 06:05:21 2015 > New Revision: 292740 > URL: https://svnweb.freebsd.org/changeset/base/292740 > > Log: > cxgbei: Hardware accelerated iSCSI target and initiator for TOE capable > cards supported by cxgbe(4). > > On the hos

Re: svn commit: r292788 - in head/sys: geom/part sys

2015-12-27 Thread Dmitry Sivachenko
> On 27 Dec 2015, at 21:12, Allan Jude wrote: > > Author: allanjude > Date: Sun Dec 27 18:12:13 2015 > New Revision: 292788 > URL: https://svnweb.freebsd.org/changeset/base/292788 > > Log: > Add some additional GPT partition types <...> May be list these in man page too?

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Ian Lepore
On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote: > > On Dec 27, 2015, at 11:30, Slawa Olhovchenkov > > wrote: > > … > > > > I have no idea what you mean by that -- I didn't say anything at > > > all > > > about panic. > > > > As I understund commit log -- this is prevent kernel panic at so

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread NGie Cooper
> On Dec 27, 2015, at 11:30, Slawa Olhovchenkov wrote: … >> I have no idea what you mean by that -- I didn't say anything at all >> about panic. > > As I understund commit log -- this is prevent kernel panic at some > call (with illegal arguments). This accpetable irrelevant to bugs in > calli

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Slawa Olhovchenkov
On Sun, Dec 27, 2015 at 12:16:50PM -0700, Ian Lepore wrote: > On Sun, 2015-12-27 at 21:41 +0300, Slawa Olhovchenkov wrote: > > On Sun, Dec 27, 2015 at 10:10:37AM -0700, Ian Lepore wrote: > > > > > On Sun, 2015-12-27 at 15:37 +, Dmitry Chagin wrote: > > > > Author: dchagin > > > > Date: Sun De

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Ian Lepore
On Sun, 2015-12-27 at 21:41 +0300, Slawa Olhovchenkov wrote: > On Sun, Dec 27, 2015 at 10:10:37AM -0700, Ian Lepore wrote: > > > On Sun, 2015-12-27 at 15:37 +, Dmitry Chagin wrote: > > > Author: dchagin > > > Date: Sun Dec 27 15:37:07 2015 > > > New Revision: 292777 > > > URL: https://svnweb.f

Re: svn commit: r292772 - head/sys/vm

2015-12-27 Thread Shawn Webb
On Sun, Dec 27, 2015 at 02:42:39PM +, Konstantin Belousov wrote: > Author: kib > Date: Sun Dec 27 14:42:39 2015 > New Revision: 292772 > URL: https://svnweb.freebsd.org/changeset/base/292772 > > Log: > Add missed relpbuf() for a smallfs page-in. > > Reported by:Shawn Webb > Te

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Slawa Olhovchenkov
On Sun, Dec 27, 2015 at 10:10:37AM -0700, Ian Lepore wrote: > On Sun, 2015-12-27 at 15:37 +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun Dec 27 15:37:07 2015 > > New Revision: 292777 > > URL: https://svnweb.freebsd.org/changeset/base/292777 > > > > Log: > > Verify that tv_sec val

svn commit: r292788 - in head/sys: geom/part sys

2015-12-27 Thread Allan Jude
Author: allanjude Date: Sun Dec 27 18:12:13 2015 New Revision: 292788 URL: https://svnweb.freebsd.org/changeset/base/292788 Log: Add some additional GPT partition types 4 ChromeOS GPT types 2 Microsoft partition types the new OpenBSD partition type Approved by: marcel (mentor) M

svn commit: r292782 - in head: lib/libcrypt lib/libmd sbin/gbde sbin/geom/class/eli sbin/md5 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/conf sys/crypto/sha2 sys/dev/random sys/geom/bde sys/...

2015-12-27 Thread Allan Jude
Author: allanjude Date: Sun Dec 27 17:33:59 2015 New Revision: 292782 URL: https://svnweb.freebsd.org/changeset/base/292782 Log: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c cperciva's libmd implementation is 5-30% faster The same was done for SHA256 previously in r263218

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Ian Lepore
On Sun, 2015-12-27 at 15:37 +, Dmitry Chagin wrote: > Author: dchagin > Date: Sun Dec 27 15:37:07 2015 > New Revision: 292777 > URL: https://svnweb.freebsd.org/changeset/base/292777 > > Log: > Verify that tv_sec value specified in settimeofday() and > clock_settime() > (CLOCK_REALTIME case

svn commit: r292779 - head/sys/geom

2015-12-27 Thread Allan Jude
Author: allanjude Date: Sun Dec 27 17:09:23 2015 New Revision: 292779 URL: https://svnweb.freebsd.org/changeset/base/292779 Log: Fix incorrect error message in geom map If geom_map fails to find the end of a mapped partition based on a search, it would return the incorrect error message, s

svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-27 Thread Dmitry Chagin
Author: dchagin Date: Sun Dec 27 15:37:07 2015 New Revision: 292777 URL: https://svnweb.freebsd.org/changeset/base/292777 Log: Verify that tv_sec value specified in settimeofday() and clock_settime() (CLOCK_REALTIME case) system calls is non negative. This commit hides a kernel panic in atrt

svn commit: r292772 - head/sys/vm

2015-12-27 Thread Konstantin Belousov
Author: kib Date: Sun Dec 27 14:42:39 2015 New Revision: 292772 URL: https://svnweb.freebsd.org/changeset/base/292772 Log: Add missed relpbuf() for a smallfs page-in. Reported by: Shawn Webb Tested by:pho Sponsored by: The FreeBSD Foundation Modified: head/sys/vm/vnode_pager.c