On Sun, Aug 08, 2010 at 09:11:46PM -0400, Brad wrote:

> At the moment the malloc(3) page does not mention what malloc options
> are actually being enabled if using the S option and it is a shortcut
> to enable the 3 existing options.

Why document this? The idea is: just use S unless you have some very
specific needs.

        -Otto
> 
> 
> Index: lib/libc/stdlib/malloc.3
> ===================================================================
> RCS file: /home/cvs/src/lib/libc/stdlib/malloc.3,v
> retrieving revision 1.68
> diff -u -p -r1.68 malloc.3
> --- lib/libc/stdlib/malloc.3  26 May 2010 08:22:11 -0000      1.68
> +++ lib/libc/stdlib/malloc.3  9 Aug 2010 01:06:35 -0000
> @@ -275,6 +275,7 @@ This can substantially aid in compacting
>  .\"Consult the source for this one.
>  .It Cm S
>  Enable all options suitable for security auditing.
> +This results in the the options F, G, and J being enabled.
>  .It Cm X
>  .Dq xmalloc .
>  Rather than return failure,
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

Reply via email to