Re: [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/08/2015 10:05 AM, Gleb Fotengauer-Malinovskiy wrote:
> Mention mkdtemp(3) as another secure alternative to mktemp(3).
> 
> See also https://sourceware.org/bugzilla/show_bug.cgi?id=2898

Thanks, Gleb. Applied.

Cheers,

Michael


> ---
>  man3/mktemp.3 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/man3/mktemp.3 b/man3/mktemp.3
> index 79e9023..0531fad 100644
> --- a/man3/mktemp.3
> +++ b/man3/mktemp.3
> @@ -126,8 +126,10 @@ opening the file, every use of
>  .BR mktemp ()
>  is a security risk.
>  The race is avoided by
> -.BR mkstemp (3).
> +.BR mkstemp (3) and
> +.BR mkdtemp (3).
>  .SH SEE ALSO
> +.BR mkdtemp (3),
>  .BR mkstemp (3),
>  .BR tempnam (3),
>  .BR tmpfile (3),
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux