CVS commit: src/sys/sys

2019-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 11 14:56:25 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Be consistent about semicolons in macros: always put them in the macro definitions and in the macro invocations so that the invocations look like st

CVS commit: src/sys/sys

2019-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 11 14:56:25 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Be consistent about semicolons in macros: always put them in the macro definitions and in the macro invocations so that the invocations look like st

CVS commit: src/sys/sys

2019-09-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Sep 8 11:53:23 UTC 2019 Modified Files: src/sys/sys: signalvar.h Log Message: Fix libkvm build. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/sys/signalvar.h Please note that diffs are not public d

CVS commit: src/sys/sys

2019-09-08 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Sep 8 11:53:23 UTC 2019 Modified Files: src/sys/sys: signalvar.h Log Message: Fix libkvm build. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/sys/signalvar.h Please note that diffs are not public d

CVS commit: src/sys/sys

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 22:29:59 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.11 struct in6_addr ABI revert to the previous layout. To generate a diff of this commit: cvs rdiff -u -r1.610 -r1.611 src/sys/sys/par

CVS commit: src/sys/sys

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 22:29:59 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.11 struct in6_addr ABI revert to the previous layout. To generate a diff of this commit: cvs rdiff -u -r1.610 -r1.611 src/sys/sys/par

Re: CVS commit: src/sys/sys

2019-08-11 Thread Martin Husemann
On Sun, Aug 11, 2019 at 03:46:02PM +0200, Kamil Rytarowski wrote: > Not usable in C++, we shipped with patches in 3rd party code. Patches in 3rd party code means to me: the system header is usable (but maybe awkward). Martin

Re: CVS commit: src/sys/sys

2019-08-11 Thread Kamil Rytarowski
On 11.08.2019 09:17, Martin Husemann wrote: > On Sat, Aug 10, 2019 at 11:37:28PM +0200, Kamil Rytarowski wrote: >>> can we go back to the drawing board on this one and discuss the original >>> problem? >>> >> >> C++ and cast rules. > > The question is whether we really should play this game in our

Re: CVS commit: src/sys/sys

2019-08-11 Thread Christos Zoulas
In article <20190810203301.be06bf...@cvs.netbsd.org>, Kamil Rytarowski wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: kamil >Date: Sat Aug 10 20:33:01 UTC 2019 > >Modified Files: > src/sys/sys: event.h > >Log Message: >Use common macro for _EV_SET() for integer types > >D

Re: CVS commit: src/sys/sys

2019-08-11 Thread maya
On Sun, Aug 11, 2019 at 09:17:05AM +0200, Martin Husemann wrote: > On Sat, Aug 10, 2019 at 11:37:28PM +0200, Kamil Rytarowski wrote: > > > can we go back to the drawing board on this one and discuss the original > > > problem? > > > > > > > C++ and cast rules. > > The question is whether we real

Re: CVS commit: src/sys/sys

2019-08-11 Thread Martin Husemann
On Sat, Aug 10, 2019 at 11:37:28PM +0200, Kamil Rytarowski wrote: > > can we go back to the drawing board on this one and discuss the original > > problem? > > > > C++ and cast rules. The question is whether we really should play this game in our system headers. The original state was usable in

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 23:47:13 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Fix typo in pragma in sys/event.h Reenable -Wconversion-null. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/sys/event.h Plea

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 23:47:13 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Fix typo in pragma in sys/event.h Reenable -Wconversion-null. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/sys/event.h Plea

Re: CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
On 10.08.2019 22:37, m...@netbsd.org wrote: > On Sat, Aug 10, 2019 at 08:33:01PM +, Kamil Rytarowski wrote: >> Module Name: src >> Committed By:kamil >> Date:Sat Aug 10 20:33:01 UTC 2019 >> >> Modified Files: >> src/sys/sys: event.h >> >> Log Message: >> Use common

Re: CVS commit: src/sys/sys

