Declare getentropy in <unistd.h> [BZ #17252]
This commit is contained in:
parent
7d68cdaa4f
commit
ccb8b7f7d4
|
@ -1,3 +1,8 @@
|
||||||
|
2016-12-27 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
[BZ #17252]
|
||||||
|
* posix/unistd.h (getentropy): Declare.
|
||||||
|
|
||||||
2016-12-27 Florian Weimer <fweimer@redhat.com>
|
2016-12-27 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
|
* resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
|
||||||
|
|
|
@ -1157,6 +1157,11 @@ extern int pthread_atfork (void (*__prepare) (void),
|
||||||
void (*__child) (void)) __THROW;
|
void (*__child) (void)) __THROW;
|
||||||
#endif
|
#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. */
|
/* Define some macros helping to catch buffer overflows. */
|
||||||
#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
|
#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
|
||||||
|
|
Loading…
Reference in New Issue