Re: svn commit: r334626 - in head: lib/libc/amd64 lib/libc/amd64/sys lib/libc/arm lib/libc/arm/sys lib/libc/i386 lib/libc/i386/sys lib/libc/mips lib/libc/mips/sys lib/libc/powerpc lib/libc/powerpc/sys

2018-06-05 Thread Ganbold Tsagaankhuu
On Tue, Jun 5, 2018 at 3:35 AM, Mark Johnston wrote: > Author: markj > Date: Mon Jun 4 19:35:15 2018 > New Revision: 334626 > URL: https://svnweb.freebsd.org/changeset/base/334626 > > Log: > Reimplement brk() and sbrk() to avoid the use of _end. > > Previously, libc.so would initialize its n

svn commit: r334650 - head/sys/dev/usb

2018-06-05 Thread Eitan Adler
Author: eadler Date: Tue Jun 5 09:52:38 2018 New Revision: 334650 URL: https://svnweb.freebsd.org/changeset/base/334650 Log: usbdevs: sync from NetBSD This adds several vendors from NetBSD's copy of the same file (r1.749). Prefer longer more "canonical" names where the names differed.

Re: svn commit: r334595 - in head: sys/dev/hwpmc sys/kern sys/sys usr.sbin/pmcstat

2018-06-05 Thread Konstantin Belousov
On Mon, Jun 04, 2018 at 10:27:21AM -0700, Matthew Macy wrote: > On Mon, Jun 4, 2018 at 5:08 AM, Konstantin Belousov > wrote: > > On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote: > >> @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function, > >> void > >> > >>

svn commit: r334651 - head/sys/cam/mmc

2018-06-05 Thread Ilya Bakulin
Author: kibab Date: Tue Jun 5 11:03:24 2018 New Revision: 334651 URL: https://svnweb.freebsd.org/changeset/base/334651 Log: Enable high-speed on the card before increasing frequency on the controller Increasing operating frequency without telling card to switch to high-speed mode first u

Re: svn commit: r334626 - in head: lib/libc/amd64 lib/libc/amd64/sys lib/libc/arm lib/libc/arm/sys lib/libc/i386 lib/libc/i386/sys lib/libc/mips lib/libc/mips/sys lib/libc/powerpc lib/libc/powerpc/

2018-06-05 Thread Cy Schubert
In message , Ganbold Tsagaankhuu writes: > On Tue, Jun 5, 2018 at 3:35 AM, Mark Johnston wrote: > > > Author: markj > > Date: Mon Jun 4 19:35:15 2018 > > New Revision: 334626 > > URL: https://svnweb.freebsd.org/changeset/base/334626 > > > > Log: > > Reimplement brk() and sbrk() to avoid the us

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Alexander Leidinger
Quoting Brad Davis (from Mon, 04 Jun 2018 12:55:50 -0600): On Mon, Jun 4, 2018, at 12:47 PM, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] > On Mon, Jun 4, 2018, at 10:57 AM, Rodney W. Grimes wrote: > > > On Mon, Jun 4, 2018, at 9:29 AM, Rodney W. Grimes wrote: > > >

Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem]

2018-06-05 Thread Mark Millard via svn-src-head
https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText shows: --- all_subdir_usr.sbin/pmc --- In file included from /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0, from /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostrea

svn commit: r334653 - head/lib/libc/tests/sys

2018-06-05 Thread Mark Johnston
Author: markj Date: Tue Jun 5 13:06:06 2018 New Revision: 334653 URL: https://svnweb.freebsd.org/changeset/base/334653 Log: Don't build brk_test on platforms that don't support brk(). X-MFC with: r334626 Modified: head/lib/libc/tests/sys/Makefile Modified: head/lib/libc/tests/sys/Mak

Re: svn commit: r334626 - in head: lib/libc/amd64 lib/libc/amd64/sys lib/libc/arm lib/libc/arm/sys lib/libc/i386 lib/libc/i386/sys lib/libc/mips lib/libc/mips/sys lib/libc/powerpc lib/libc/powerpc/sys