2019-08-10 Thread maya
On Sat, Aug 10, 2019 at 08:33:01PM +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Sat Aug 10 20:33:01 UTC 2019 > > Modified Files: > src/sys/sys: event.h > > Log Message: > Use common macro for _EV_SET() for integer types > > Deduplicate code. > >

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 20:33:01 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Use common macro for _EV_SET() for integer types Deduplicate code. No functional change change intended. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 20:33:01 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Use common macro for _EV_SET() for integer types Deduplicate code. No functional change change intended. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 15:02:03 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Handle more corner cases in sys/event.h for C++ EV_SET() Handle the udata argument as Plain-Old-Data types separately. - int, long int, long long int

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 15:02:03 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Handle more corner cases in sys/event.h for C++ EV_SET() Handle the udata argument as Plain-Old-Data types separately. - int, long int, long long int

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 11:20:50 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Add fallback defintion for C++ of _EV_SET with the last argument of type 0 Converting 0 to intptr and void* is ambiguous according to a C++ compiler. N

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 11:20:50 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Add fallback defintion for C++ of _EV_SET with the last argument of type 0 Converting 0 to intptr and void* is ambiguous according to a C++ compiler. N

CVS commit: src/sys/sys

2019-08-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 00:39:23 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.4 (the module sysctl stuff changes struct module, so be safe and bump the kernel version). To generate a diff of this commit: cvs r

CVS commit: src/sys/sys

2019-08-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 00:39:23 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.4 (the module sysctl stuff changes struct module, so be safe and bump the kernel version). To generate a diff of this commit: cvs r

CVS commit: src/sys/sys

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 11:21:59 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Make EV_SET() casts compatible with the C++ code EV_SET() handles cast that are expected to work with alternative kqueue/kevent implementations that ta

CVS commit: src/sys/sys

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 11:21:59 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Make EV_SET() casts compatible with the C++ code EV_SET() handles cast that are expected to work with alternative kqueue/kevent implementations that ta

CVS commit: src/sys/sys

2019-07-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jul 31 14:35:25 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump for recent changes to struct rasops_info. Welcome to NetBSD 9.99.2! To generate a diff of this commit: cvs rdiff -u -r1.600 -r1.601 src/sys/sys/pa

CVS commit: src/sys/sys

2019-07-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jul 31 14:35:25 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump for recent changes to struct rasops_info. Welcome to NetBSD 9.99.2! To generate a diff of this commit: cvs rdiff -u -r1.600 -r1.601 src/sys/sys/pa

CVS commit: src/sys/sys

2019-07-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 20 20:59:05 UTC 2019 Modified Files: src/sys/sys: compat_stub.h Log Message: add missing 'struct reg;' forward decl. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/sys/compat_stub.h Please note that

CVS commit: src/sys/sys

2019-07-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 20 20:59:05 UTC 2019 Modified Files: src/sys/sys: compat_stub.h Log Message: add missing 'struct reg;' forward decl. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/sys/compat_stub.h Please note that

CVS commit: src/sys/sys

2019-07-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 17 03:30:31 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Implemet VLAN hardware filter function (struct ethercom change). Welcome to 8.99.51. To generate a diff of this commit: cvs rdiff -u -r1.598 -r1.5

CVS commit: src/sys/sys

2019-07-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 17 03:30:31 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Implemet VLAN hardware filter function (struct ethercom change). Welcome to 8.99.51. To generate a diff of this commit: cvs rdiff -u -r1.598 -r1.5

CVS commit: src/sys/sys

2019-07-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 15 19:34:45 UTC 2019 Modified Files: src/sys/sys: proc.h Log Message: Move a comment line get it next to the line it describes, avoiding intervening unrelated text. NFCI To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/sys

2019-07-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 15 19:34:45 UTC 2019 Modified Files: src/sys/sys: proc.h Log Message: Move a comment line get it next to the line it describes, avoiding intervening unrelated text. NFCI To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/sys

2019-07-03 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Jul 4 02:49:30 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump the version for if_description Welcome to 8.99.50 To generate a diff of this commit: cvs rdiff -u -r1.597 -r1.598 src/sys/sys/param.h Please

CVS commit: src/sys/sys

2019-07-03 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Jul 4 02:49:30 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump the version for if_description Welcome to 8.99.50 To generate a diff of this commit: cvs rdiff -u -r1.597 -r1.598 src/sys/sys/param.h Please

CVS commit: src/sys/sys

2019-06-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Jun 28 15:10:32 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Added "b_ci" field to struct buf. Welcome to 8.99.49. To generate a diff of this commit: cvs rdiff -u -r1.596 -r1.597 src/sys/sys/param.h Please

CVS commit: src/sys/sys

2019-06-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Jun 28 15:10:32 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Added "b_ci" field to struct buf. Welcome to 8.99.49. To generate a diff of this commit: cvs rdiff -u -r1.596 -r1.597 src/sys/sys/param.h Please

