This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.24-536-gccb8b7f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  ccb8b7f7d488f11570042226bed17dfee8afb3c8 (commit)
      from  7d68cdaa4f748e87ee921f587ee2d483db624b3d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ccb8b7f7d488f11570042226bed17dfee8afb3c8

commit ccb8b7f7d488f11570042226bed17dfee8afb3c8
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Dec 27 17:13:21 2016 +0100

    Declare getentropy in <unistd.h> [BZ #17252]

diff --git a/ChangeLog b/ChangeLog
index 8c072b6..6d43ec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2016-12-27  Florian Weimer  <fweimer@redhat.com>
 
+	[BZ #17252]
+	* posix/unistd.h (getentropy): Declare.
+
+2016-12-27  Florian Weimer  <fweimer@redhat.com>
+
 	* resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
 	Remove.
 	* resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
diff --git a/posix/unistd.h b/posix/unistd.h
index 392dc0e..70b10c6 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1157,6 +1157,11 @@ extern int pthread_atfork (void (*__prepare) (void),
 			   void (*__child) (void)) __THROW;
 #endif
 
+#ifdef __USE_GNU
+/* Write LENGTH bytes of randomness starting at BUFFER.  Return 0 on
+   success or -1 on error.  */
+int getentropy (void *__buffer, size_t __length) __wur;
+#endif
 
 /* Define some macros helping to catch buffer overflows.  */
 #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 posix/unistd.h |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]