aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>2015-08-08 10:05:17 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-08-08 10:08:09 +0200
commit9b44ad2028b6ae5ede880314e87c8b976e69b19a (patch)
tree30cf44fd37d1a2bd524e6de4e9cfce50c6fee31e
parentf0d0f68dc8c6044740b2b3c74c7abcdbaf2d5f4d (diff)
downloadman-pages-9b44ad2028b6ae5ede880314e87c8b976e69b19a.tar.gz
mktemp.3: Reference mkdtemp(3) in addition to mkstemp(3)
Mention mkdtemp(3) as another secure alternative to mktemp(3). See also https://sourceware.org/bugzilla/show_bug.cgi?id=2898. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/mktemp.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man3/mktemp.3 b/man3/mktemp.3
index 79e9023941..0531fad7fd 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),