CVS commit: src/sys/sys

2019-06-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jun 25 03:41:05 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Belated bump to account for splitting the ufs stuff out of the ffs module, and making ext2fs and ffs depend on ufs. Welcome to 8.99.48 To generate

CVS commit: src/sys/sys

2019-06-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jun 25 03:41:05 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Belated bump to account for splitting the ufs stuff out of the ffs module, and making ext2fs and ffs depend on ufs. Welcome to 8.99.48 To generate

CVS commit: src/sys/sys

2019-06-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 20 03:34:38 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.47! New function do_posix_mknodat() that is called from the netbsd32 compat module. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/sys

2019-06-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 20 03:34:38 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.47! New function do_posix_mknodat() that is called from the netbsd32 compat module. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/sys

2019-06-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 19 21:39:53 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Add an explicit node that lwp status numbers are set in stone Requested by To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/sys

CVS commit: src/sys/sys

2019-06-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 19 21:39:53 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Add an explicit node that lwp status numbers are set in stone Requested by To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/sys

CVS commit: src/sys/sys

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 22:41:32 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome 8.99.46! do_sys_mknod{,at}() changes quota modules refactoring To generate a diff of this commit: cvs rdiff -u -r1.593 -r1.594 src/sys/sys/pa

CVS commit: src/sys/sys

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 22:41:32 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome 8.99.46! do_sys_mknod{,at}() changes quota modules refactoring To generate a diff of this commit: cvs rdiff -u -r1.593 -r1.594 src/sys/sys/pa

CVS commit: src/sys/sys

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 22:40:09 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Stop defining in lwp.h: LSDEAD Not used since NetBSD-5.0. It had a confusing comment that suggested that all entries after LSDEAD are removed, which was

CVS commit: src/sys/sys

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 22:40:09 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Stop defining in lwp.h: LSDEAD Not used since NetBSD-5.0. It had a confusing comment that suggested that all entries after LSDEAD are removed, which was

CVS commit: src/sys/sys

2019-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 13 20:23:56 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.45! struct lwp includes now l_vforkwaiting. To generate a diff of this commit: cvs rdiff -u -r1.592 -r1.593 src/sys/sys/param.h Plea

CVS commit: src/sys/sys

2019-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 13 20:23:56 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.45! struct lwp includes now l_vforkwaiting. To generate a diff of this commit: cvs rdiff -u -r1.592 -r1.593 src/sys/sys/param.h Plea

CVS commit: src/sys/sys

2019-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 11 23:20:18 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.44! posix_spawn(3) + ptrace(2) integration changed 'struct proc'. To generate a diff of this commit: cvs rdiff -u -r1.591 -r1.592 src

CVS commit: src/sys/sys

2019-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 11 23:20:18 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 8.99.44! posix_spawn(3) + ptrace(2) integration changed 'struct proc'. To generate a diff of this commit: cvs rdiff -u -r1.591 -r1.592 src

CVS commit: src/sys/sys

2019-05-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 29 10:09:01 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Addition of ec_ifmedia. Welcome to 8.99.42. To generate a diff of this commit: cvs rdiff -u -r1.589 -r1.590 src/sys/sys/param.h Please note that d

CVS commit: src/sys/sys

2019-05-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 29 10:09:01 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Addition of ec_ifmedia. Welcome to 8.99.42. To generate a diff of this commit: cvs rdiff -u -r1.589 -r1.590 src/sys/sys/param.h Please note that d

CVS commit: src/sys/sys

2019-05-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 26 10:21:33 UTC 2019 Modified Files: src/sys/sys: ioccom.h Log Message: Fix IOCSNPRINTF(), 'R' and 'W' were reversed. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/sys/ioccom.h Please note that

CVS commit: src/sys/sys

2019-05-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 26 10:21:33 UTC 2019 Modified Files: src/sys/sys: ioccom.h Log Message: Fix IOCSNPRINTF(), 'R' and 'W' were reversed. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/sys/ioccom.h Please note that

CVS commit: src/sys/sys

2019-05-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 17 07:38:48 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: New SIOC[GS]IFMEDIA. Welcome to 8.99.41. To generate a diff of this commit: cvs rdiff -u -r1.588 -r1.589 src/sys/sys/param.h Please note that diff

CVS commit: src/sys/sys

