diff options
author | 2008-11-02 14:42:01 +0000 | |
---|---|---|
committer | 2008-11-02 14:42:01 +0000 | |
commit | b26526531ff12d7905398084bb867707275e1781 (patch) | |
tree | 8d8a2669e7e7097699c8ef80c387d99b4bd62d3d /lib/libc | |
parent | Remove second commented out call to ether_ifdetach() in (diff) | |
download | wireguard-openbsd-b26526531ff12d7905398084bb867707275e1781.tar.xz wireguard-openbsd-b26526531ff12d7905398084bb867707275e1781.zip |
fix markup of example line and description of G flag; partly from and
ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 8da3a299e19..a6a8014433b 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.55 2008/11/02 08:50:41 otto Exp $ +.\" $OpenBSD: malloc.3,v 1.56 2008/11/02 14:42:01 otto Exp $ .\" .Dd $Mdocdate: November 2 2008 $ .Dt MALLOC 3 @@ -235,10 +235,9 @@ Unused pages on the freelist are read and write protected to cause a segmentation fault upon access. .It Cm G .Dq Guard . -Enable guard pages and chunk randomization. +Enable guard pages. Each page size or larger allocation is followed by a guard page that will cause a segmentation fault upon any access. -Smaller than page size chunks are returned in a random order. .It Cm H .Dq Hint . Pass a hint to the kernel about pages we don't use. @@ -295,8 +294,8 @@ Decrease the size of the free page cache by a factor of two. Increase the size of the free page cache by a factor of two. .El .Pp -So to set a systemwide reduction of cache size and coredumps on problems: -.Li ln -s 'G<' /etc/malloc.conf +So to set a systemwide reduction of cache size and use guard pages: +.Dl # ln -s 'G\*(Lt' /etc/malloc.conf .Pp The .Cm J |