From 611f21aa60c60f91295ec5451b469b73684b666a Mon Sep 17 00:00:00 2001 From: djm <> Date: Tue, 30 Dec 2008 07:44:51 +0000 Subject: 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@ --- src/lib/libc/stdlib/malloc.3 | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/lib/libc/stdlib/malloc.3') diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 2458834302..c3566e37e8 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/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 -- cgit v1.2.3-55-g6feb