memguard.9 (226314) | memguard.9 (226614) |
---|---|
1.\" Copyright (c) 2005 Christian Brueffer 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2005 Christian Brueffer 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/memguard.9 226314 2011-10-12 18:46:48Z glebius $ | 25.\" $FreeBSD: head/share/man/man9/memguard.9 226614 2011-10-21 13:54:17Z glebius $ |
26.\" | 26.\" |
27.Dd October 12, 2011 | 27.Dd October 21, 2011 |
28.Dt MEMGUARD 9 29.Os 30.Sh NAME 31.Nm MemGuard 32.Nd "memory allocator for debugging purposes" 33.Sh SYNOPSIS 34.Cd "options DEBUG_MEMGUARD" 35.Sh DESCRIPTION --- 163 unchanged lines hidden (view full) --- 199.An Bosko Milekic Aq bmilekic@FreeBSD.org . 200This manual page was originally written by 201.An Christian Brueffer Aq brueffer@FreeBSD.org . 202Additions have been made by 203.An Matthew Fleming Aq mdf@FreeBSD.org 204and 205.An Gleb Smirnoff Aq glebius@FreeBSD.org 206to both the implementation and the documentation. | 28.Dt MEMGUARD 9 29.Os 30.Sh NAME 31.Nm MemGuard 32.Nd "memory allocator for debugging purposes" 33.Sh SYNOPSIS 34.Cd "options DEBUG_MEMGUARD" 35.Sh DESCRIPTION --- 163 unchanged lines hidden (view full) --- 199.An Bosko Milekic Aq bmilekic@FreeBSD.org . 200This manual page was originally written by 201.An Christian Brueffer Aq brueffer@FreeBSD.org . 202Additions have been made by 203.An Matthew Fleming Aq mdf@FreeBSD.org 204and 205.An Gleb Smirnoff Aq glebius@FreeBSD.org 206to both the implementation and the documentation. |
207.Sh BUGS 208It is not possible to guard allocations that really expect theirselves to be 209allocated from 210.Xr uma 9 , 211utilizing additional interfaces apart from 212.Fn uma_zalloc 213and 214.Fn uma_free , 215for example 216.Fn uma_find_refcnt . 217For the moment of writing only 218.Xr mbuf 9 219cluster zones belong to that kind of allocations. 220Attempt to guard them would lead to kernel panic. |
|