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

2018-01-19 Thread John Baldwin
On Wednesday, January 17, 2018 03:14:37 PM Gleb Smirnoff wrote: > On Tue, Jan 02, 2018 at 09:56:09AM -0800, John Baldwin wrote: > J> > this is a recurring issue. Program that want to look into the > J> > internals of files such as mount.h > J> > and define _KERNEL to allow themselves to do so.

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

2018-01-17 Thread Gleb Smirnoff
On Tue, Jan 02, 2018 at 09:56:09AM -0800, John Baldwin wrote: J> > this is a recurring issue. Program that want to look into the J> > internals of files such as mount.h J> > and define _KERNEL to allow themselves to do so. It eventualy leads J> > to all sorts of confusion and pollution. J> >

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

2018-01-02 Thread John Baldwin
On Tuesday, January 02, 2018 11:56:31 AM Julian Elischer wrote: > On 1/1/18 5:00 am, Colin Percival wrote: > > Author: cperciva > > Date: Sun Dec 31 21:00:21 2017 > > New Revision: 327447 > > URL: https://svnweb.freebsd.org/changeset/base/327447 > > > > Log: > >Wrap includes in sys/tslog.h

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

2018-01-01 Thread Julian Elischer
On 1/1/18 5:00 am, Colin Percival wrote: Author: cperciva Date: Sun Dec 31 21:00:21 2017 New Revision: 327447 URL: https://svnweb.freebsd.org/changeset/base/327447 Log: Wrap includes in sys/tslog.h with #ifdef TSLOG. This is necessary because some non-kernel code #defines _KERNEL and

svn commit: r327447 - head/sys/sys

2017-12-31 Thread Colin Percival
Author: cperciva Date: Sun Dec 31 21:00:21 2017 New Revision: 327447 URL: https://svnweb.freebsd.org/changeset/base/327447 Log: Wrap includes in sys/tslog.h with #ifdef TSLOG. This is necessary because some non-kernel code #defines _KERNEL and then includes kernel headers; as a result,