1367 Commits (48262ad380e057f016770ead86c9fc593b3faf44)

Author SHA1 Message Date
  schwarze 947c617f02 Do not claim that empty numbers set EINVAL, our implementation doesn't. 10 years ago
  schwarze eac5f40007 Make sure that the following functions return 0 and EINVAL as 10 years ago
  schwarze d5c9ee380f obvious cases of missing .An; 10 years ago
  tedu 69d8bb8294 a small tweak to improve malloc in multithreaded programs. we don't need 10 years ago
  guenther ba0ca3d3cf XPG requires insque() and remque() to work with linear lists and not just 10 years ago
  guenther d187729c06 Only need <stdint.h> and not all of <inttypes.h> here 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
  guenther 9475b44edc From ISO/IEC 9899:1999 and 9899:201x, 10 years ago
  naddy 44b039650c arc4random re-seeds with getentropy() now; ok deraadt@ jmc@ 10 years ago
  deraadt 884e90e06c Change _rs_allocate so it can combine the two regions (rs and rsx) 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
  deraadt 9c21f5c33d #ifdef wrap the _rs_forkhandler 10 years ago
  bcook fca7f5a866 added handler for an atfork hook from kettenis@ 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
  beck 6289d57278 While we thought this would make portable life easier it actually 10 years ago
  deraadt 30150934f0 Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systems 10 years ago
  deraadt 3f9dd576c8 Split arc4random_uniform into it's own file, to assist other projects 10 years ago
  kettenis 78bf858a52 Add locking for __cxa_finalize() as it modifies the page permissions of the 10 years ago
  tedu ae7f8bb30d better document perils of setuid getenv and xr with issetugid 10 years ago
  tedu beacb71783 as noted by google/android via kettenis, atexit handlers can install new 10 years ago
  tedu 705f1bf46e reduce obvious dependency on global g_pool by moving to local aliases 10 years ago
  naddy 33c9c303eb rephrase the stpcpy() warning 10 years ago
  beck 97abe91297 Clean up after arc4random u_int32_t uint32_t change 10 years ago
  bcook 165f09edc7 changes to improve portability 10 years ago
  deraadt b3e0f519ff re-init and init code paths are now more shared, so the getpid()-based 10 years ago
  deraadt df559b50e4 extra evil spaces snuck in over the last while 10 years ago
  otto 08ecfcb5b8 Move to a smaller rbytes buffer and skip a random part. Not to 10 years ago
  deraadt b6b255face Add back an #ifndef MAP_INHERIT_ZERO chunk to support the old getpid() 10 years ago
  deraadt db13a3eef8 document why we explicit_bzero 10 years ago
  tedu f0d4f91f14 loosen the spec for timingsafe functions slightly, so as to not 10 years ago
  matthew f198222e04 Protect explicit_bzero() from link-time optimization 10 years ago
  matthew 16792c29e6 arc4random: hard fail with raise(SIGKILL) if getentropy() returns -1 10 years ago
  matthew 5374ff9a6b Move rs_chacha and rs_buf into the same memory page and don't mark it 10 years ago
  kettenis 32ba0b02ca Always call atexit handlers as if they were registered with __cxa_atexit. 10 years ago
  matthew 932467241e Use MAP_INHERIT_ZERO in arc4random(3) 10 years ago
  deraadt dbf34e5830 oops, typo. James Hartley is fast at trying -current 10 years ago
  deraadt 6343e8d14f In srandomdev(), use arc4random_buf() instead of from the kernel. 10 years ago
  deraadt 45b700d2c0 For now... assume success of getentropy() just like we assumed success 10 years ago
  deraadt 42da378a93 use getgentropy() call. If it fails, things are pretty bad -- 10 years ago
  deraadt 4bc984f92a use getentropy; from matthew 10 years ago
  matthew f82197f5b3 Add timingsafe_memcmp(). 10 years ago