74 Commits (b8cd4e212a1f07447767fa3937f008476cf2728c)

Author SHA1 Message Date
  inoguchi 84248221bb Using pthread_atfork instead of __register_atfork with uClibc on noMMU 5 years ago
  deraadt cc1a839b83 Saw a mention somewhere a while back that the gotdata() function in 5 years ago
  bcook becf8cef00 ensure SYS_getrandom and GRND_NONBLOCK are both defined before using getrandom(2) 6 years ago
  beck 0e208737fa Switch Linux getrandom() usage to non-blocking mode, continuing to 7 years ago
  bcook 2fb1937540 add iOS support for getentropy 7 years ago
  tb 646f43cf69 Update the link for the getentropy(2) manual to man.openbsd.org/ 8 years ago
  bcook 468bf1902b Tighten behavior of _rs_allocate failure for portable arc4random implementations. 8 years ago
  bcook 3b2b99d5ea Tighten behavior of _rs_allocate on Windows. 8 years ago
  tj 41e193dea0 fix typo in comment; ok beck 8 years ago
  bcook 6662365936 Calling clone(2) with CLONE_NEWPID yields multiple processes with pid=1. 8 years ago
  deraadt 31a603a934 unify files further 8 years ago
  deraadt 8e631f698c unify versions, so they are easier to diff. 8 years ago
  deraadt 263ac3037d KNF 8 years ago
  bcook fd9b2358f2 Remove unneeded sys/sysctl.h on linux. 9 years ago
  bcook 94be377a56 Not all Linux libc's include linux/sysctl.h in sys/sysctl.h. 9 years ago
  bcook ef82db0eea Support AIX versions without WPAR support. 9 years ago
  bcook 40f6b72835 add initial AIX getentropy/arc4random files. Thanks to Michael Felt. 9 years ago
  bcook 65192b885a sys/sysctl.h includes linux/sysctl.h, remove the extra unchecked include 9 years ago
  bcook 3856d7a152 Add arc4random/getentropy shims for NetBSD. 9 years ago
  deraadt 345209bd2a back in september I did the large abstraction refactoring to allow these 9 years ago
  bcook bfaebb4169 mix in more virtual memory and process information 9 years ago
  bcook 015bfd5abc add initial HP-UX getentropy/arc4random support. 9 years ago
  bcook 0c127a8f2e correct the failure case for getentropy on win32 9 years ago
  bcook 15ff6efe87 Add hooks to override native arc4random_buf on FreeBSD. 9 years ago
  bcook d926e49a0b include header needed by older linux kernels 9 years ago
  bcook 7131c8971a preserve errno value on success. 9 years ago
  bcook 5fc23a1e55 only build the getrandom path if SYS_getrandom is defined. 10 years ago
  bcook e285ea02b5 getrandom(2) support for getentropy_linux 10 years ago
  deraadt 26dc53b975 munmap correct object in (extremely unlikely, and effectively terminal) 10 years ago
  bcook aca9f895fe better match proposed syscall api 10 years ago
  deraadt ef5581e5fc protect sysctl path with SYS__sysctl instead; from enh@google, ok bcook 10 years ago
  guenther 6fd1ff93b6 Use explicit_bzero() instead of memset() on buffers going out of scope. 10 years ago
  deraadt de41d1af59 cast from void * before math; enh@google 10 years ago
  bcook 7c7854314b Move more OS-specific functionality to arc4random.h headers. 10 years ago
  bcook 5fcb913dfe initial win32 ARC4_LOCK/UNLOCK implementation. 10 years ago
  deraadt d107050d39 Demonstrate how new linux getrandom() will be called, at least until 10 years ago
  deraadt 403b6a2c61 remove disabled main hook; we use phdr now; ok bcook 10 years ago
  deraadt 2d56bb72a9 tab love 10 years ago
  bcook 9b651cf7ae Move _ARC4_ATFORK handlers from thread_private.h in portable. 10 years ago
  bcook b61a1138bd move _ARC4_LOCK/UNLOCK primitives from thread_private into OS-specific modules 10 years ago
  bcook 8a64d61e25 fixup typos 10 years ago
  deraadt 884e90e06c Change _rs_allocate so it can combine the two regions (rs and rsx) 10 years ago
  matthew 908da16e8c Cleanup portable arc4random fork detection code: 10 years ago
  deraadt 19c7eca85b Seperate arc4random's os-dependent parts into static inline functions, 10 years ago
  kettenis 2c152452b6 Only call getauxval(3) if HAVE_GETAUXVAL is defined. Fixes build on older 10 years ago
  deraadt 1efcd9909f Use dl_iterate_phdr() to iterate over the segments and throw the addresses 10 years ago
  deraadt 757bd836f8 Provide a link to the canonical API specification. 10 years ago
  beck 7f965a2eac Take away the use of the address of main as a source of entropy. Causes 10 years ago
  wouter 455c599158 getentropy on Windows. It compiles but has not been thoroughly tested yet. 10 years ago
  wouter ca0c9eb852 Remove signed/unsigned warning, statement before declaration and 10 years ago