about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--manual/filesys.texi3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 286ffd7f47..6824fa21f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
+
+	* manual/filesys.texi: Document the change below.
+
 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 2921a53111..3b125cd3f0 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -2402,6 +2402,9 @@ for reading and writing.  If @code{mkstemp} cannot create a
 uniquely-named file, it makes @var{template} an empty string and returns
 @code{-1}.  If @var{template} does not end with @samp{XXXXXX},
 @code{mkstemp} returns @code{-1} and does not modify @var{template}.
+
+The file is opened using mode @code{0600}.  If the file is meant to be
+used by other users the mode must explicitly changed.
 @end deftypefun
 
 Unlike @code{mktemp}, @code{mkstemp} is actually guaranteed to create a