1909 Commits (8082e3406533c649454379be0f563090ca39d182)

Author SHA1 Message Date
  tedu 69d8bb8294 a small tweak to improve malloc in multithreaded programs. we don't need 10 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
  guenther ba0ca3d3cf XPG requires insque() and remque() to work with linear lists and not just 10 years ago
  guenther c268bc15d8 Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC) 10 years ago
  deraadt 26dc53b975 munmap correct object in (extremely unlikely, and effectively terminal) 10 years ago
  bcook 1b243f2530 Guard RSA / RC4-5 ASM when NO_ASM is not defined 10 years ago
  guenther d187729c06 Only need <stdint.h> and not all of <inttypes.h> here 10 years ago
  tedu 5802de8469 Remove SRP code. It contains a bug (this should not surprise anyone), but 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
  deraadt 0e76256cce missing newline 10 years ago
  guenther a59e881122 Switch from <sys/endian.h> or <machine/endian.h> to the new, 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
  guenther 9475b44edc From ISO/IEC 9899:1999 and 9899:201x, 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
  naddy 44b039650c arc4random re-seeds with getentropy() now; ok deraadt@ jmc@ 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
  matthew c4eeb8ba1e Remove "const" from the lsearch(3) manual's synopsis too. 10 years ago
  jmc df5413a7ec zap trailing whitespace; 10 years ago
  matthew 3d494c5a79 Change lsearch()'s "base" argument to require a non-const pointer to 10 years ago
  deraadt 19c7eca85b Seperate arc4random's os-dependent parts into static inline functions, 10 years ago
  deraadt e95464400c it is 2014, and we still need to encourage people away from srand() 10 years ago
  deraadt a4e31d35a0 "Race-free because we're running single-threaded in a new 10 years ago
  kettenis 2c152452b6 Only call getauxval(3) if HAVE_GETAUXVAL is defined. Fixes build on older 10 years ago
  deraadt 9c21f5c33d #ifdef wrap the _rs_forkhandler 10 years ago
  bcook fca7f5a866 added handler for an atfork hook from kettenis@ 10 years ago
  tedu 1d810a359a include stdint.h for standard ints. from Jean-Philippe Ouellet 10 years ago
  tedu 37a5836398 oops, i deleted the wrong word 10 years ago
  tedu 13ffbefb0f remove a lie spotted by guenther 10 years ago
  tedu d3e68c8356 once srandomdev() is called, switch to using arc4random() but mask off the 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 6289d57278 While we thought this would make portable life easier it actually 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
  miod 9b1d48d8cc Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has been 10 years ago
  deraadt 30150934f0 Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systems 10 years ago
  beck 279cc5b646 guard inclusion of sys/sysctl.h so we can detect at compile time and 10 years ago
  deraadt bf34b69892 remove gratuitous differences, ok beck 10 years ago