2019-05-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 17 07:38:48 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: New SIOC[GS]IFMEDIA. Welcome to 8.99.41. To generate a diff of this commit: cvs rdiff -u -r1.588 -r1.589 src/sys/sys/param.h Please note that diff

CVS commit: src/sys/sys

2019-05-13 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon May 13 07:54:52 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump the version for entry additions to IP_STAT and IP6_STAT Welcome to 8.99.40 To generate a diff of this commit: cvs rdiff -u -r1.587 -r1.588 src

CVS commit: src/sys/sys

2019-05-13 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon May 13 07:54:52 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Bump the version for entry additions to IP_STAT and IP6_STAT Welcome to 8.99.40 To generate a diff of this commit: cvs rdiff -u -r1.587 -r1.588 src

Re: CVS commit: src/sys/sys

2019-04-29 Thread Christos Zoulas
In article <20190429231212.b1b55f...@cvs.netbsd.org>, Valeriy E. Ushakov wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: uwe >Date: Mon Apr 29 23:12:12 UTC 2019 > >Modified Files: > src/sys/sys: mman.h > >Log Message: >Format MAP_FMT so that it's more humanly readable. >Sa

Re: CVS commit: src/sys/sys

2018-11-06 Thread Kamil Rytarowski
On 07.11.2018 00:55, m...@netbsd.org wrote: > On Tue, Nov 06, 2018 at 11:15:11PM +0300, Valery Ushakov wrote: >> On Tue, Nov 06, 2018 at 16:26:44 +, Maya Rashish wrote: >> >>> Module Name:src >>> Committed By: maya >>> Date: Tue Nov 6 16:26:44 UTC 2018 >>> >>> Modif

Re: CVS commit: src/sys/sys

2018-11-06 Thread John Nemeth
On Nov 6, 4:26pm, "Maya Rashish" wrote: } } Module Name: src } Committed By: maya } Date: Tue Nov 6 16:26:44 UTC 2018 } } Modified Files: } src/sys/sys: stdint.h types.h } } Log Message: } Guard from type redefinition (needed by pre-C11 C) in a safer way. Why was this comm

Re: CVS commit: src/sys/sys

2018-11-06 Thread maya
On Tue, Nov 06, 2018 at 11:15:11PM +0300, Valery Ushakov wrote: > On Tue, Nov 06, 2018 at 16:26:44 +, Maya Rashish wrote: > > > Module Name:src > > Committed By: maya > > Date: Tue Nov 6 16:26:44 UTC 2018 > > > > Modified Files: > > src/sys/sys: stdint.h types

Re: CVS commit: src/sys/sys

2018-11-06 Thread Valery Ushakov
On Tue, Nov 06, 2018 at 16:26:44 +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Tue Nov 6 16:26:44 UTC 2018 > > Modified Files: > src/sys/sys: stdint.h types.h > > Log Message: > Guard from type redefinition (needed by pre-C11 C) in a safer way. > > T

Re: CVS commit: src/sys/sys

2018-08-22 Thread Robert Elz
Maxime Villard writes: | Shouldn't we make kern_malloc take a size_t? In the end it calls kmem_alloc | which does take a size_t. Someone else's decision, I am not sure of all of the ramifications. | The reason we should not use __nothing is because it leaves unused | variables, and cause

Re: CVS commit: src/sys/sys

2018-08-22 Thread Christos Zoulas
In article , Maxime Villard wrote: > >The reason we should not use __nothing is because it leaves unused >variables, and causes warnings. Yes, and depending on the compiler and optimization level also leaves code behind, or might have side effects. This is why everywhere else we use empty macro

Re: CVS commit: src/sys/sys

2018-08-22 Thread Martin Husemann
On Wed, Aug 22, 2018 at 02:24:09PM +0200, Maxime Villard wrote: > Shouldn't we make kern_malloc take a size_t? In the end it calls kmem_alloc > which does take a size_t. Lots of builds are broken, can we back it out untill we know what to do? Martin

Re: CVS commit: src/sys/sys

2018-08-22 Thread Maxime Villard
Le 22/08/2018 à 14:14, Robert Elz a écrit : Module Name:src Committed By: kre Date: Wed Aug 22 12:14:29 UTC 2018 Modified Files: src/sys/sys: asan.h Log Message: Temporarily disable the dummy inline funcs, and replace them with __nothing until maxv sorts out the type iss

Re: CVS commit: src/sys/sys

