Lines Matching full:sysctl

98 .Nd Dynamic and static sysctl MIB creation functions
485 .Nm SYSCTL
487 .Xr sysctl 8
496 Pointer to sysctl context or NULL, if no context.
499 for how to create a new sysctl context.
503 This makes the sysctl cleanup code much simpler.
527 A bit mask of sysctl control flags.
542 Pointer to sysctl variable or string data.
543 For sysctl values the pointer can be SYSCTL_NULL_XXX_PTR which means the OID is read-only and the r…
569 .Xr sysctl 8
610 To make it easier to export sysctl data to monitoring systems that
622 Most of the macros and functions used to create sysctl nodes export a
686 Sysctl MIBs or OIDs are created in a hierarchical tree.
694 By default all static sysctl node OIDs are global and need a
699 .Sh CREATING SYSCTL STRINGS
713 function to add a sysctl for a constant string.
730 created sysctl.
744 .Sh CREATING A STATIC SYSCTL
779 .Sh CREATING A DYNAMIC SYSCTL
822 sysctl implemented by a function, including a type in the access mask
860 All sysctl types except for new node declarations require one of the following
861 flags to be set indicating the read and write disposition of the sysctl:
864 This is a read-only sysctl.
866 This is a read-only sysctl and tunable which is tried fetched once
869 This is a writable sysctl.
871 This sysctl is readable and writable.
873 This is a readable and writeable sysctl and tunable which is tried
884 .Xr sysctl 9
895 Any user or process can write to this sysctl.
897 A process in capability mode can read from this sysctl.
899 A process in capability mode can write to this sysctl.
901 This sysctl can be written to only if the effective securelevel of the
904 This sysctl can be written to by processes in
907 When iterating the sysctl name space, do not list this sysctl.
910 The initial sysctl value is tried fetched once from the system
922 sysctl tree for use by new nodes:
949 * size are set. Unlike newer sysctls, this older sysctl uses a
957 * Example of an opaque data type exported by sysctl. Notice that
959 * string for sysctl(8).
966 * Example of a procedure based sysctl exporting string
969 * format string for sysctl(8).
983 #include <sys/sysctl.h>
993 static char *string = "dynamic sysctl";
1014 .Sh SYSCTL NAMING
1015 When adding, modifying, or removing sysctl names, it is important to be
1023 The semantics chosen for a new sysctl should be as clear as possible,
1024 and the name of the sysctl must closely reflect its semantics.
1025 Therefore the sysctl name deserves a fair amount of consideration.
1026 It should be short but yet representative of the sysctl meaning.
1044 A temporary sysctl node OID that should not be relied upon must be designated
1049 .Xr sysctl 3 ,
1050 .Xr sysctl 8 ,
1058 .Xr sysctl 8
1067 .Nm sysctl
1087 The following top level sysctl name spaces are commonly used:
1110 .It Va sysctl
1111 Reserved name space for the implementation of sysctl.