|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: getentropy_linux.c,v 1.11 2014/06/25 16:31:03 beck Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: getentropy_linux.c,v 1.12 2014/06/25 16:45:49 beck Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
|
|
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
|
@ -460,7 +460,7 @@ getentropy_fallback(void *buf, size_t len) |
|
|
#ifdef AT_SYSINFO_EHDR |
|
|
#ifdef AT_SYSINFO_EHDR |
|
|
p = (char *) getauxval(AT_SYSINFO_EHDR); |
|
|
p = (char *) getauxval(AT_SYSINFO_EHDR); |
|
|
if (p) |
|
|
if (p) |
|
|
HR(p, sizeof(p)); |
|
|
|
|
|
|
|
|
HR(p, pgs); |
|
|
#endif |
|
|
#endif |
|
|
#ifdef AT_BASE |
|
|
#ifdef AT_BASE |
|
|
p = (char *) getauxval(AT_BASE); |
|
|
p = (char *) getauxval(AT_BASE); |
|
|