Re: svn commit: r327140 - head/sbin/ipfw

2017-12-23 Thread Andrey V. Elsukov
On 24.12.2017 10:11, Rodney W. Grimes wrote: >> -uint32_t masks[2]; >> -int i; >> -uint8_t cmd, rulenum; >> ipfw_range_tlv rt; >> char *msg; >> size_t size; >> +uint32_t masks[2]; >> +int i; > > Why do these 2 lines show up as null changes in the diff > I can

Re: svn commit: r327140 - head/sbin/ipfw

2017-12-23 Thread Rodney W. Grimes
> Author: ae > Date: Sun Dec 24 01:55:12 2017 > New Revision: 327140 > URL: https://svnweb.freebsd.org/changeset/base/327140 > > Log: > Fix rule number truncation, use uint16_t type to specify rulenum. > > PR: 224555 > MFC after: 1 week > > Modified: > head/sbin/ipfw/ipfw2.c >

Re: svn commit: r327013 - head/sys/net

2017-12-23 Thread Stephen Hurd
Oleg Bulyzhin wrote: On Fri, Dec 22, 2017 at 07:11:36PM -0500, Stephen Hurd wrote: Interesting... is this a standard GENERIC kernel, or is this a custom config? If a custom config, can you send it to me? Also, does this system have any other iflib drivers? igb, em, or bnxt? Can you include t

svn commit: r327140 - head/sbin/ipfw

2017-12-23 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 24 01:55:12 2017 New Revision: 327140 URL: https://svnweb.freebsd.org/changeset/base/327140 Log: Fix rule number truncation, use uint16_t type to specify rulenum. PR: 224555 MFC after:1 week Modified: head/sbin/ipfw/ipfw2.c Modified: head/sbin/ip

svn commit: r327121 - head/bin/sh

2017-12-23 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 23 22:58:19 2017 New Revision: 327121 URL: https://svnweb.freebsd.org/changeset/base/327121 Log: sh(1): Markup and spelling fixes Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

svn commit: r327120 - in head/sys: isa x86/isa

2017-12-23 Thread Warner Losh
Author: imp Date: Sat Dec 23 22:57:14 2017 New Revision: 327120 URL: https://svnweb.freebsd.org/changeset/base/327120 Log: Warn when nonPNP ISA devices are attached in GENERIC that they are being removed from GENERIC in 12. Always print PNP info for ISA when it exists: it doesn't depend on I

svn commit: r327118 - in head/sys/x86: include x86

2017-12-23 Thread Konstantin Belousov
Author: kib Date: Sat Dec 23 21:32:50 2017 New Revision: 327118 URL: https://svnweb.freebsd.org/changeset/base/327118 Log: Add missed AVX512VL (128 and 256 bit vector length) extension identification bit. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/x8

svn commit: r327117 - head/usr.bin/calendar

2017-12-23 Thread Eitan Adler
Author: eadler Date: Sat Dec 23 21:04:32 2017 New Revision: 327117 URL: https://svnweb.freebsd.org/changeset/base/327117 Log: calendar: add missing header file time.h is required for strftime and struct tm Reviewed by: edje Modified: head/usr.bin/calendar/io.c Modified: head/usr.b

Re: svn commit: r327094 - in head/sys/dev: ahci usb/controller

2017-12-23 Thread Conrad Meyer
I see similar devices on my AMD TR + X399 system that should be added as well. I don't have time to reboot/test a patch right now, but here are the device ids: pci1 ahci0 pnpinfo vendor=0x1022 device=0x43b6 subvendor=0x1b21 subdevice=0x1062 class=0x010601 at slot=0 function=

svn commit: r327116 - head/usr.bin/ldd

2017-12-23 Thread Eitan Adler
Author: eadler Date: Sat Dec 23 19:48:57 2017 New Revision: 327116 URL: https://svnweb.freebsd.org/changeset/base/327116 Log: ldd: avoid statically linked executables in example The example works but spews warnings if run over a directory with statically linked binaries. PR:

Re: svn commit: r327084 - head/sys/dev/pccard

2017-12-23 Thread Warner Losh
On Sat, Dec 23, 2017 at 12:14 PM, Conrad Meyer wrote: > On Fri, Dec 22, 2017 at 8:59 AM, Warner Losh wrote: > > ... > > New Revision: 327084 > > > > PC Card PNP tables are terminated by a NULL sentinel. This shouldn't > > be recorded in the linker hints, so subtract one to omit it. > > =

