summaryrefslogtreecommitdiffstats
path: root/share/examples/kld
Commit message (Collapse)AuthorAgeFilesLines
* Update the KLD examples so they will work with current.arr2001-11-132-4/+10
| | | | Reviewed: jhb
* Style.ru2001-09-181-83/+8
|
* Style.ru2001-09-181-13/+3
|
* Removed unneeded stuff.ru2001-05-181-12/+0
|
* Unbreak by syncing with changes in <sys/sysctl.h> macros.abial2001-02-101-12/+12
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+3
| | | | Use _PATH_* where where possible.
* Fix cdev kld example after it has been broken for year or so. Also extend listsobomax2000-10-027-15/+114
| | | | | | | | of supported operations by example read() and write() operations. Inspired by: http://www.daemonnews.org/200010/blueprints.html PR: 16173 Submitted by: sobomax
* These patches implement dynamic sysctls. It's possible now to addabial2000-07-154-1/+197
| | | | | | | | | | | | | | | | | | | | | | and remove sysctl oids at will during runtime - they don't rely on linker sets. Also, the node oids can be referenced by more than one kernel user, which means that it's possible to create partially overlapping trees. Add sysctl contexts to help programmers manage multiple dynamic oids in convenient way. Please see the manpages for detailed discussion, and example module for typical use. This work is based on ideas and code snippets coming from many people, among them: Arun Sharma, Jonathan Lemon, Doug Rabson, Brian Feldman, Kelly Yancey, Poul-Henning Kamp and others. I'd like to specially thank Brian Feldman for detailed review and style fixes. PR: kern/16928 Reviewed by: dfr, green, phk
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* * Tidy up a few things and fix some more warnings.dfr1999-06-275-31/+34
| | | | | * Change the devsw declaration to standard form and add missing fields * Change the filename from cdev_mod.ko to cdev.ko
* Make this sample build again.dfr1999-06-253-4/+4
|
* Use modstat(2) to get the syscall number.dfr1999-01-091-6/+7
|
* Replace the misc example with a simpler syscall example using the newdfr1999-01-0914-832/+172
| | | | | | module registration hooks for syscalls. Submitted by: Assar Westerlund <assar@sics.se>
* Sample modules for KLD.dfr1998-12-1117-0/+1713
PR: misc/8621 Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
OpenPOWER on IntegriCloud