Commit graph

  • 26031da0f8 make malloc(0) return unique pointers rather than NULL Rich Felker 2011-02-20 16:16:33 -05:00
  • 598a0147cd fix simple_malloc malloc(0) behavior not to return non-unique pointers Rich Felker 2011-02-20 16:12:09 -05:00
  • a23baf586a fix simple_malloc size restrictions Rich Felker 2011-02-20 16:10:38 -05:00
  • 96f2197494 fix null pointer dereference introduced in last sigprocmask commit Rich Felker 2011-02-20 15:16:04 -05:00
  • eee150f39c make real symbols for the legacy (nonstandardized) utmp functions Rich Felker 2011-02-20 15:06:26 -05:00
  • d6a1e0c79e resolve some header namespace non-issues Rich Felker 2011-02-20 02:44:52 -05:00
  • 855df698c4 move the GNU siginfo renaming so it doesn't lead to mismatching names Rich Felker 2011-02-20 01:48:51 -05:00
  • 8668f033bc fill in some missing siginfo stuff in signal.h Rich Felker 2011-02-20 01:26:25 -05:00
  • 2b43ef8fc7 make sys/param.h not depend on PATH_MAX and NAME_MAX Rich Felker 2011-02-20 00:28:10 -05:00
  • 13e8459232 workaround gcc bug 46926 by providing a dumb sincos implementation Rich Felker 2011-02-19 17:56:57 -05:00
  • 98e02144da use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code Rich Felker 2011-02-19 15:21:05 -05:00
  • 5316d083ec fix typo in wordexp.h (note that the function is still unimplemented) Rich Felker 2011-02-19 12:44:36 -05:00
  • 4b1244a0bf implement the remaining clock_* interfaces Rich Felker 2011-02-19 12:43:56 -05:00
  • 19eb13b9a4 race condition fix: block all signals before decrementing thread count Rich Felker 2011-02-19 11:04:36 -05:00
  • a49c119276 prevent sigprocmask/pthread_sigmask from blocking implementation signals Rich Felker 2011-02-19 10:51:13 -05:00
  • fb11b6b85e make pthread_exit run dtors for last thread, wait to decrement thread count Rich Felker 2011-02-19 10:38:57 -05:00
  • 69ecbd0f31 make mktemp match the historic behavior, and update functions that use it Rich Felker 2011-02-19 09:40:07 -05:00
  • 2e6239dd06 fix major bug created from copying mkdtemp logic Rich Felker 2011-02-19 09:34:28 -05:00
  • 095a5ae6f2 add syscall wrappers for inotify Rich Felker 2011-02-19 02:52:29 -05:00
  • cc2a8228fa cleanup cruft left from when kernel and user time_t disagreed Rich Felker 2011-02-19 02:28:42 -05:00
  • 52874c82a8 prototype wait3 and wait4 Rich Felker 2011-02-19 02:26:11 -05:00
  • f3ef7a6124 add missing WIFCONTINUED macro and improve WIFSIGNALED Rich Felker 2011-02-19 02:23:29 -05:00
  • b386d81862 prototypes for brk and sbrk Rich Felker 2011-02-19 01:02:46 -05:00
  • ad2fe25041 support the ugly and deprecated ucontext and sigcontext header stuff... Rich Felker 2011-02-18 22:03:03 -05:00
  • e9417fffb3 add pthread_atfork interface Rich Felker 2011-02-18 19:52:42 -05:00
  • 446b4207cc major improvements to temp file name generator Rich Felker 2011-02-18 17:04:56 -05:00
  • 3e9e30166f reformat mkstemp like mkdtemp Rich Felker 2011-02-18 16:32:33 -05:00
  • d5ca067c7b add portable lchown (trivial to support and a few ancient things want it..) Rich Felker 2011-02-17 23:13:46 -05:00
  • 982a478433 prepare WHATSNEW for release Rich Felker 2011-02-17 19:15:08 -05:00
  • 6d333355e7 document in config.mak sample that x86_64 is supported Rich Felker 2011-02-17 18:30:41 -05:00
  • d09d068f9b update WHATSNEW in preparation for release Rich Felker 2011-02-17 17:57:50 -05:00
  • 127ab575fc avoid deleting the lib/empty file Rich Felker 2011-02-17 17:57:26 -05:00
  • e882756311 reorganize pthread data structures and move the definitions to alltypes.h Rich Felker 2011-02-17 17:16:20 -05:00
  • 4fd159568a new solution for empty lib dir (old one had some problems) Rich Felker 2011-02-17 17:12:52 -05:00
  • a36164c474 improve Makefile handling of git checkouts with missing lib/ and config.mak Rich Felker 2011-02-17 15:15:03 -05:00
  • 187fe29d5b make daemon try the operations that might fail before fork rather than after Rich Felker 2011-02-17 10:30:00 -05:00
  • 19e35c500b daemon should check for failures and return -1 Rich Felker 2011-02-17 10:28:56 -05:00
  • b24bc15f5c don't compare elements with themselves during qsort. Rich Felker 2011-02-17 00:03:24 -05:00
  • 798a12ecc4 ucontext is no longer in the standard, so use gnu-friendly struct name Rich Felker 2011-02-16 23:36:26 -05:00
  • 417dbe92cb some gnu software wrongly uses "struct siginfo" instead of siginfo_t... Rich Felker 2011-02-16 22:37:26 -05:00
  • 56b784d603 add to pthread.h: pthread_mutex_timedlock and sched.h, time.h Rich Felker 2011-02-16 21:21:26 -05:00
  • 5cbd76c6b0 fix printf %n specifier - missing breaks had it clobbering memory Rich Felker 2011-02-16 18:19:46 -05:00
  • e3657ba599 patch by njk, simplifies thread register initialization for x86_64 Rich Felker 2011-02-16 09:50:57 -05:00
  • 22cd9cae81 patch from njk: make x86_64 __uniclone branchless. Rich Felker 2011-02-16 09:49:54 -05:00
  • bad481266e fix compile failure: legacy cuserid needs to define feature test Rich Felker 2011-02-16 09:30:56 -05:00
  • 571312de5f move stdio stuff that's not arch-specific out of bits Rich Felker 2011-02-15 19:47:22 -05:00
  • 8894947ba2 protect some limit constants with feature test macros on x86_64 Rich Felker 2011-02-15 19:16:37 -05:00
  • f451462098 fix the types of some integer constant limits in headers Rich Felker 2011-02-15 19:15:45 -05:00
  • 6d36c2098b fix missing EXIT_* in stdlib.h after header cleanup Rich Felker 2011-02-15 17:33:52 -05:00
  • 1d72953787 feature test support in unistd.h Rich Felker 2011-02-15 16:28:36 -05:00
  • cda892ddbe fix directory reading on x86_64 Rich Felker 2011-02-15 16:08:48 -05:00
  • 26f3551419 prototype for gnu strcasestr (currently a stub) Rich Felker 2011-02-15 16:08:19 -05:00
  • c0248191bd fix x86_64 wrongly reporting itself as ILP32 instead of LP64 Rich Felker 2011-02-15 15:56:58 -05:00
  • 62275f7876 news for upcoming release Rich Felker 2011-02-15 15:52:26 -05:00
  • 4e30249643 fix another error from header cleanup, missing size_t in time.h Rich Felker 2011-02-15 15:25:31 -05:00
  • 3eb9feaa88 fix broken signal.h from header cleanup Rich Felker 2011-02-15 15:10:00 -05:00
  • 0b9a1ed00c some docs fixes for x86_64 Rich Felker 2011-02-15 14:52:11 -05:00
  • 9b235e8374 remove standalone syscall cruft Rich Felker 2011-02-15 14:39:02 -05:00
  • 44460c6d1e fix some type leakage (timer_t) from x86_64 commit Rich Felker 2011-02-15 14:32:46 -05:00
  • 062354f2e1 Optimize x86_64 atomics to take advantage of 64-bitness. Nicholas J. Kain 2011-02-15 08:26:46 -05:00
  • ebc4a17957 Remove __syscall_lseek from x86_64 syscall.h. Nicholas J. Kain 2011-02-15 08:21:47 -05:00
  • bb89bdd00e Update x86_64 bits to mirror (modulo platform differences) the latest changes to i386. Nicholas J. Kain 2011-02-15 08:02:33 -05:00
  • 1e12632591 Port musl to x86-64. One giant commit! Nicholas J. Kain 2011-02-15 07:32:09 -05:00
  • c2afb747b0 yet another ugly legacy syscall rename... Rich Felker 2011-02-15 05:52:27 -05:00
  • f7eb91e795 fix getrlimit handling on 32-bit systems, and ease porting to 64-bit Rich Felker 2011-02-15 05:42:27 -05:00
  • 13a026bd79 split off arch-specific stdarg.h stuff Rich Felker 2011-02-15 05:06:15 -05:00
  • 03a2f3e48c cleanup socketcall syscall interface to ease porting to sane(r) archs Rich Felker 2011-02-15 04:40:40 -05:00
  • cfe373146d finish moving 32-bit-specific junk out of source files. Rich Felker 2011-02-15 04:12:19 -05:00
  • a5bf06c035 move arch-specific internal headers into place Rich Felker 2011-02-15 04:00:40 -05:00
  • 7b2dd2235d finish unifying thread register handling in preparation for porting Rich Felker 2011-02-15 03:56:52 -05:00
  • 0b2006c8fe begin unifying clone/thread management interface in preparation for porting Rich Felker 2011-02-15 03:24:58 -05:00
  • 59666802fb make pthread_create return EAGAIN on resource failure, as required by POSIX Rich Felker 2011-02-15 02:20:21 -05:00
  • 1355fdca7c preparing build system to handle ports - step 1 Rich Felker 2011-02-15 00:33:23 -05:00
  • 8f4865c8d2 add previously-missing ios646.h Rich Felker 2011-02-14 21:59:38 -05:00
  • df6e3ec74a add WHATSNEW file for 0.5.9 release Rich Felker 2011-02-14 21:58:53 -05:00
  • 976f42d1f1 guard against hard links to non-ordinary-files when reading tcb shadow Rich Felker 2011-02-14 21:15:07 -05:00
  • ca1aa5bae9 more header cleanup and conformance fixes - string.h Rich Felker 2011-02-14 20:53:15 -05:00
  • 131b5be2f4 more header cleanup and conformance fixes - locale.h, time.h Rich Felker 2011-02-14 20:45:37 -05:00
  • 1322cb82a3 header cleanup, conformance fixes - signals Rich Felker 2011-02-14 20:33:54 -05:00
  • c316b28445 update various bits headers for new linux additions Rich Felker 2011-02-14 20:03:55 -05:00
  • 6fbf8bfd75 another pointer signedness fix Rich Felker 2011-02-14 19:40:20 -05:00
  • a8c17e6587 fix some pointer signedness issues (this was invalid C) Rich Felker 2011-02-14 19:37:01 -05:00
  • c247ebdd98 more header fixes, minor warning fix Rich Felker 2011-02-14 19:33:11 -05:00
  • 5377715ce0 ensure standard functions mk[sd]temp don't depend on removed function mktemp Rich Felker 2011-02-14 19:18:06 -05:00
  • c255e5542d put confstr.c with the other conf functions Rich Felker 2011-02-14 19:13:18 -05:00
  • e8362c8b51 major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits) Rich Felker 2011-02-14 18:45:58 -05:00
  • 74eea628cf extensive header cleanup for standards conformance & correctness Rich Felker 2011-02-14 18:41:25 -05:00
  • 80695b1d1e begin namespace-cleanup of standard C headers Rich Felker 2011-02-14 05:10:10 -05:00
  • 7fe308eb9f use a more-correct integer type, and silence 64-bit warnings as a bonus Rich Felker 2011-02-13 23:38:21 -05:00
  • 05ea04558f explicitly release crt/* to the public domain Rich Felker 2011-02-13 23:32:01 -05:00
  • a130d33cad fixed missing cast in the non-i386 version of shmat (preparation for ports) Rich Felker 2011-02-13 23:26:51 -05:00
  • f9d880d258 cleanup multibyte stuff to remove ugly casts, sanitize the ptr align casts Rich Felker 2011-02-13 23:08:18 -05:00
  • 2cdfb7ca26 cleaning up syscalls in preparation for x86_64 port Rich Felker 2011-02-13 22:45:42 -05:00
  • 978ca01659 syscall cleanup for umount2 Rich Felker 2011-02-13 21:29:36 -05:00
  • a5dec11306 use umount2 syscall for umount (new targets lack old 1-arg umount) Rich Felker 2011-02-13 21:28:43 -05:00
  • 1a9a2ff7b0 reorganize thread exit code, make pthread_exit call cancellation handlers (pt2) Rich Felker 2011-02-13 19:58:30 -05:00
  • 50e26f09eb reorganize thread exit code, make pthread_exit call cancellation handlers Rich Felker 2011-02-13 19:50:47 -05:00
  • f38c154be2 added missing O_NDELAY Rich Felker 2011-02-13 19:02:57 -05:00
  • dc3776d445 fix previous commit that broke sigreturn. looks like the asm is needed. Rich Felker 2011-02-13 19:01:43 -05:00
  • 6027201e5a ensure that musl is compiled as C99 code & XSI option is available in headers Rich Felker 2011-02-13 16:48:39 -05:00