2018-06-05 Thread Mark Johnston
On Tue, Jun 05, 2018 at 03:50:12PM +0800, Ganbold Tsagaankhuu wrote: > On Tue, Jun 5, 2018 at 3:35 AM, Mark Johnston wrote: > > > Author: markj > > Date: Mon Jun 4 19:35:15 2018 > > New Revision: 334626 > > URL: https://svnweb.freebsd.org/changeset/base/334626 > > > > Log: > > Reimplement brk(

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Mark Millard via svn-src-head
Brad Davis brd at FreeBSD.org wrote on Mon Jun 4 18:41:03 UTC 2018 : > On Mon, Jun 4, 2018, at 10:57 AM, Rodney W. Grimes wrote: . . . > > Iirc some of the make release stuff calls into here, but that > > may of changed to use src/Makefile targets. distrib-dirs comes > > to mind. > > Sure, but t

Re: svn commit: r334650 - head/sys/dev/usb

2018-06-05 Thread Kevin Lo
On Tue, Jun 05, 2018 at 09:52:38AM +, Eitan Adler wrote: > Author: eadler > Date: Tue Jun 5 09:52:38 2018 > New Revision: 334650 > URL: https://svnweb.freebsd.org/changeset/base/334650 > > Log: > usbdevs: sync from NetBSD > > This adds several vendors from NetBSD's copy of the same fil

svn commit: r334656 - head/stand/libsa

2018-06-05 Thread Ian Lepore
Author: ian Date: Tue Jun 5 14:47:13 2018 New Revision: 334656 URL: https://svnweb.freebsd.org/changeset/base/334656 Log: Add vsnprintf() to libsa. Alpha-sort the printf prototypes in stand.h. I'm not sure why the v*printf() functions in libsa return void instead of int, but this mainta

svn commit: r334657 - head/sys/dev/ocs_fc

2018-06-05 Thread Ram Kishore Vegesna
Author: ram Date: Tue Jun 5 15:05:26 2018 New Revision: 334657 URL: https://svnweb.freebsd.org/changeset/base/334657 Log: Issue: Utility hangs when OCS_IOCTL_CMD_MGMT_GET_ALL called in parallel on port 0 and port 1. Fix: Using static structure for results is corrupting the second io

svn commit: r334658 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:20:20 2018 New Revision: 334658 URL: https://svnweb.freebsd.org/changeset/base/334658 Log: Implement timer_setup() and from_timer() function macros in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technolo

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Brad Davis
On Tue, Jun 5, 2018, at 7:00 AM, Alexander Leidinger wrote: > > Quoting Brad Davis (from Mon, 04 Jun 2018 12:55:50 -0600): > > > On Mon, Jun 4, 2018, at 12:47 PM, Rodney W. Grimes wrote: > >> [ Charset UTF-8 unsupported, converting... ] > >> > On Mon, Jun 4, 2018, at 10:57 AM, Rodney W. Grimes w

svn commit: r334659 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:30:36 2018 New Revision: 334659 URL: https://svnweb.freebsd.org/changeset/base/334659 Log: Implement mul_u32_u32() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies Sponsored by: Lim

svn commit: r334660 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:37:28 2018 New Revision: 334660 URL: https://svnweb.freebsd.org/changeset/base/334660 Log: Add "access" function pointer to the "vm_operations_struct" structure in the LinuxKPI. While at it document when to use the "virtual_address" or the "address" field

Re: svn commit: r334545 - in head/sys: contrib/zstd/lib/freebsd kern netinet/libalias sys

2018-06-05 Thread Eric van Gyzen
On 06/02/2018 17:20, Mateusz Guzik wrote: > +#ifdef _KERNEL > +#define malloc(size, type, flags) ({\ > + void *_malloc_item; \ > + size_t _size = (size); \ > + if (__bui

svn commit: r334661 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:40:09 2018 New Revision: 334661 URL: https://svnweb.freebsd.org/changeset/base/334661 Log: Implement the task_pid_vnr() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies Sponso

svn commit: r334662 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:42:35 2018 New Revision: 334662 URL: https://svnweb.freebsd.org/changeset/base/334662 Log: Define the __kernel_size_t type in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies Sponsored by: Lime

svn commit: r334663 - head/sys/compat/linuxkpi/common/include/linux

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:46:16 2018 New Revision: 334663 URL: https://svnweb.freebsd.org/changeset/base/334663 Log: Implement the INIT_DELAYED_WORK_ONSTACK() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technolo

svn commit: r334664 - in head/sys/compat/linuxkpi/common: include/linux src

2018-06-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 5 15:49:35 2018 New Revision: 334664 URL: https://svnweb.freebsd.org/changeset/base/334664 Log: Declare and set the global "system_highpri_wq" workqueue structure pointer in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored b

Re: svn commit: r334656 - head/stand/libsa

