Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Update to match recent changes in implementat...



details:   https://anonhg.NetBSD.org/src/rev/a32fb1deb57f
branches:  trunk
changeset: 369903:a32fb1deb57f
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Sep 07 01:18:32 2022 +0000

description:
Update to match recent changes in implementation.

diffstat:

 share/man/man9/sysctl.9 |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r ab76c3056a7e -r a32fb1deb57f share/man/man9/sysctl.9
--- a/share/man/man9/sysctl.9   Wed Sep 07 01:00:37 2022 +0000
+++ b/share/man/man9/sysctl.9   Wed Sep 07 01:18:32 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.9,v 1.23 2019/08/07 19:58:50 wiz Exp $
+.\"    $NetBSD: sysctl.9,v 1.24 2022/09/07 01:18:32 pgoyette Exp $
 .\"
 .\" Copyright (c) 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 7, 2019
+.Dd September 6, 2022
 .Dt SYSCTL 9
 .Os
 .Sh NAME
@@ -546,7 +546,8 @@
 to zero, and returns success.
 .Sh SETUP FUNCTIONS
 Although nodes can be added to the SYSCTL tree at any time, in order to
-add nodes during the kernel bootstrap phase, a proper
+add nodes during the kernel bootstrap phase (and during loadable module
+initialization), a proper
 .Dq setup
 function must be used.
 Setup functions are declared using the
@@ -565,11 +566,11 @@
 traverses during initialization.
 For loadable kernel modules (see
 .Xr module 9 ) ,
-the list of functions is called from the module loader after the module's
+the list of functions is called from the module loader before the module's
 initialization routine.
 Any sysctl nodes created for the loadable module are removed using
 .Fn sysctl_teardown
-before calling the module's termination code.
+after calling the module's termination code.
 .Pp
 Setup functions do not have to add nodes to the main tree, but can set
 up their own trees for emulation or other purposes.



Home | Main Index | Thread Index | Old Index