Date: Sat, 15 Jul 2000 03:26:04 -0700 (PDT) From: Andrzej Bialecki <abial@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/examples/kld Makefile src/share/examples/kld/dyn_sysctl Makefile README dyn_sysctl.c src/share/man/man9 sysctl_add_oid.9 sysctl_ctx_init.9 Makefile src/sys/kern kern_sysctl.c src/sys/sys sysctl.h Message-ID: <200007151026.DAA20803@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
abial 2000/07/15 03:26:04 PDT
Modified files:
share/examples/kld Makefile
share/man/man9 Makefile
sys/kern kern_sysctl.c
sys/sys sysctl.h
Added files:
share/examples/kld/dyn_sysctl Makefile README dyn_sysctl.c
share/man/man9 sysctl_add_oid.9 sysctl_ctx_init.9
Log:
These patches implement dynamic sysctls. It's possible now to add
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
Revision Changes Path
1.3 +3 -1 src/share/examples/kld/Makefile
1.70 +19 -2 src/share/man/man9/Makefile
1.99 +253 -1 src/sys/kern/kern_sysctl.c
1.87 +78 -2 src/sys/sys/sysctl.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007151026.DAA20803>
