add getentropy function
based loosely on patch by Hauke Mehrtens; converted to wrap the public API of the underlying getrandom function rather than direct syscalls, so that if/when a fallback implementation of getrandom is added it will automatically get picked up by getentropy too.
This commit is contained in:
@@ -176,6 +176,7 @@ int acct(const char *);
|
||||
long syscall(long, ...);
|
||||
int execvpe(const char *, char *const [], char *const []);
|
||||
int issetugid(void);
|
||||
int getentropy(void *, size_t);
|
||||
#endif
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user