diff options
author | ru <ru@FreeBSD.org> | 2006-09-18 15:24:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-09-18 15:24:20 +0000 |
commit | 5b7cf06c1d6a501a30cb062cdf3039b21f8540b7 (patch) | |
tree | 7ce11c80607432aa06e11d08d3f4089cbe22b8a5 /share/man/man9/memguard.9 | |
parent | 90595a0fc9e928e9e2909fe6f171a1e68396ceec (diff) | |
download | FreeBSD-src-5b7cf06c1d6a501a30cb062cdf3039b21f8540b7.zip FreeBSD-src-5b7cf06c1d6a501a30cb062cdf3039b21f8540b7.tar.gz |
Markup fixes.
Diffstat (limited to 'share/man/man9/memguard.9')
-rw-r--r-- | share/man/man9/memguard.9 | 12 |
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: |