summaryrefslogtreecommitdiffstats
path: root/share/man/man9/memguard.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/memguard.9')
-rw-r--r--share/man/man9/memguard.912
1 files changed, 9 insertions, 3 deletions
diff --git a/share/man/man9/memguard.9 b/share/man/man9/memguard.9
index 1851407..72a41e5 100644
--- a/share/man/man9/memguard.9
+++ b/share/man/man9/memguard.9
@@ -48,19 +48,25 @@ and
.Fn free
for a particular malloc type.
.Sh EXAMPLES
-To use memguard for memory type compiled into the kernel, one has to add the
+To use
+.Nm
+for memory type compiled into the kernel, one has to add the
following line to the
.Pa /boot/loader.conf :
.Bd -literal -offset indent
vm.memguard.desc=<memory_type>
.Ed
.Pp
-Where memory_type is a short description of memory type to monitor.
+Where
+.Ar memory_type
+is a short description of memory type to monitor.
The short description of memory type is the second argument to
.Xr MALLOC_DEFINE 9 ,
so one has to find it in the kernel source.
.Pp
-To use memguard for memory type defined in a kernel module, one has to set
+To use
+.Nm
+for memory type defined in a kernel module, one has to set
.Va vm.memguard.desc
.Xr sysctl 8
variable before loading the module:
OpenPOWER on IntegriCloud