2018-06-05 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Tue, 5 Jun 2018 14:47:13 + (UTC) Ian Lepore schrieb: > Author: ian > Date: Tue Jun 5 14:47:13 2018 > New Revision: 334656 > URL: https://svnweb.freebsd.org/changeset/base/334656 > > Log: > Add vsnprintf() to libsa. Alpha-sort the printf

Re: svn commit: r334656 - head/stand/libsa

2018-06-05 Thread Warner Losh
There is no real reason for these to be different. Especially if it causes problems... Warner On Tue, Jun 5, 2018, 10:18 AM O. Hartmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Tue, 5 Jun 2018 14:47:13 + (UTC) > Ian Lepore schrieb: > > > Author: ian > > Date: Tue J

Re: svn commit: r334545 - in head/sys: contrib/zstd/lib/freebsd kern netinet/libalias sys

2018-06-05 Thread Mateusz Guzik
On Tue, Jun 5, 2018 at 5:38 PM, Eric van Gyzen wrote: > On 06/02/2018 17:20, Mateusz Guzik wrote: > > +#ifdef _KERNEL > > +#define malloc(size, type, flags) ({\ > > + void *_malloc_item; \ > > + size_t _size = (s

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Konstantin Belousov
On Tue, Jun 05, 2018 at 09:24:02AM -0600, Brad Davis wrote: > On Tue, Jun 5, 2018, at 7:00 AM, Alexander Leidinger wrote: > > > > Quoting Brad Davis (from Mon, 04 Jun 2018 12:55:50 > > -0600): > > > > > On Mon, Jun 4, 2018, at 12:47 PM, Rodney W. Grimes wrote: > > >> [ Charset UTF-8 unsupported

Re: svn commit: r334656 - head/stand/libsa

2018-06-05 Thread Ian Lepore
On Tue, 2018-06-05 at 10:24 -0600, Warner Losh wrote: > There is no real reason for these to be different. Especially if it > causes > problems... > > Warner > I'm working on a fix. -- Ian > On Tue, Jun 5, 2018, 10:18 AM O. Hartmann > wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > >

svn commit: r334665 - head/stand/libsa

2018-06-05 Thread Ian Lepore
Author: ian Date: Tue Jun 5 17:18:10 2018 New Revision: 334665 URL: https://svnweb.freebsd.org/changeset/base/334665 Log: Make the v*printf() functions in libsa return int instead of void. This makes them compatible with the C standard signatures, avoiding spurious mismatch errors in the pl

Re: svn commit: r334656 - head/stand/libsa

2018-06-05 Thread Ian Lepore
(Should be) Fixed in r334665, sorry for the breakage. -- Ian On Tue, 2018-06-05 at 10:24 -0600, Warner Losh wrote: > There is no real reason for these to be different. Especially if it > causes > problems... > > Warner > > On Tue, Jun 5, 2018, 10:18 AM O. Hartmann > wrote: > > > > > -BEG

Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem]

2018-06-05 Thread Dimitry Andric
On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain wrote: > > https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText shows: > > --- all_subdir_usr.sbin/pmc --- > In file included from > /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0, >

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Brad Davis
On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: > On Tue, Jun 05, 2018 at 09:24:02AM -0600, Brad Davis wrote: > > On Tue, Jun 5, 2018, at 7:00 AM, Alexander Leidinger wrote: > > > > > > Quoting Brad Davis (from Mon, 04 Jun 2018 12:55:50 > > > -0600): > > > > > > > On Mon, Jun 4, 20

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Konstantin Belousov
On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: > On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: > > I find it often very useful to do > > (cd src/etc/rc.d && make install) > > Same for defaults and several other directories which in fact contains > > non-editable cont

svn commit: r334666 - head

2018-06-05 Thread Ed Maste
Author: emaste Date: Tue Jun 5 18:27:09 2018 New Revision: 334666 URL: https://svnweb.freebsd.org/changeset/base/334666 Log: Handle -DNO_CLEAN builds across brk/sbrk rewrite in r334626 Sponsored by: The FreeBSD Foundation Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Eugene Grosbein
06.06.2018 1:26, Konstantin Belousov wrote: >>> I find it often very useful to do >>> (cd src/etc/rc.d && make install) >>> Same for defaults and several other directories which in fact contains >>> non-editable content. Is this planned to keep working ? >> >> The short answer is, no. All rc

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Renato Botelho
On 05/06/18 15:26, Konstantin Belousov wrote: > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: >>> I find it often very useful to do >>> (cd src/etc/rc.d && make install) >>> Same for defaults and several other directo

Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem]

