diff options
author | djm <> | 2008-12-30 07:44:51 +0000 |
---|---|---|
committer | djm <> | 2008-12-30 07:44:51 +0000 |
commit | 611f21aa60c60f91295ec5451b469b73684b666a (patch) | |
tree | 2e9b38b54fe87b89b1a0258d12507c5b5e197c7e /src/lib/libc/stdlib/malloc.3 | |
parent | c2f9a0271169166b38060ef5e36ef203765e45dd (diff) | |
download | openbsd-611f21aa60c60f91295ec5451b469b73684b666a.tar.gz openbsd-611f21aa60c60f91295ec5451b469b73684b666a.tar.bz2 openbsd-611f21aa60c60f91295ec5451b469b73684b666a.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 'src/lib/libc/stdlib/malloc.3')
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 11 |
1 files changed, 2 insertions, 9 deletions
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 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.59 2008/12/29 22:25:50 djm Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.60 2008/12/30 07:44:51 djm Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: December 29 2008 $ | 35 | .Dd $Mdocdate: December 30 2008 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -249,13 +249,6 @@ Currently junk is bytes of 0xd0 when allocating; this is pronounced | |||
249 | .Dq Duh . | 249 | .Dq Duh . |
250 | \&:-) | 250 | \&:-) |
251 | Freed chunks are filled with 0xdf. | 251 | Freed chunks are filled with 0xdf. |
252 | .It Cm L | ||
253 | .Dq Lock . | ||
254 | Lock critical data structures using | ||
255 | .Xr mprotect 2 | ||
256 | to protect against modification except by | ||
257 | .Nm | ||
258 | and related routines. | ||
259 | .It Cm P | 252 | .It Cm P |
260 | .Dq Move allocations within a page. | 253 | .Dq Move allocations within a page. |
261 | Allocations larger than half a page but smaller than a page | 254 | Allocations larger than half a page but smaller than a page |