linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3)
Date: Sat, 8 Aug 2015 10:05:17 +0200	[thread overview]
Message-ID: <20150808080512.GA7386@glebfm.cloud.tilaa.com> (raw)

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

             reply	other threads:[~2015-08-08  8:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08  8:05 Gleb Fotengauer-Malinovskiy [this message]
     [not found] ` <20150808080512.GA7386-N9aU+Tdk7XkoO014n+3aBsY9il7ykmry@public.gmane.org>
2015-08-08  8:08   ` [PATCH] mktemp.3: reference mkdtemp(3) in addition to mkstemp(3) Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150808080512.GA7386@glebfm.cloud.tilaa.com \
    --to=glebfm-u2l5pomzf/vg9huczpvpmw@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).