summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-12-30 07:44:51 +0000
committerdjm <djm@openbsd.org>2008-12-30 07:44:51 +0000
commit88d4676d614bc6da6c5ac2ef1f2dcf7ad8643f51 (patch)
tree096e1665523fa73f5a3018f880de56a0160bfd85 /lib/libc/stdlib/malloc.3
parentattach all three uarts, closer to working on freerunner. (diff)
downloadwireguard-openbsd-88d4676d614bc6da6c5ac2ef1f2dcf7ad8643f51.tar.xz
wireguard-openbsd-88d4676d614bc6da6c5ac2ef1f2dcf7ad8643f51.zip
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