2018-07-08 Thread Paul Goyette
On Sun, 8 Jul 2018, Christos Zoulas wrote: On Jul 9, 5:56am, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: CVS commit: src/sys/sys | > Yes, the double evaluation is a show-stopper, please revert. | | A quick inspection shows that no additional code is generated, at least | w

Re: CVS commit: src/sys/sys

2018-07-08 Thread Christos Zoulas
On Jul 9, 5:56am, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: CVS commit: src/sys/sys | > Yes, the double evaluation is a show-stopper, please revert. | | A quick inspection shows that no additional code is generated, at least | when using gcc. For example: Not if the value

Re: CVS commit: src/sys/sys

2018-07-08 Thread Paul Goyette
On Sun, 8 Jul 2018, Christos Zoulas wrote: Committed By: pgoyette Date: Sun Jul 8 06:21:42 UTC 2018 Modified Files: src/sys/sys: types.h Log Message: Use a different, type-insensitive idiom for CLR(). As discussed on IRC and proposed by dholland@, the existing idiom is ty

Re: CVS commit: src/sys/sys

2018-07-08 Thread Christos Zoulas
In article <20180708092258.ga13...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Sun, Jul 08, 2018 at 06:21:42AM +, Paul Goyette wrote: >> Module Name: src >> Committed By:pgoyette >> Date:Sun Jul 8 06:21:42 UTC 2018 >> >> Modified Files: >> src/sys/sys: typ

Re: CVS commit: src/sys/sys

2018-07-08 Thread Joerg Sonnenberger
On Sun, Jul 08, 2018 at 06:21:42AM +, Paul Goyette wrote: > Module Name: src > Committed By: pgoyette > Date: Sun Jul 8 06:21:42 UTC 2018 > > Modified Files: > src/sys/sys: types.h > > Log Message: > Use a different, type-insensitive idiom for CLR(). > > As discussed on IRC a

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: 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: 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/sys

2018-03-08 Thread Joerg Sonnenberger
On Thu, Mar 08, 2018 at 10:25:45PM +, Christos Zoulas wrote: > In article <20180308215453.gb22...@britannica.bec.de>, > Joerg Sonnenberger wrote: > >On Thu, Mar 08, 2018 at 03:32:33PM -0500, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >> Date:

Re: CVS commit: src/sys/sys

2018-03-08 Thread Christos Zoulas
In article <20180308215453.gb22...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Thu, Mar 08, 2018 at 03:32:33PM -0500, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Thu Mar 8 20:32:33 UTC 2018 >> >> Modified Files: >> src/sys/sys:

Re: CVS commit: src/sys/sys

2018-03-08 Thread Joerg Sonnenberger
On Thu, Mar 08, 2018 at 03:32:33PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Thu Mar 8 20:32:33 UTC 2018 > > Modified Files: > src/sys/sys: bitops.h > > Log Message: > PR/53081: Fix size of the shift to depend on the type of the bitmap so th

Re: CVS commit: src/sys/sys

2017-10-23 Thread Masanobu SAITOH
On 2017/10/23 18:35, SAITOH Masanobu wrote: Welcome to 8.99.4 s/8.99.4/8.99.5/ -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: CVS commit: src/sys/sys

2017-06-12 Thread Joerg Sonnenberger
On Mon, Jun 12, 2017 at 07:45:37AM -0700, Chuck Silvers wrote: > On Mon, Jun 12, 2017 at 02:54:46PM +0200, Joerg Sonnenberger wrote: > > On Thu, Jun 08, 2017 at 10:24:59PM +, Chuck Silvers wrote: > > > Module Name: src > > > Committed By: chs > > > Date: Thu Jun 8 22:24:59

Re: CVS commit: src/sys/sys

2017-06-12 Thread Chuck Silvers
On Mon, Jun 12, 2017 at 02:54:46PM +0200, Joerg Sonnenberger wrote: > On Thu, Jun 08, 2017 at 10:24:59PM +, Chuck Silvers wrote: > > Module Name:src > > Committed By: chs > > Date: Thu Jun 8 22:24:59 UTC 2017 > > > > Modified Files: > > src/sys/sys: disk.h > >

Re: CVS commit: src/sys/sys

2017-06-12 Thread Joerg Sonnenberger
On Thu, Jun 08, 2017 at 10:24:59PM +, Chuck Silvers wrote: > Module Name: src > Committed By: chs > Date: Thu Jun 8 22:24:59 UTC 2017 > > Modified Files: > src/sys/sys: disk.h > > Log Message: > do not expose kernel-internal structure definitions to userland. > needed for ZFS.