2018-06-05 Thread Mark Millard via svn-src-head
On 2018-Jun-5, at 10:49 AM, Dimitry Andric wrote: > On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain > wrote: >> >> https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText shows: >> >> --- all_subdir_usr.sbin/pmc --- >> In file included from >> /workspace/obj/workspace/

svn commit: r334667 - head/sys/dev/liquidio

2018-06-05 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 5 19:23:23 2018 New Revision: 334667 URL: https://svnweb.freebsd.org/changeset/base/334667 Log: tcp_lro.h requires , include it directly instead of indirect inclusion trough if_gif.h Modified: head/sys/dev/liquidio/lio_bsd.h Modified: head/sys/dev/liquidio/lio_bsd

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Konstantin Belousov
On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > 06.06.2018 1:26, Konstantin Belousov wrote: > > >>> I find it often very useful to do > >>> (cd src/etc/rc.d && make install) > >>> Same for defaults and several other directories which in fact contains > >>> non-editable content

Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem]

2018-06-05 Thread Mark Millard via svn-src-head
[Just fixing a dumb typo in a build number.] On 2018-Jun-5, at 12:22 PM, Mark Millard wrote: > On 2018-Jun-5, at 10:49 AM, Dimitry Andric wrote: > >> On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain >> wrote: >>> >>> https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleT

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Eugene Grosbein
06.06.2018 2:28, Konstantin Belousov wrote: >> I found that "mergemaster -iFUP" deals with unchanged files including >> mentioned rc* scripts just fine. >> That is, it automatically refreshes unchanged files without any silly >> questions just for change of $FreeBSD$. > > No, you missed the poi

svn commit: r334668 - head/tests/sys/audit

2018-06-05 Thread Alan Somers
Author: asomers Date: Tue Jun 5 20:13:24 2018 New Revision: 334668 URL: https://svnweb.freebsd.org/changeset/base/334668 Log: audit(4): add tests for open(2) and openat(2) These syscalls are atypical, because each one corresponds to several different audit events, and they each pass seve

svn commit: r334669 - head/sys/sys

