summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-12-30 07:44:52 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-12-30 07:44:52 +0000
commit0ad006ecd56f1beb68fe20405c68748c50e2259b (patch)
tree40b49e1c440a0c48685e359a134c0261d865ba4a /lib/libc/stdlib/malloc.3
parent0e7cda57cab0a48e664793c26d1564c2d28edd5e (diff)
Remove mprotecting of struct dir_info introduced in previous commit
(MALLOC_OPTIONS=L). It was too slow to turn on by default, and we don't do optional security. requested by deraadt@ grumbling ok otto@
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.311
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 2458834302f..c3566e37e86 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.59 2008/12/29 22:25:50 djm Exp $
+.\" $OpenBSD: malloc.3,v 1.60 2008/12/30 07:44:51 djm Exp $
.\"
-.Dd $Mdocdate: December 29 2008 $
+.Dd $Mdocdate: December 30 2008 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -249,13 +249,6 @@ Currently junk is bytes of 0xd0 when allocating; this is pronounced
.Dq Duh .
\&:-)
Freed chunks are filled with 0xdf.
-.It Cm L
-.Dq Lock .
-Lock critical data structures using
-.Xr mprotect 2
-to protect against modification except by
-.Nm
-and related routines.
.It Cm P
.Dq Move allocations within a page.
Allocations larger than half a page but smaller than a page