Re: CVS commit: src/sys/sys

2017-01-17 Thread Martin Husemann
On Tue, Jan 17, 2017 at 08:11:08PM +, Christos Zoulas wrote: > Anyway, what they did is a gross hack with unintended consequences. If > we want to encourage bugs and abuse in the system headers, we should > turn it back off. More warnings is always good as long as the s/n rate is not absurd. I

Re: CVS commit: src/sys/sys

2017-01-17 Thread Christos Zoulas
In article <20170117155009.ga13...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Tue, Jan 17, 2017 at 01:13:07PM +, Maya Rashish wrote: >> Module Name: src >> Committed By:maya >> Date:Tue Jan 17 13:13:07 UTC 2017 >> >> Modified Files: >> src/sys/sys: time.h

Re: CVS commit: src/sys/sys

2017-01-17 Thread Joerg Sonnenberger
On Tue, Jan 17, 2017 at 01:13:07PM +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Tue Jan 17 13:13:07 UTC 2017 > > Modified Files: > src/sys/sys: time.h > > Log Message: > define constants as being wider than int when needed, instead of casting > them at

re: CVS commit: src/sys/sys

2017-01-06 Thread Paul Goyette
On Fri, 6 Jan 2017, matthew green wrote: Paul Goyette writes: Yeah, I managed to type -m instead of -f Should already be fixed (via cvs admin) in the repo. can you update the mailing list with the fixed text please? that's the normal method as well. Sorry, here's the revised commit message

re: CVS commit: src/sys/sys

2017-01-06 Thread matthew green
Paul Goyette writes: > Yeah, I managed to type -m instead of -f > > Should already be fixed (via cvs admin) in the repo. can you update the mailing list with the fixed text please? that's the normal method as well. thanks. .mrg. > On Fri, 6 Jan 2017, matthew green wrote: > > > "Paul Goyette"

re: CVS commit: src/sys/sys

2017-01-05 Thread Paul Goyette
Yeah, I managed to type -m instead of -f Should already be fixed (via cvs admin) in the repo. On Fri, 6 Jan 2017, matthew green wrote: "Paul Goyette" writes: Module Name:src Committed By: pgoyette Date: Thu Jan 5 22:51:15 UTC 2017 Modified Files: src/sys/sys: time.h

re: CVS commit: src/sys/sys

2017-01-05 Thread matthew green
"Paul Goyette" writes: > Module Name: src > Committed By: pgoyette > Date: Thu Jan 5 22:51:15 UTC 2017 > > Modified Files: > src/sys/sys: time.h > > Log Message: > /home/paul/time.msg interesting!

Re: CVS commit: src/sys/sys

2017-01-05 Thread Christos Zoulas
In article <20170105232440.032b1f...@cvs.netbsd.org>, Paul Goyette wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: pgoyette >Date: Thu Jan 5 23:24:39 UTC 2017 > >Modified Files: > src/sys/sys: time.h > >Log Message: >Define macros for the time conversion magic numbers. S

Re: CVS commit: src/sys/sys

2017-01-05 Thread Paul Goyette
On Thu, 5 Jan 2017, Christos Zoulas wrote: In article <20170105225115.78e7df...@cvs.netbsd.org>, Paul Goyette wrote: -=-=-=-=-=- Module Name:src Committed By: pgoyette Date: Thu Jan 5 22:51:15 UTC 2017 Modified Files: src/sys/sys: time.h Log Message: /home/paul/time

Re: CVS commit: src/sys/sys

2017-01-05 Thread Christos Zoulas
In article <20170105225115.78e7df...@cvs.netbsd.org>, Paul Goyette wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: pgoyette >Date: Thu Jan 5 22:51:15 UTC 2017 > >Modified Files: > src/sys/sys: time.h > >Log Message: >/home/paul/time.msg > Perhaps #define some BINTIME_SCA

Re: CVS commit: src/sys/sys

2016-12-12 Thread coypu
On Mon, Dec 12, 2016 at 10:07:12PM +, co...@sdf.org wrote: > > This unfortunately presents a problem with pulling up > the fix to -7. on icb someone mentioned 7.1 is a different version anyway. so it shouldn't be an issue here, yay.

<    1   2   3   4   5   6   7   >