2018-06-05 Thread Eric van Gyzen
Author: vangyzen Date: Tue Jun 5 20:34:11 2018 New Revision: 334669 URL: https://svnweb.freebsd.org/changeset/base/334669 Log: Make Coverity more happy with r334545 Coverity complains about: if (((flags) & M_WAITOK) || _malloc_item != NULL) saying: The expression

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Brad Davis
On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: > On 05/06/18 15:26, Konstantin Belousov wrote: > > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: > >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: > >>> I find it often very useful to do > >>> (cd src/etc/rc.d

Re: svn commit: r334617 - in head: . etc

2018-06-05 Thread Brad Davis
On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: > On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: > > 06.06.2018 1:26, Konstantin Belousov wrote: > > > > >>> I find it often very useful to do > > >>> (cd src/etc/rc.d && make install) > > >>> Same for defaults and sev

Re: svn commit: r334669 - head/sys/sys

2018-06-05 Thread Ian Lepore
On Tue, 2018-06-05 at 20:34 +, Eric van Gyzen wrote: > Author: vangyzen > Date: Tue Jun  5 20:34:11 2018 > New Revision: 334669 > URL: https://svnweb.freebsd.org/changeset/base/334669 > > Log: >   Make Coverity more happy with r334545 >    >   Coverity complains about: >    >   if (((flags

svn commit: r334672 - head/sys/netinet6

2018-06-05 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 5 20:54:29 2018 New Revision: 334672 URL: https://svnweb.freebsd.org/changeset/base/334672 Log: Constify argument of in6_getscope(). Modified: head/sys/netinet6/scope6.c head/sys/netinet6/scope6_var.h Modified: head/sys/netinet6/scope6.c ==

svn commit: r334671 - in head/sys: net netinet netinet6 netipsec

2018-06-05 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 5 20:51:01 2018 New Revision: 334671 URL: https://svnweb.freebsd.org/changeset/base/334671 Log: Rework IP encapsulation handling code. Currently it has several disadvantages: - it uses single mutex to protect internal structures. It is used by data- and contr

Re: svn commit: r334669 - head/sys/sys

2018-06-05 Thread Poul-Henning Kamp
In message <1528232004.63685.25.ca...@freebsd.org>, Ian Lepore writes: >On Tue, 2018-06-05 at 20:34 +, Eric van Gyzen wrote: >> (((flags) & M_WAITOK) || _malloc_item != NULL) > >This is a sad sad thing. Treating (bits & flagconstants) as boolean has >a long long history in C. Surely

Re: svn commit: r334669 - head/sys/sys

2018-06-05 Thread Eric van Gyzen
On 06/05/2018 15:53, Ian Lepore wrote: > On Tue, 2018-06-05 at 20:34 +, Eric van Gyzen wrote: >> Author: vangyzen >> Date: Tue Jun  5 20:34:11 2018 >> New Revision: 334669 >> URL: https://svnweb.freebsd.org/changeset/base/334669 >> >> Log: >>   Make Coverity more happy with r334545 >>    >>   C

svn commit: r334673 - in head: share/man/man4 sys/net sys/netinet sys/netinet6

2018-06-05 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 5 21:24:59 2018 New Revision: 334673 URL: https://svnweb.freebsd.org/changeset/base/334673 Log: Rework if_gif(4) to use new encap_lookup_t method to speedup lookup of needed interface when many gif interfaces are present. Remove rmlock from gif_softc, use epoch(9

svn commit: r334695 - in head/stand: common i386/libi386 uboot/lib userboot/userboot zfs

2018-06-05 Thread Ian Lepore
Author: ian Date: Tue Jun 5 22:13:45 2018 New Revision: 334695 URL: https://svnweb.freebsd.org/changeset/base/334695 Log: Remove comments and assertions that are no longer valid after r330809. r330809 replaced duplication of devdesc struct fields with an embedded copy of the devdesc stru

Re: svn commit: r334669 - head/sys/sys

2018-06-05 Thread Andriy Gapon
On 06/06/2018 00:07, Eric van Gyzen wrote: > On 06/05/2018 15:53, Ian Lepore wrote: >> This is a sad sad thing. Treating (bits & flagconstants) as boolean has >> a long long history in C. Surely there are literally thousand of >> occurrances in freebsd code already, so why did this one get flagged?

Re: svn commit: r334545 - in head/sys: contrib/zstd/lib/freebsd kern netinet/libalias sys

2018-06-05 Thread Mateusz Guzik
On Wed, Jun 6, 2018 at 12:52 AM, Gleb Smirnoff wrote: > On Tue, Jun 05, 2018 at 06:35:37PM +0200, Mateusz Guzik wrote: > M> > On 06/02/2018 17:20, Mateusz Guzik wrote: > M> > > +#ifdef _KERNEL > M> > > +#define malloc(size, type, flags) ({ > \ > M> > > + void *_malloc_item; >\ > M>

Re: svn commit: r334650 - head/sys/dev/usb

2018-06-05 Thread Eitan Adler
On 5 June 2018 at 07:01, Kevin Lo wrote: > On Tue, Jun 05, 2018 at 09:52:38AM +, Eitan Adler wrote: >> Author: eadler >> Date: Tue Jun 5 09:52:38 2018 >> New Revision: 334650 >> URL: https://svnweb.freebsd.org/changeset/base/334650 >> >> Log: >> usbdevs: sync from NetBSD >> >> This adds s

svn commit: r334700 - in head/etc: rc.d sendmail

2018-06-05 Thread Brad Davis
Author: brd Date: Wed Jun 6 01:51:05 2018 New Revision: 334700 URL: https://svnweb.freebsd.org/changeset/base/334700 Log: Only create /var/log/sendmail.st if start sendmail. For those of us that never use or start sendmail, it is unneeded. Approved by: bapt (mentor) Modified: head

svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matt Macy
Author: mmacy Date: Wed Jun 6 02:48:09 2018 New Revision: 334701 URL: https://svnweb.freebsd.org/changeset/base/334701 Log: hwpmc: add summary command and further metadata extensions metadata changes: - log pmc sample rate with pmcallocate - log proc flags with thread / process logging

Re: svn commit: r334669 - head/sys/sys

2018-06-05 Thread Bruce Evans
On Tue, 5 Jun 2018, Eric van Gyzen wrote: On 06/05/2018 15:53, Ian Lepore wrote: On Tue, 2018-06-05 at 20:34 +, Eric van Gyzen wrote: Author: vangyzen Date: Tue Jun\xc2\xa0\xc2\xa05 20:34:11 2018 New Revision: 334669 URL: https://svnweb.freebsd.org/changeset/base/334669 Log: \xc2\xa0 Make

Re: svn commit: r334671 - in head/sys: net netinet netinet6 netipsec

2018-06-05 Thread Matthew Macy
This appears to have broken the NOINET build. --- ip6_gre.o --- cc -target i386-unknown-freebsd12.0 --sysroot=/home/mmacy/devel/build/home/mmacy/networking/i386.i386/tmp -B/home/mmacy/devel/build/home/mmacy/networking/i386.i386/tmp/usr/bin -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MO

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Cy Schubert
In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy writes: > Author: mmacy > Date: Wed Jun 6 02:48:09 2018 > New Revision: 334701 > URL: https://svnweb.freebsd.org/changeset/base/334701 > > Log: > hwpmc: add summary command and further metadata extensions > > metadata cha

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Cy Schubert
In message <201806060353.w563rpg1070...@slippy.cwsent.com>, Cy Schubert writes: > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > writes: > > Author: mmacy > > Date: Wed Jun 6 02:48:09 2018 > > New Revision: 334701 > > URL: https://svnweb.freebsd.org/changeset/base/334701

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Mark Millard via svn-src-head
Cy Schubert Cy.Schubert at cschubert.com wrote on Wed Jun 6 04:10:39 UTC 2018 : > Oops, I should have pasted this into my previous email. > > --- cmd_pmc_filter.o --- > /usr/local/bin/ccache cc -target x86_64-unknown-freebsd12.0 > --sysroot=/export/obj/opt/src/svn-current/amd64.amd64/tmp > -B/e

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matthew Macy
Which arch? Universe is passing for me (except for pre-existing breakage of i386-LINT-NOINET). -M On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote: > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > writes: >> Author: mmacy >> Date: Wed Jun 6 02:48:09 2018 >> New Revision

svn commit: r334702 - head/sys/sys

2018-06-05 Thread Mateusz Guzik
Author: mjg Date: Wed Jun 6 05:08:05 2018 New Revision: 334702 URL: https://svnweb.freebsd.org/changeset/base/334702 Log: malloc: elaborate on r334545 due to frequent questions While here annotate the NULL check as probably true. Modified: head/sys/sys/malloc.h Modified: head/sys/sys/m

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Cy Schubert
amd64 ~cy In message , Matthew Macy writes: > Which arch? Universe is passing for me (except for pre-existing > breakage of i386-LINT-NOINET). > > -M > > On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote > : > > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > > writes: >

svn commit: r334703 - head/sys/netinet6

2018-06-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 6 05:17:21 2018 New Revision: 334703 URL: https://svnweb.freebsd.org/changeset/base/334703 Log: Fix LINT-NOINET build. Use known at build time size for min_length value. Also remove the check from in6_gre_encapcheck(), now it is done in generic code. Modified:

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Matthew Macy
-DNO_CLEAN doesn't work with the file rename. On Tue, Jun 5, 2018 at 10:14 PM, Cy Schubert wrote: > amd64 > > ~cy > > In message il.com> > , Matthew Macy writes: >> Which arch? Universe is passing for me (except for pre-existing >> breakage of i386-LINT-NOINET). >> >> -M >> >> On Tue, Jun 5, 20

Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

2018-06-05 Thread Cy Schubert
I came to that same conclusion myself moments ago. Thanks. In message , Matthew Macy writes: > -DNO_CLEAN doesn't work with the file rename. > > On Tue, Jun 5, 2018 at 10:14 PM, Cy Schubert wrot > e: > > amd64 > > > > ~cy > > > > In message > il.com> > > , Matthew Macy writes: > >> Which arc

svn commit: r334704 - head/usr.bin/top

2018-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:42:12 2018 New Revision: 334704 URL: https://svnweb.freebsd.org/changeset/base/334704 Log: top(1): make error message happy We don't use a "size" variable, so just don't report it. Reported by: bapt Modified: head/usr.bin/top/machine.c Modified:

Re: svn commit: r334557 - head/usr.bin/top

2018-06-05 Thread Eitan Adler
On 3 June 2018 at 22:42, Baptiste Daroussin wrote: > On Sun, Jun 03, 2018 at 01:41:24PM +, Eitan Adler wrote: >> Author: eadler >> Date: Sun Jun 3 13:41:23 2018 >> New Revision: 334557 >> URL: https://svnweb.freebsd.org/changeset/base/334557 >> >> Log: >> top(1): restore size for kern.cp_ti