Re: svn commit: r327084 - head/sys/dev/pccard

2017-12-23 Thread Conrad Meyer
On Fri, Dec 22, 2017 at 8:59 AM, Warner Losh wrote: > ... > New Revision: 327084 > > PC Card PNP tables are terminated by a NULL sentinel. This shouldn't > be recorded in the linker hints, so subtract one to omit it. > ===

svn commit: r327115 - in head: include lib/libc/gen

2017-12-23 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Dec 23 18:07:43 2017 New Revision: 327115 URL: https://svnweb.freebsd.org/changeset/base/327115 Log: Introduce the daemonfd function. The daemonfd function is equivalent to the daemon(3) function expect that arguments are descriptors. For example dhclient(8) whic

svn commit: r327114 - head/sys/kern

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 17:55:19 2017 New Revision: 327114 URL: https://svnweb.freebsd.org/changeset/base/327114 Log: Reverse the check to allocate the buffer if cached pointer is NULL. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D13596 Modified: head/sys/k

svn commit: r327113 - head/sys/kern

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:49:57 2017 New Revision: 327113 URL: https://svnweb.freebsd.org/changeset/base/327113 Log: Remove dead store to local variable. Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c

svn commit: r327112 - head/sys/netinet6

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:45:26 2017 New Revision: 327112 URL: https://svnweb.freebsd.org/changeset/base/327112 Log: Silence clang analyzer false positive. clang does not know that two lookup calls will return the same pointer, so it assumes correctly that using the old pointer af

svn commit: r327111 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:45:24 2017 New Revision: 327111 URL: https://svnweb.freebsd.org/changeset/base/327111 Log: Do not pass NULL pointer to copyout in if_clone_list. Sometimes caller is only interested in how many clones are there and NULL pointer is passed for the destination

svn commit: r327108 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:23:58 2017 New Revision: 327108 URL: https://svnweb.freebsd.org/changeset/base/327108 Log: Do not double free the memory in if_clone. if_clone_attach function will drop the reference on failure which will free the if_clone structure. No need to do it secon

svn commit: r327110 - head/sys/ufs/ffs

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:24:02 2017 New Revision: 327110 URL: https://svnweb.freebsd.org/changeset/base/327110 Log: Remove dead initialization of the inode pointer. The pointer gets initialized again later in the code. This also improves code style(9). Modified: head/sys/ufs/ffs

svn commit: r327109 - head/sys/net

2017-12-23 Thread Alexander Kabaev
Author: kan Date: Sat Dec 23 16:24:00 2017 New Revision: 327109 URL: https://svnweb.freebsd.org/changeset/base/327109 Log: Remove some trailing whitespace. Reviewed by: glebius, ae Differential Revision: https://reviews.freebsd.org/D10386 Modified: head/sys/net/if_clone.c Modified: he

svn commit: r327107 - in head/sys: conf dev/extres/syscon dev/syscon

2017-12-23 Thread Kyle Evans
Author: kevans Date: Sat Dec 23 14:30:44 2017 New Revision: 327107 URL: https://svnweb.freebsd.org/changeset/base/327107 Log: Move syscon into extres framework This should help reduce confusion between syscon/syscons a little bit. syscon is a resource generally modeled by FDT platforms, a

svn commit: r327106 - in head/sys: conf dev/syscon

2017-12-23 Thread Kyle Evans
Author: kevans Date: Sat Dec 23 14:27:42 2017 New Revision: 327106 URL: https://svnweb.freebsd.org/changeset/base/327106 Log: syscon: Introduce kobj and split out fdt bits Allow more flexibility by kobj'ifying syscon and splitting out fdt specific bits in preparation of a move to the extr

Re: svn commit: r327013 - head/sys/net

2017-12-23 Thread Oleg Bulyzhin
On Fri, Dec 22, 2017 at 07:11:36PM -0500, Stephen Hurd wrote: > Interesting... is this a standard GENERIC kernel, or is this a custom > config? If a custom config, can you send it to me? > > Also, does this system have any other iflib drivers? igb, em, or bnxt? > Can you include the log info

Re: svn commit: r327058 - head/stand/efi/boot1

2017-12-23 Thread Tomoaki AOKI
This broke screen after kernel starts. ThinkPad T420 with nvidia NVS 4200M. boot1 screen and loader screen (beastie menu) shows up smaller (but not broken) than usual, and small five interlaced kernel outputs (not actually readable at all) are shown on top of screen. So screen resolution setting