WHATSNEW 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. 0.5.0 - initial release
  2. 0.5.9 - signal ABI bugfix, various cleanup and fixes:
  3. sigset_t was wrongly defined as 1024 bytes instead of 1024 bits,
  4. breaking the intended ABI compatibility with the LSB/glibc sigaction
  5. structure. users should upgrade immediately and rebuild any libraries
  6. or object files that might be using the incorrect definitions.
  7. improved security against DoS with tcb shadow passwords by checking
  8. that the file opened was really an ordinary file.
  9. fixed a bug in the implementation of atomic ops that could have
  10. allowed the compiler to incorrectly reorder them (in practice, gcc
  11. with the default settings on i386 was not reordering them).
  12. greatly improved conformance to the C and POSIX standards regarding
  13. what the standard header files make visible. _POSIX_C_SOURCE is now
  14. needed to get POSIX functions in standard C headers, and _XOPEN_SOURCE
  15. or _GNU_SOURCE are required to get XSI interfaces or GNU extensions,
  16. respectively.
  17. many internal improvements have been made to the syscall-related code
  18. in preparation for porting to x86_64 and other archs.
  19. 0.6.0 - x86_64 port, various important bugs fixed
  20. new x86_64 (amd64) architecture port, contributed by Nicholas J. Kain,
  21. along with PORTING guide. source tree layout and build system have
  22. been improved to accommodate further ports.
  23. various bugs that were introduced while making the headers respect C
  24. and POSIX namespace standards have been fixed. conformance to the
  25. standards has been improved.
  26. fixed an inefficiency in qsort that triggered a bug (occasionaly
  27. internal compiler error) in some versions of gcc.
  28. fixed a major bug in the printf %n specifier that prevented it from
  29. working and caused memory corruption.
  30. 0.7.0 - major improvements to posix conformance and completeness
  31. implemented posix shared memory and semaphore interfaces.
  32. implemented all remaining required pthread and clock interfaces.
  33. major fixes to signal semantics.
  34. greatly improved temporary file name generation for safety against
  35. denial of service due to intentional name collisions.
  36. added syscall wrappers for the linux inotify interface.
  37. malloc(0) now returns a non-null pointer.
  38. fixed printf %n specifier (again), pthread_once (it was always
  39. hanging), and non-default-type mutex behavior.
  40. added ucontext/sigcontext support in headers to facilitate building
  41. libgcc with dwarf2 unwind support, and possibly other low-level tools.
  42. improved musl-gcc compiler wrapper.
  43. implemented many small missing functions here and there, minor header
  44. fixes, etc.
  45. 0.7.1 - improvements to completeness, bug fixes
  46. implemented flockfile, wprintf, and robust mutex functions.
  47. fixed stack corruption bug in times(), minor header bugs, and some
  48. error return value bugs in thread interfaces.
  49. 0.7.5 - new features, major optimization, and robustness
  50. implemented POSIX timers.
  51. optimized and simplified many thread-related functions.
  52. eliminated resource leak races in thread cancellation. (almost all
  53. existing implementations, including glibc, have these leaks.)
  54. overhauled stdio implementation to take advantage of readv/writev for
  55. reduced syscall load, and improved stdio's handling of error status.
  56. added syscall header and interface for applications to use and
  57. greatly simplified internal system for making syscalls.
  58. strangthened tmpnam/tempnam/tmpfile filename generation and made the
  59. straight C functions not depend on POSIX symbols.
  60. fixed pthread cancellation ABI on i386 to match the LSB/glibc ABI
  61. better double-free handling in malloc
  62. various minor bug fixes
  63. 0.7.6 - major bug fixes
  64. fixed rare but serious under-allocation bug in malloc.
  65. fixed signedness bug in strchr that prevented finding high bytes.
  66. fixed serious parsing bugs in strtold.
  67. fixed statvfs syscall (it was always failing with EINVAL).
  68. fixed race condition in set*id() functions with threads (possible
  69. deadlock). further audit still needed though.
  70. fseek no longer sets the stream error flag on failed seeks (this was
  71. wrong and broke some programs, notably GNU m4).
  72. nl_langinfo is no longer a dummy function. (the functionality was
  73. previously implemented but accidentally left unused).
  74. various small fixes have been made to the implementations and
  75. prototypes for nonstandard and obsolete functions
  76. 0.7.7 - more bug fixes and program-compatibility improvements
  77. fixed floating point formatting and rounding bugs in printf.
  78. fixed broken %N$ positional argument specifiers in printf.
  79. fixed misaligned read/overread bug in strchr which could lead to
  80. crashes scanning tiny strings at the end of a page when the next page
  81. is not readable, or on archs (not yet supported) that forbid
  82. misaligned reads.
  83. fixed breakage of statvfs on x86_64
  84. fixed crash in getmntent_r
  85. fixed bug in POSIX timers created with NULL sigevent argument
  86. improved semaphore performance, and sem_wait is now interruptable by
  87. signals, as required by POSIX.
  88. added many compatibility and system-level interfaces, increasing the
  89. proportion of busybox that works with musl.
  90. 0.7.8 - more bug fixes and compatibility improvements
  91. fixed problems with ipv6 dns and address printing code that made ipv6
  92. support practically unusable, and some other getaddrinfo bugs.
  93. fixed broken sendmsg/recvmsg functions on x86_64 (caused by incorrect
  94. msghdr structure).
  95. fixed broken sigsetjmp asm on x86_64.
  96. worked around a problem with input buffering on terminals reblocking
  97. after getting a blank line, due to a bug in the linux readv syscall.
  98. various improvements to the "rsyscall" system used to implement
  99. threaded setuid, setgid, etc.
  100. exiting/cancelling the a timer handler thread no longer kills the
  101. timer.
  102. fixed incorrect trailing zeros on some %g conversions in printf.
  103. fixed buggy byte-swapping functions and moved them to inlines in
  104. byteswap.h.
  105. many small improvements to header/application compatibility, support
  106. for nonstandard macros, etc.
  107. 0.7.9 release notes
  108. new pthread cancellation implementation:
  109. - safe against resource-leak/side-effect-leak race conditions
  110. - safe against interruption by signal handlers
  111. - reduced bloat in all cancellable functions
  112. - reduced bloat for blocking cancellation
  113. new interfaces implemented:
  114. - realpath (limited functionality)
  115. - wordexp (limited functionality)
  116. - flock (nonstandard)
  117. - forkpty (nonstandard)
  118. - posix_fadvise
  119. - posix_fallocate
  120. general bug fixes:
  121. - syslog function failure to communicate with syslogd
  122. - bug in siginfo_t definition if wait.h was included before signal.h
  123. - incorrect struct definitions for most of sysv ipc
  124. - pthread_exit/cancel on timer handler wrongly destroying the timer
  125. - linux dup2 ebusy workaround
  126. - obscure issues in non-threaded programs using some pthread functions
  127. - getopt_long allowed mismatch in last char of option name
  128. - incorrect parsing of obscure ip address forms
  129. - initgroups not working reliably (uninitialized var)
  130. - shadow pass treating empty expiry field as pass-expired-in-1970
  131. - bogus longjmp if pthread_exit was called from cancellation handlers
  132. x86_64-specific bug fixes:
  133. - fcntl file locking
  134. - thread stack alignment
  135. - broken select timeouts due to incorrect timeval definition
  136. 0.7.10 release notes
  137. new features:
  138. - ipv6 numeric string parsing
  139. - eventfd syscall wrappers
  140. optimizations:
  141. - new qsort implementation using the smoothsort algorithm
  142. - much smaller/faster sigset_t handling functions
  143. - lowered spin count before futex wait in synchronization functions
  144. general bug fixes:
  145. - incorrect floating point round-to-even behavior in printf
  146. - major bugs in pthread barrier implementation
  147. - off-by-one error in scanf %n results
  148. - scanf failure to report EOF when scanning for literal text
  149. - minor missing/incorrect prototype issues
  150. - dependency on undefined call order in fclose
  151. compiler issue workarounds:
  152. - incorrect inlining of variadic functions on recent gcc versions
  153. - pcc preprocessor bug with recursive macro expansion