40 Commits (0f5d44fb3b157ac273bf784f44147e133fe89e7c)

Author SHA1 Message Date
  deraadt 0f5d44fb3b missing THREAD_UNLOCK; netch@segfault.kiev.ua 25 years ago
  deraadt 96494ea71f typo fix; halogen@nol.net 25 years ago
  millert b3d4a938bb calloc() needs to be separate from malloc in case a user wants to have 25 years ago
  millert e924435af1 Move calloc() into malloc.c and only zero out the area if malloc() 25 years ago
  deraadt b3d4ba5664 use writev() where possible 25 years ago
  d 1205763b91 wrong ret type for write define (millert@) 26 years ago
  d 21a64850f5 malloc can't use write() if it fails very early, so use the unwrapped syscall _thread_sys_write() if we are threaded 26 years ago
  d 31570910f0 Add thread-safety to libc, so that libc_r will build (on i386 at least). 26 years ago
  millert 68f9effca8 Don't enumerate every arch in the #if since all OpenBSD platforms use the same values for malloc_pageshift and malloc_minsize except for sparc 27 years ago
  rahnds 7db5e7f5e2 Oh fun, mucking about with files used on all archs. 27 years ago
  deraadt e8d65e4516 make mmap() return void *, add MAP_FAILED 27 years ago
  pefo 1350af0652 Change realloc(foo,0) to behave like malloc(0). Both now return a pointer 28 years ago
  deraadt c6a30dae2b malloc_init() should try to not modify errno 28 years ago
  millert 81c581b9d6 Use MALLOC_EXTRA_SANITY consistently (EXTRA_SANITY was used in many places) 28 years ago
  tholo 85cb5df3cc Make it possible to not output warnings (errors causing aborts are always 28 years ago
  tholo a9dc5ef894 Add x/X option to behave like X11 xmalloc; from FreeBSD 28 years ago
  tholo 4c365544ad Be more careful with mixing types 28 years ago
  tholo bde02a1ec3 Check for overflow; from FreeBSD 28 years ago
  niklas 64f8f12484 is we were set[ug]id an unitialized ptr bit us 28 years ago
  tholo 784ff4473c Make this 64-bit safe again 28 years ago
  tholo 73305d3116 Integrate latest malloc(3) from FreeBSD 28 years ago
  niklas 4dbdb68e0e more 64bit fixes 28 years ago
  niklas fae65a16e0 64 bit clean 28 years ago
  kstailey fbda0fcd0b removed plus sign from start of line 28 years ago
  tholo 6d13fb6c1b Make sure we don't dereference stray pointer when running suid or sgid 28 years ago
  tholo 1ad7d4eda3 Restore check for suid / sgid 28 years ago
  tholo 61617e17d2 Latest changes from FreeBSD 28 years ago
  tholo 459cd0201d From FreeBSD: 28 years ago
  tholo ebd8ebf62e Avoid pulling in stdio 29 years ago
  tholo c3e8d031d3 Remove dead code 29 years ago
  deraadt bb444debc1 only support MALLOC_OPTIONS for non-setuid 29 years ago
  tholo 5eeac5bb1d asm -> __asm, clean lint(1) warnings 29 years ago
  tholo 7930b7d1e8 Move cfree(3) weak symbol into a seperate file 29 years ago
  tholo a15c5044f5 Make the binding cfree() -> free() weak if possible 29 years ago
  downsj 6fa9942433 Remove ANSI function delcarations and add a cfree() stub function. 29 years ago
  tholo fcedf08ffa Fix RCS ids 29 years ago
  tholo 63aa099bc1 malloc(3) implementation from FreeBSD; uses mmap(2) to get memory 29 years ago
  tholo 6ea1ec00cf Add prototypes for internal functions 29 years ago
  deraadt 3085be1941 realloc(ptr, 0) does not free; from seebs@taniemarie.solon.com; 29 years ago
  deraadt 47b73ff83c initial import of NetBSD tree 29 years ago