Re: CVS commit: src/sys/sys

2018-04-17 Thread Michael van Elst
On Wed, Apr 18, 2018 at 07:51:01AM +0200, Kamil Rytarowski wrote: > > OK, so assuming that shall not be exposed to userland - I > propose this patch: > > http://netbsd.org/~kamil/patch-00047-pmf_h.txt It's all gross Exposing sys/pmf.h to userland is probably necessary. Greetings, --

Re: CVS commit: src/sys/sys

2018-04-17 Thread Kamil Rytarowski
On 18.04.2018 07:30, Michael van Elst wrote: > On Wed, Apr 18, 2018 at 07:09:34AM +0200, Kamil Rytarowski wrote: > >>> Anyway, I think sys/pmf.h is only included for the declaration of >>> pmf_qual_t and that is only used for some function declarations that >>> are for _KERNEL only. Can you please

Re: CVS commit: src/sys/sys

2018-04-17 Thread Michael van Elst
On Wed, Apr 18, 2018 at 07:09:34AM +0200, Kamil Rytarowski wrote: > > Anyway, I think sys/pmf.h is only included for the declaration of > > pmf_qual_t and that is only used for some function declarations that > > are for _KERNEL only. Can you please try: Maybe this: Index: sys/device.h

Re: CVS commit: src/sys/sys

2018-04-17 Thread Kamil Rytarowski
On 18.04.2018 06:56, Michael van Elst wrote: > On Wed, Apr 18, 2018 at 01:36:23AM +0200, Kamil Rytarowski wrote: > >> Looking at other users, everyone except include >> in the _KERNEL namespace. > > It defines internal kernel data structures. Normal programs must > not see it, that's why it was

Re: CVS commit: src/sys/sys

2018-04-17 Thread Michael van Elst
On Wed, Apr 18, 2018 at 01:36:23AM +0200, Kamil Rytarowski wrote: > Looking at other users, everyone except include > in the _KERNEL namespace. It defines internal kernel data structures. Normal programs must not see it, that's why it was hidden and finally all uses were removed from userland,

Re: CVS commit: [pgoyette-compat] src/doc

2018-04-17 Thread Paul Goyette
On Wed, 18 Apr 2018, Paul Goyette wrote: Module Name:src Committed By: pgoyette Date: Wed Apr 18 01:39:14 UTC 2018 Modified Files: src/doc [pgoyette-compat]: COMPAT-branch-notes Log Message: Note current lack of implementation for syscall #148 - pre-5.0 quotactl() FWI

Re: CVS commit: src/sys/sys

2018-04-17 Thread Kamil Rytarowski
On 18.04.2018 01:29, Kamil Rytarowski wrote: > On 17.04.2018 23:50, Michael van Elst wrote: >> On Tue, Apr 17, 2018 at 05:45:13PM +0200, Kamil Rytarowski wrote: >>> On 04.03.2018 08:13, Michael van Elst wrote: Module Name: src Committed By: mlelstv Date: Sun M

Re: CVS commit: src/sys/sys

2018-04-17 Thread Kamil Rytarowski
On 17.04.2018 23:50, Michael van Elst wrote: > On Tue, Apr 17, 2018 at 05:45:13PM +0200, Kamil Rytarowski wrote: >> On 04.03.2018 08:13, Michael van Elst wrote: >>> Module Name:src >>> Committed By: mlelstv >>> Date: Sun Mar 4 07:13:11 UTC 2018 >>> >>> Modified Files: >

Re: CVS commit: src/sys/sys

2018-04-17 Thread Michael van Elst
On Tue, Apr 17, 2018 at 05:45:13PM +0200, Kamil Rytarowski wrote: > On 04.03.2018 08:13, Michael van Elst wrote: > > Module Name:src > > Committed By: mlelstv > > Date: Sun Mar 4 07:13:11 UTC 2018 > > > > Modified Files: > > src/sys/sys: device.h > > > > Log Messa

re: CVS commit: [pgoyette-compat] src

2018-04-17 Thread Paul Goyette
On Wed, 18 Apr 2018, matthew green wrote: "Paul Goyette" writes: Module Name:src Committed By: pgoyette Date: Tue Apr 17 08:02:35 UTC 2018 Modified Files: src/distrib/sets/lists/modules [pgoyette-compat]: mi src/sys/modules [pgoyette-compat]: Makefile Added File

re: CVS commit: [pgoyette-compat] src

2018-04-17 Thread matthew green
"Paul Goyette" writes: > Module Name: src > Committed By: pgoyette > Date: Tue Apr 17 08:02:35 UTC 2018 > > Modified Files: > src/distrib/sets/lists/modules [pgoyette-compat]: mi > src/sys/modules [pgoyette-compat]: Makefile > Added Files: > src/sys/modules/compat_sysctl

Re: CVS commit: src/sys/sys

2018-04-17 Thread Kamil Rytarowski
On 04.03.2018 08:13, Michael van Elst wrote: > Module Name: src > Committed By: mlelstv > Date: Sun Mar 4 07:13:11 UTC 2018 > > Modified Files: > src/sys/sys: device.h > > Log Message: > Expose device structures to _KMEMUSER > > This broke building device.h with _KMEMUSER. > @

Re: CVS commit: src/sys/kern

2018-04-17 Thread Ryota Ozaki
On Tue, Apr 17, 2018 at 5:06 PM J. Hannken-Illjes wrote: > > On 17. Apr 2018, at 03:38, Ryota Ozaki wrote: > > > > On Tue, Apr 17, 2018 at 5:25 AM Juergen Hannken-Illjes < hann...@netbsd.org> > > wrote: > > > >> Module Name:src > >> Committed By: hannken > >> Date: Mon Apr 16 20

Re: CVS commit: src/sys/kern

2018-04-17 Thread J. Hannken-Illjes
> On 17. Apr 2018, at 03:38, Ryota Ozaki wrote: > > On Tue, Apr 17, 2018 at 5:25 AM Juergen Hannken-Illjes > wrote: > >> Module Name:src >> Committed By: hannken >> Date: Mon Apr 16 20:25:21 UTC 2018 > >> Modified Files: >> src/sys/kern: subr_pserialize.c > >> Log Mes