dietlibc 0.33 released

Felix von Leitner <[email protected]> Wed, 13 Mar 2013 12:41:02 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
I lost access to kernel.org after they got hacked and instituted
a ridiculous policy (you had to physically exchange pgp keys with them
on some Linux conference, basically), so the download links have not
worked for a while now.

I always recommend using the CVS version, but I realize people want to
download a tarball, too.  So here it is.

Lots of changes since the last version:

0.33:
  first stab at getting TLS to work in actual threads
  use fs: to find current thread on x86_64
  add fallocate, posix_fallocate
  work around Ubuntu who added -fstack-protector to their gcc, which
    added stack protector code to the function from the dietlibc startup
    code that sets up the registers and segments used by the stack
    protector mechanism.
  fix sys/personality.h (Mathias Krause)
  update sys/ptrace.h (Nikola Vladov)
  fix fork+pthread closing fd 0 (Tim München)
  finally add stdout tty detection and turn off linewise buffering if !tty
  enlarge dev_t to 32-bit on i386, arm, sparc, s390 (Pascal Terjan)
  update sys/stat.h to include nsec and enlarge dev_t
  add WANT_VALGRIND_SUPPORT in dietfeatures.h.  When #defined, the
    startup code will check if the program is running under valgrind,
    and if it is, the SIMD optimized string routines will switch back to
    a slower version that does not generate valgrind false positives.
  add WANT_LLMNR in dietfeatures.h.  Now you can do "ping windowsbox"
    and it works if that box runs win7 and trusts the LAN; the down side
    is that LLMNR does not like the .local prefix, so DNS does zeroconf
    lookup for unqualified names now, too.
  add WANT_GNU_STARTUP_BLOAT in dietfeatures.h to support
    program_invocation_short_name and program_invocation_name
  add INT*_MIN, INT*_MAX, UINT*_MAX, etc to stdint.h
  remove const from stdsignal prototype to agree with standard
  only count %[] conversions in *scanf if they matched at least one char
    (Indan Zupancic)
  make sure __sc_nr_cpus does not dump core if /proc/cpuinfo is larger
    than 2048 bytes (Bela Lubkin)
  use vsyscall for time on x86_64 instead of wrapping gettimeofday (Nikola Vladov)
  CPU affinity support (Indan Zupancic)
  lots of ARM fixes (Enrico Scholz)
  make sure strftime does not write more than max bytes when writing \0
    (Tobias S. Josefowitz)
  change gettimeofday vsyscall to use the vdso
  add WANT_HOSTS_GIVEUP_EARLY in dietfeatures.h
  various build fixes, add sys/atomic.h and the __CAS function
  redo nice with get/setpriority as glibc does (Thierry Vignaud)
  add fdopendir
  add openat and friends
  srand(0) made rand() return a series of 0 instead of random data
    (https://banu.com/blog/42/openbsd-bug-in-the-random-function/)
  add SO_RCVBUFFORCE and SO_SNDBUFFORCE
  first stab at x32 support