Sat Jan 8 18:07:15 2011 UTC ()
CONSIDERATION => CONSIDERATIONS, to be on par with the rest of man pages.


(jym)
diff -r1.11 -r1.12 src/share/man/man9/kmem.9

cvs diff -r1.11 -r1.12 src/share/man/man9/kmem.9 (expand / switch to unified diff)

--- src/share/man/man9/kmem.9 2010/12/02 12:54:13 1.11
+++ src/share/man/man9/kmem.9 2011/01/08 18:07:14 1.12
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: kmem.9,v 1.11 2010/12/02 12:54:13 wiz Exp $ 1.\" $NetBSD: kmem.9,v 1.12 2011/01/08 18:07:14 jym Exp $
2.\" 2.\"
3.\" Copyright (c)2006 YAMAMOTO Takashi, 3.\" Copyright (c)2006 YAMAMOTO Takashi,
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
@@ -257,19 +257,19 @@ subsystem is implemented within the file @@ -257,19 +257,19 @@ subsystem is implemented within the file
257.Xr pool_cache 9 257.Xr pool_cache 9
258.\" ------------------------------------------------------------ 258.\" ------------------------------------------------------------
259.Sh CAVEATS 259.Sh CAVEATS
260Neither 260Neither
261.Fn kmem_alloc 261.Fn kmem_alloc
262nor 262nor
263.Fn kmem_free 263.Fn kmem_free
264can be used from interrupt context, from a soft interrupt, or from 264can be used from interrupt context, from a soft interrupt, or from
265a callout. 265a callout.
266Use 266Use
267.Xr pool_cache 9 267.Xr pool_cache 9
268in these situations. 268in these situations.
269.\" ------------------------------------------------------------ 269.\" ------------------------------------------------------------
270.Sh SECURITY CONSIDERATION 270.Sh SECURITY CONSIDERATIONS
271As the memory allocated by 271As the memory allocated by
272.Fn kmem_alloc 272.Fn kmem_alloc
273is uninitialized, it can contain security-sensitive data left by its 273is uninitialized, it can contain security-sensitive data left by its
274previous user. 274previous user.
275It is the caller's responsibility not to expose it to the world. 275It is the caller's responsibility not to expose it to the world.