Module Name:src
Committed By: riastradh
Date: Wed Apr 17 18:10:27 UTC 2024
Modified Files:
src/sys/modules/examples/fopsmapper: cmd_mapper.c fopsmapper.c
Log Message:
modules/examples/fopsmapper: KNF, sprinkle comments
Missing: MP-safety; this is a kind of broken
Module Name:src
Committed By: riastradh
Date: Wed Apr 17 18:10:27 UTC 2024
Modified Files:
src/sys/modules/examples/fopsmapper: cmd_mapper.c fopsmapper.c
Log Message:
modules/examples/fopsmapper: KNF, sprinkle comments
Missing: MP-safety; this is a kind of broken
Module Name:src
Committed By: uwe
Date: Wed Feb 1 10:22:20 UTC 2023
Modified Files:
src/sys/modules/examples/ddbping: ddbping.c
Log Message:
ddbping - restore the original narration of the example, NFCI
Adjust previous change so that it only replaces my home-grown
Module Name:src
Committed By: uwe
Date: Wed Feb 1 10:22:20 UTC 2023
Modified Files:
src/sys/modules/examples/ddbping: ddbping.c
Log Message:
ddbping - restore the original narration of the example, NFCI
Adjust previous change so that it only replaces my home-grown
Module Name:src
Committed By: uwe
Date: Sun Aug 8 20:55:33 UTC 2021
Modified Files:
src/sys/modules/examples: Makefile
Log Message:
Add ddbping example module to SUBDIR list.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12
Module Name:src
Committed By: uwe
Date: Sun Aug 8 20:55:33 UTC 2021
Modified Files:
src/sys/modules/examples: Makefile
Log Message:
Add ddbping example module to SUBDIR list.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12
Module Name:src
Committed By: simonb
Date: Tue Mar 23 13:19:09 UTC 2021
Modified Files:
src/sys/modules/examples/sysctl: sysctl.c
Log Message:
Add some \n's to the end of some printf()s.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: simonb
Date: Tue Mar 23 13:19:09 UTC 2021
Modified Files:
src/sys/modules/examples/sysctl: sysctl.c
Log Message:
Add some \n's to the end of some printf()s.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: uwe
Date: Mon Jun 1 03:37:40 UTC 2020
Added Files:
src/sys/modules/examples/ddbping: Makefile ddbping.c
Log Message:
Example of a kernel module that registers DDB commands.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1
Module Name:src
Committed By: uwe
Date: Mon Jun 1 03:37:40 UTC 2020
Added Files:
src/sys/modules/examples/ddbping: Makefile ddbping.c
Log Message:
Example of a kernel module that registers DDB commands.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1
Module Name:src
Committed By: christos
Date: Fri May 1 21:42:34 UTC 2020
Modified Files:
src/sys/modules/examples/pollpal: pollpal.c
Log Message:
s/&&/&/ and also return POLLRDNORM (pointed out by joerg@)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: christos
Date: Fri May 1 21:42:34 UTC 2020
Modified Files:
src/sys/modules/examples/pollpal: pollpal.c
Log Message:
s/&&/&/ and also return POLLRDNORM (pointed out by joerg@)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: christos
Date: Thu Apr 30 10:55:32 UTC 2020
Modified Files:
src/sys/modules/examples/ping: ping.c
Log Message:
remove debugging stuff accidentally committed.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: christos
Date: Thu Apr 30 10:55:32 UTC 2020
Modified Files:
src/sys/modules/examples/ping: ping.c
Log Message:
remove debugging stuff accidentally committed.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: mrg
Date: Thu Apr 30 07:07:22 UTC 2020
Modified Files:
src/sys/modules/examples/pollpal: pollpal.c
Log Message:
include sys/lwp.h and fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: mrg
Date: Thu Apr 30 07:07:22 UTC 2020
Modified Files:
src/sys/modules/examples/pollpal: pollpal.c
Log Message:
include sys/lwp.h and fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: christos
Date: Thu Apr 30 00:48:10 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
src/sys/modules/examples/ping: ping.c
Added Files:
src/sys/modules/examples/pollpal: Makefile cmd_pollpal.c pollpal.c
Log
Module Name:src
Committed By: christos
Date: Thu Apr 30 00:48:10 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
src/sys/modules/examples/ping: ping.c
Added Files:
src/sys/modules/examples/pollpal: Makefile cmd_pollpal.c pollpal.c
Log
Module Name:src
Committed By: kamil
Date: Sat Apr 4 23:22:12 UTC 2020
Modified Files:
src/sys/modules/examples/current_time: current_time.c
Log Message:
Switch to type generic PRIu macros
Fixes build on i386.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: kamil
Date: Sat Apr 4 23:22:12 UTC 2020
Modified Files:
src/sys/modules/examples/current_time: current_time.c
Log Message:
Switch to type generic PRIu macros
Fixes build on i386.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: kamil
Date: Sat Apr 4 21:15:04 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/current_time: Makefile current_time.c
Log Message:
Add new example kernel module: current_time
Module Name:src
Committed By: kamil
Date: Sat Apr 4 21:15:04 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/current_time: Makefile current_time.c
Log Message:
Add new example kernel module: current_time
> Date: Wed, 1 Apr 2020 07:42:53 -0700
> From: Jason Thorpe
>
> If PAGE_SIZE is ostensibly a vsize_t / size_t, why not define it as (1U <<
> PAGE_SHIFT)?
Without running the following program, can you tell me what it will
print?
It might work to define PAGE_SIZE to be ((size_t)1 <<
I think that PAGESIZE is not always a constant in our code.
christos
signature.asc
Description: Message signed with OpenPGP
Date:Wed, 1 Apr 2020 16:31:01 +0200
From:Kamil Rytarowski
Message-ID:
| Does it look better?
|
| http://netbsd.org/~kamil/patch-00244-fopsmapper-PAGE_SIZE.txt
Apart from it needing to be (expressed in the relevant
make syntax, whatever that is)
if
> If PAGE_SIZE is ostensibly a vsize_t / size_t, why not define it as (1U <<
> PAGE_SHIFT)?
It will *probably* work unless we have 'if (negative_int > PAGESIZE)'
somewhere. I guess if you make the change and the kernel boots... :-)
christos
signature.asc
Description: Message signed with
> On Apr 1, 2020, at 7:17 AM, Christos Zoulas wrote:
>
> Which we have been slowly fixing. I think in this case the sign-compare
> warnings are annoying, but putting casts on each warning is cluttering
> the code needlessly. Unfortunately the alternative (to make the PAGESIZE
> constant
On 01.04.2020 16:17, Christos Zoulas wrote:
> In article ,
> Paul Goyette wrote:
>> On Wed, 1 Apr 2020, Kamil Rytarowski wrote:
>>
>>> On 01.04.2020 15:47, Robert Elz wrote:
Date:Wed, 1 Apr 2020 11:45:53 +
From:"Kamil Rytarowski"
Message-ID:
In article ,
Paul Goyette wrote:
>On Wed, 1 Apr 2020, Kamil Rytarowski wrote:
>
>> On 01.04.2020 15:47, Robert Elz wrote:
>>> Date:Wed, 1 Apr 2020 11:45:53 +
>>> From:"Kamil Rytarowski"
>>> Message-ID: <20200401114554.05167f...@cvs.netbsd.org>
>>>
>>> | Log
On 01.04.2020 16:10, Paul Goyette wrote:
> On Wed, 1 Apr 2020, Kamil Rytarowski wrote:
>
>> On 01.04.2020 15:47, Robert Elz wrote:
>>> Date: Wed, 1 Apr 2020 11:45:53 +
>>> From: "Kamil Rytarowski"
>>> Message-ID: <20200401114554.05167f...@cvs.netbsd.org>
>>>
>>> |
On Wed, 1 Apr 2020, Kamil Rytarowski wrote:
On 01.04.2020 15:47, Robert Elz wrote:
Date:Wed, 1 Apr 2020 11:45:53 +
From:"Kamil Rytarowski"
Message-ID: <20200401114554.05167f...@cvs.netbsd.org>
| Log Message:
| Avoid comparison between signed and unsigned
On 01.04.2020 15:47, Robert Elz wrote:
> Date:Wed, 1 Apr 2020 11:45:53 +
> From:"Kamil Rytarowski"
> Message-ID: <20200401114554.05167f...@cvs.netbsd.org>
>
> | Log Message:
> | Avoid comparison between signed and unsigned integer
> |
> | Cast PAGE_SIZE to
Date:Wed, 1 Apr 2020 11:45:53 +
From:"Kamil Rytarowski"
Message-ID: <20200401114554.05167f...@cvs.netbsd.org>
| Log Message:
| Avoid comparison between signed and unsigned integer
|
| Cast PAGE_SIZE to size_t.
This kind of pedantry is going way too far,
Module Name:src
Committed By: kamil
Date: Wed Apr 1 13:07:32 UTC 2020
Modified Files:
src/sys/modules/examples/fopsmapper: cmd_mapper.c
Log Message:
Fix CVS Id
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/fopsmapper/cmd_mapper.c
Module Name:src
Committed By: kamil
Date: Wed Apr 1 13:07:32 UTC 2020
Modified Files:
src/sys/modules/examples/fopsmapper: cmd_mapper.c
Log Message:
Fix CVS Id
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/fopsmapper/cmd_mapper.c
Module Name:src
Committed By: kamil
Date: Wed Apr 1 11:45:53 UTC 2020
Modified Files:
src/sys/modules/examples/fopsmapper: fopsmapper.c
Log Message:
Avoid comparison between signed and unsigned integer
Cast PAGE_SIZE to size_t.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: kamil
Date: Wed Apr 1 11:45:53 UTC 2020
Modified Files:
src/sys/modules/examples/fopsmapper: fopsmapper.c
Log Message:
Avoid comparison between signed and unsigned integer
Cast PAGE_SIZE to size_t.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: kamil
Date: Wed Apr 1 01:57:20 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/fopsmapper: Makefile cmd_mapper.c fopsmapper.c
Log Message:
Import a new example kernel module
Module Name:src
Committed By: kamil
Date: Wed Apr 1 01:57:20 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/fopsmapper: Makefile cmd_mapper.c fopsmapper.c
Log Message:
Import a new example kernel module
Module Name:src
Committed By: pgoyette
Date: Fri Feb 7 19:22:21 UTC 2020
Modified Files:
src/sys/modules/examples: README
Log Message:
Improve wording
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/modules/examples/README
Please note that diffs
Module Name:src
Committed By: pgoyette
Date: Fri Feb 7 19:22:21 UTC 2020
Modified Files:
src/sys/modules/examples: README
Log Message:
Improve wording
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/modules/examples/README
Please note that diffs
Module Name:src
Committed By: kamil
Date: Thu Feb 6 22:52:26 UTC 2020
Modified Files:
src/sys/modules/examples: README
Log Message:
Document what does ping_block.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/modules/examples/README
Please note
Module Name:src
Committed By: kamil
Date: Thu Feb 6 22:52:26 UTC 2020
Modified Files:
src/sys/modules/examples: README
Log Message:
Document what does ping_block.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/modules/examples/README
Please note
Module Name:src
Committed By: pgoyette
Date: Wed Feb 5 14:10:47 UTC 2020
Modified Files:
src/sys/modules/examples/ping: ping.c
src/sys/modules/examples/ping_block: ping.c
Log Message:
Use ENOTTY as error for an unrecognized ioctl() code, rather than
"magic
Module Name:src
Committed By: pgoyette
Date: Wed Feb 5 14:10:47 UTC 2020
Modified Files:
src/sys/modules/examples/ping: ping.c
src/sys/modules/examples/ping_block: ping.c
Log Message:
Use ENOTTY as error for an unrecognized ioctl() code, rather than
"magic
Module Name:src
Committed By: kamil
Date: Wed Feb 5 13:23:42 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/ping_block: Makefile cmd_ping.c ping.c ping.h
Log Message:
Import new example kernel module
Module Name:src
Committed By: kamil
Date: Wed Feb 5 13:23:42 UTC 2020
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/ping_block: Makefile cmd_ping.c ping.c ping.h
Log Message:
Import new example kernel module
Module Name:src
Committed By: kamil
Date: Thu Jan 30 07:58:34 UTC 2020
Modified Files:
src/sys/modules/examples/luareadhappy: luareadhappy.c
src/sys/modules/examples/mapper: mapper.c
src/sys/modules/examples/panic_string: panic_string.c
Module Name:src
Committed By: kamil
Date: Thu Jan 30 07:58:34 UTC 2020
Modified Files:
src/sys/modules/examples/luareadhappy: luareadhappy.c
src/sys/modules/examples/mapper: mapper.c
src/sys/modules/examples/panic_string: panic_string.c
Module Name:src
Committed By: ad
Date: Sat Dec 14 15:36:08 UTC 2019
Modified Files:
src/sys/modules/examples/executor: executor.c
Log Message:
Use MPSAFE callouts.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/executor/executor.c
Module Name:src
Committed By: ad
Date: Sat Dec 14 15:36:08 UTC 2019
Modified Files:
src/sys/modules/examples/executor: executor.c
Log Message:
Use MPSAFE callouts.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/executor/executor.c
Module Name:src
Committed By: kamil
Date: Thu Jan 17 20:47:42 UTC 2019
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/mapper: Makefile cmd_mapper.c mapper.c
Log Message:
Add a new example kernel module: mapper
Module Name:src
Committed By: kamil
Date: Thu Jan 17 20:47:42 UTC 2019
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/mapper: Makefile cmd_mapper.c mapper.c
Log Message:
Add a new example kernel module: mapper
Module Name:src
Committed By: kamil
Date: Tue May 29 16:53:56 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/panic_string: Makefile panic_string.c
Log Message:
Introduce new example kernel module:
Module Name:src
Committed By: kamil
Date: Tue May 29 16:53:56 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/panic_string: Makefile panic_string.c
Log Message:
Introduce new example kernel module:
Module Name:src
Committed By: kamil
Date: Fri Apr 20 00:06:45 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/readhappy_mpsafe: Makefile readhappy_mpsafe.c
test_readhappy.c
Log Message:
Add new
Module Name:src
Committed By: kamil
Date: Fri Apr 20 00:06:45 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/readhappy_mpsafe: Makefile readhappy_mpsafe.c
test_readhappy.c
Log Message:
Add new
Module Name:src
Committed By: kamil
Date: Fri Apr 13 20:30:09 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/executor: Makefile executor.c
Log Message:
Add a new example kernel module
executor - basic
Module Name:src
Committed By: kamil
Date: Fri Apr 13 20:30:09 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/executor: Makefile executor.c
Log Message:
Add a new example kernel module
executor - basic
Module Name:src
Committed By: kamil
Date: Fri Apr 13 01:20:28 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/sysctl: Makefile sysctl.c
Log Message:
Add new example kernel module: sysctl
sysctl -
Module Name:src
Committed By: kamil
Date: Fri Apr 13 01:20:28 UTC 2018
Modified Files:
src/sys/modules/examples: Makefile README
Added Files:
src/sys/modules/examples/sysctl: Makefile sysctl.c
Log Message:
Add new example kernel module: sysctl
sysctl -
Module Name:src
Committed By: sevan
Date: Sun Apr 23 23:39:42 UTC 2017
Modified Files:
src/sys/modules/examples: README
Log Message:
Add luareadhappy to the list.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/examples/README
Please note
Module Name:src
Committed By: kamil
Date: Sat Apr 15 18:22:35 UTC 2017
Modified Files:
src/sys/modules/examples: Makefile
Log Message:
Build without installation example lua kernel module: luareadhappy
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: kamil
Date: Sat Apr 15 18:22:35 UTC 2017
Modified Files:
src/sys/modules/examples: Makefile
Log Message:
Build without installation example lua kernel module: luareadhappy
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: kamil
Date: Sat Apr 15 04:27:30 UTC 2017
Added Files:
src/sys/modules/examples/luareadhappy: Makefile happy.lua
luareadhappy.c
Log Message:
Add new example kernel module in Lua luareadhappy
This example presents a C module with
Module Name:src
Committed By: kamil
Date: Sat Apr 15 04:27:30 UTC 2017
Added Files:
src/sys/modules/examples/luareadhappy: Makefile happy.lua
luareadhappy.c
Log Message:
Add new example kernel module in Lua luareadhappy
This example presents a C module with
Module Name:src
Committed By: pgoyette
Date: Fri May 15 06:21:12 UTC 2015
Modified Files:
src/sys/modules/examples: README
Log Message:
Even though this isn't a man page, it looks like one. So sort the
SEE ALSO section accordingly.
To generate a diff of this commit:
Module Name:src
Committed By: pgoyette
Date: Fri May 15 06:21:12 UTC 2015
Modified Files:
src/sys/modules/examples: README
Log Message:
Even though this isn't a man page, it looks like one. So sort the
SEE ALSO section accordingly.
To generate a diff of this commit:
Module Name:src
Committed By: joerg
Date: Wed May 13 12:13:38 UTC 2015
Modified Files:
src/sys/modules/examples/ping: cmd_ping.c
Log Message:
Fix RCS ID.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/ping/cmd_ping.c
Please note
Module Name:src
Committed By: joerg
Date: Wed May 13 12:13:38 UTC 2015
Modified Files:
src/sys/modules/examples/ping: cmd_ping.c
Log Message:
Fix RCS ID.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/ping/cmd_ping.c
Please note
Module Name:src
Committed By: pgoyette
Date: Wed May 13 22:37:53 UTC 2015
Modified Files:
src/sys/modules/examples/luahello: luahello.lua
Log Message:
Fix instructions to match reality. (I renamed the example from the
original submitter, but didn't catch all internal
Module Name:src
Committed By: pgoyette
Date: Wed May 13 22:37:53 UTC 2015
Modified Files:
src/sys/modules/examples/luahello: luahello.lua
Log Message:
Fix instructions to match reality. (I renamed the example from the
original submitter, but didn't catch all internal
Module Name:src
Committed By: pgoyette
Date: Wed May 13 22:41:48 UTC 2015
Modified Files:
src/sys/modules/examples: README
Log Message:
Fix up another internal reference to renamed module, and adjust some
English grammar.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: pgoyette
Date: Wed May 13 22:41:48 UTC 2015
Modified Files:
src/sys/modules/examples: README
Log Message:
Fix up another internal reference to renamed module, and adjust some
English grammar.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: pgoyette
Date: Wed May 13 07:07:36 UTC 2015
Added Files:
src/sys/modules/examples: Makefile Makefile.inc README
src/sys/modules/examples/hello: Makefile hello.c
src/sys/modules/examples/luahello: luahello.lua
Module Name:src
Committed By: pgoyette
Date: Wed May 13 07:07:36 UTC 2015
Added Files:
src/sys/modules/examples: Makefile Makefile.inc README
src/sys/modules/examples/hello: Makefile hello.c
src/sys/modules/examples/luahello: luahello.lua
76 matches
Mail list logo