linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3)
@ 2015-08-08  8:05 Gleb Fotengauer-Malinovskiy
       [not found] ` <20150808080512.GA7386-N9aU+Tdk7XkoO014n+3aBsY9il7ykmry@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Gleb Fotengauer-Malinovskiy @ 2015-08-08  8:05 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Mention mkdtemp(3) as another secure alternative to mktemp(3).

See also https://sourceware.org/bugzilla/show_bug.cgi?id=2898
---
 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),
-- 
glebfm
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3)
       [not found] ` <20150808080512.GA7386-N9aU+Tdk7XkoO014n+3aBsY9il7ykmry@public.gmane.org>
@ 2015-08-08  8:08   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-08-08  8:08 UTC (permalink / raw)
  To: Gleb Fotengauer-Malinovskiy
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-08  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08  8:05 [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3) Gleb Fotengauer-Malinovskiy
     [not found] ` <20150808080512.GA7386-N9aU+Tdk7XkoO014n+3aBsY9il7ykmry@public.gmane.org>
2015-08-08  8:08   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).