Commit graph

  • 7877db6b2f fix typo in x86_64 part of syscall overhaul Rich Felker 2011-03-19 21:50:20 -04:00
  • 685e40bb09 syscall overhaul part two - unify public and internal syscall interface Rich Felker 2011-03-19 21:36:10 -04:00
  • 462dbfc207 remove comment cruft that got left behind in x86_64 syscall.s Rich Felker 2011-03-19 19:05:43 -04:00
  • b0e83133e2 add some ioctl stuff to sys/mount.h Rich Felker 2011-03-19 18:58:32 -04:00
  • d00ff2950e overhaul syscall interface Rich Felker 2011-03-19 18:51:42 -04:00
  • 56fd65e861 some linux headers useful from user apps. Rich Felker 2011-03-18 21:53:30 -04:00
  • f5ba2bc9ca various legacy and linux-specific stuff Rich Felker 2011-03-18 21:52:26 -04:00
  • fc27b96c7d document changes for 0.7.1 Rich Felker 2011-03-18 09:59:20 -04:00
  • e18b563821 implement [v]swprintf Rich Felker 2011-03-18 09:19:09 -04:00
  • c35bb6645f implement wprintf family of functions Rich Felker 2011-03-17 22:55:43 -04:00
  • a012aa879f fix broken wmemchr (unbounded search) Rich Felker 2011-03-17 22:38:45 -04:00
  • 047e434ef5 implement robust mutexes Rich Felker 2011-03-17 20:41:37 -04:00
  • 18c7ea8055 avoid function call to pthread_self in mutex unlock Rich Felker 2011-03-17 13:35:08 -04:00
  • 93cc986ab3 reorder mutex struct fields to make room for pointers (upcoming robust mutexes) Rich Felker 2011-03-17 13:17:15 -04:00
  • b1c43161c2 unify lock and owner fields of mutex structure Rich Felker 2011-03-17 12:21:32 -04:00
  • e914f8b7ec optimize contended normal mutex case; add int compare-and-swap atomic Rich Felker 2011-03-17 12:14:40 -04:00
  • 1d59f1eddb simplify logic, slightly optimize contended case for non-default mutex types Rich Felker 2011-03-16 16:49:42 -04:00
  • d4f9e0b364 correct error returns for error-checking mutexes Rich Felker 2011-03-16 16:25:00 -04:00
  • 29fae65780 cut out a syscall on thread creation in the case where guard size is 0 Rich Felker 2011-03-16 11:36:21 -04:00
  • cc832d8a31 don't expose EAGAIN, etc. from timed futex wait to caller Rich Felker 2011-03-16 11:35:46 -04:00
  • 4d9cc0b399 optimize file locking: avoid cache-polluting writes to global storage Rich Felker 2011-03-16 10:39:45 -04:00
  • 9dd7d7e3f6 partially-written draft of fmemopen, still in #if 0 Rich Felker 2011-03-14 11:49:55 -04:00
  • b446c55b6f remove some old cruft from sys/types.h Rich Felker 2011-03-14 11:49:17 -04:00
  • eff62b8a96 misplaced & in times() made it fail to work, and clobber the stack Rich Felker 2011-03-12 22:53:17 -05:00
  • 5eb0d33ec0 implement flockfile api, rework stdio locking Rich Felker 2011-03-12 21:55:45 -05:00
  • d8d19f4d46 pthread.h needs clockid_t Rich Felker 2011-03-12 21:54:19 -05:00
  • 9f50b77d2b document some additional important changes Rich Felker 2011-03-11 14:51:36 -05:00
  • 6f05b6bbd5 update whatsnew file for release of 0.7.0 Rich Felker 2011-03-11 13:38:09 -05:00
  • 8bb0e48889 match dimensions so we can use all slots without invoking OOB-array-access Rich Felker 2011-03-11 10:02:17 -05:00
  • 243b542382 implement dummy pthread_attr_[gs]etschedparam functions Rich Felker 2011-03-11 09:51:54 -05:00
  • 1659aa0e62 fix pthread_attr_* implementations to match corrected prototypes Rich Felker 2011-03-11 09:51:14 -05:00
  • cabf2ff349 fix missing ENOTSUP error code Rich Felker 2011-03-11 09:50:54 -05:00
  • f1821fce81 missing const in some pthread_attr_* prototypes Rich Felker 2011-03-11 09:46:31 -05:00
  • 2676198733 formatting whatsnew file Rich Felker 2011-03-11 09:46:12 -05:00
  • 8d07a0350e list major changes in preparation for release Rich Felker 2011-03-11 00:48:40 -05:00
  • 682a0f271f fix failure behavior of sem_open when sem does not exist Rich Felker 2011-03-10 22:05:16 -05:00
  • cfe581b6bc fix some semaphore wait semantics (race condition deadlock and error checking) Rich Felker 2011-03-10 21:52:18 -05:00
  • 81af503610 fix sem_open and sem_close to obey posix semantics Rich Felker 2011-03-10 21:34:19 -05:00
  • 5fcebcde6a optimize pthread termination in the non-detached case Rich Felker 2011-03-10 18:31:37 -05:00
  • dc54a7cbb9 fix errors in sigqueue (potential information leak, wrong behavior) Rich Felker 2011-03-10 18:26:29 -05:00
  • 52213f7341 security fix: check that cancel/rsyscall signal was sent by the process itself Rich Felker 2011-03-10 11:59:39 -05:00
  • 11dbbe9fba more cancellation points: tcdrain, clock_nanosleep Rich Felker 2011-03-10 11:06:50 -05:00
  • c8c4ef7d44 remove useless return value checks for functions that cannot fail Rich Felker 2011-03-10 11:02:29 -05:00
  • 0f8cc94d68 make sigsuspend a cancellation point Rich Felker 2011-03-10 11:01:11 -05:00
  • 5b9429adb7 make sigtimedwait a cancellation point Rich Felker 2011-03-10 10:59:50 -05:00
  • 0a949ebdf0 don't fail with EINTR in sigtimedwait Rich Felker 2011-03-10 10:43:09 -05:00
  • 0558683d3d fix sigsuspend syscall Rich Felker 2011-03-10 10:26:16 -05:00
  • 6871fd773d make sigaltstack work (missing macros in signal.h, error conditions) Rich Felker 2011-03-10 10:17:29 -05:00
  • 1b538acb0a fix errno behavior in clock_* functions Rich Felker 2011-03-10 09:54:23 -05:00
  • 500c969f05 fix error handling for pthread_sigmask Rich Felker 2011-03-09 20:31:06 -05:00
  • 3f5420bcda make fork properly initialize the main thread in the child process Rich Felker 2011-03-09 20:23:44 -05:00
  • 6dc05fbe19 optimize pthread initialization Rich Felker 2011-03-09 20:21:23 -05:00
  • 0bed7e0acf fix race condition in raise - just mask signals Rich Felker 2011-03-09 20:07:24 -05:00
  • 370f78f2c8 fix raise semantics with threads. Rich Felker 2011-03-09 19:42:06 -05:00
  • 91f7db2621 fix typos in dirent.h Rich Felker 2011-03-08 17:34:26 -05:00
  • ac12eb91bd fcntl.h should make availabel the mode constants from sys/stat.h Rich Felker 2011-03-08 12:35:35 -05:00
  • 31e06075d5 simplify and optimize pthread_mutex_trylock Rich Felker 2011-03-08 12:20:10 -05:00
  • e5dd18319b rwlock trylock functions were wrongly returning EAGAIN instead of EBUSY Rich Felker 2011-03-08 12:19:30 -05:00
  • 7e6be42a77 fix major breakage in pthread_once (it was always deadlocking) Rich Felker 2011-03-08 12:08:40 -05:00
  • 4820f9268d fix and optimize non-default-type mutex behavior Rich Felker 2011-03-08 03:41:05 -05:00
  • 1d6b1f1592 implement pthread_mutexattr_[gs]etpshared functions Rich Felker 2011-03-08 02:33:37 -05:00
  • 9d5251f72b disallow cpu time clocks as condattr clock values Rich Felker 2011-03-08 02:32:42 -05:00
  • 5d0d6d9836 add macros for use with d_type extension field in dirent Rich Felker 2011-03-07 18:32:36 -05:00
  • 9fe28f703d fix off-by-one error in sem_(timed)wait (using old sem value instead of new) Rich Felker 2011-03-07 18:09:24 -05:00
  • 5fd4a98165 use the selected clock from the condattr for pthread_cond_timedwait Rich Felker 2011-03-07 17:39:13 -05:00
  • 7d57e05fa8 add prototypes for pthread_condattr_* and pthread_rwlockattr_* Rich Felker 2011-03-07 16:45:48 -05:00
  • cc2e0b45a6 implement pthread_rwlockattr_* (essentially no-ops) Rich Felker 2011-03-07 16:43:25 -05:00
  • b4d40e44e3 implement pthread_condattr_* interfaces Rich Felker 2011-03-07 16:20:12 -05:00
  • 63b06c0e90 reject invalid attribute settings Rich Felker 2011-03-07 15:46:37 -05:00
  • 951e764091 implement barrier attribute functions (essentially no-ops) Rich Felker 2011-03-07 15:42:52 -05:00
  • 8c967b9386 enforce stack size min in pthread_attr_setstacksize Rich Felker 2011-03-04 00:59:14 -05:00
  • 6fc5fdbdc7 implement POSIX semaphores Rich Felker 2011-03-04 00:45:59 -05:00
  • 03dcc3417c preliminaries to adding POSIX semaphores Rich Felker 2011-03-03 18:32:26 -05:00
  • b480808a6a optimize POSIX TSD for fast pthread_getspecific Rich Felker 2011-03-03 18:30:44 -05:00
  • a53d2f3425 namespace cleanup in sys/mman.h Rich Felker 2011-03-03 00:32:15 -05:00
  • ebd7af6940 implement POSIX shared memory Rich Felker 2011-03-03 00:30:31 -05:00
  • 71df8b2760 use -L/...../ -lgcc instead of /...../libgcc.a in musl-gcc wrapper Rich Felker 2011-03-01 12:04:36 -05:00
  • 07e9d63b8f depends on settimeofday which needs _GNU_SOURCE feature test Rich Felker 2011-03-01 11:57:19 -05:00
  • eda8e9da76 implement futimens and utimensat Rich Felker 2011-02-27 03:48:57 -05:00
  • b1b465c438 cleanup namespace in sys/time.h Rich Felker 2011-02-27 03:48:19 -05:00
  • f2374ed852 implement fexecve Rich Felker 2011-02-27 02:59:23 -05:00
  • 015d33c507 cleanup utf-8 multibyte code, use visibility if possible Rich Felker 2011-02-27 00:28:59 -05:00
  • 2a195dd31c fix missing prototype for strsignal Rich Felker 2011-02-26 23:50:26 -05:00
  • 41d518360f various changes in preparation for dynamic linking support Rich Felker 2011-02-24 16:37:21 -05:00
  • 73d310e1d2 apply feature test protection to memccpy Rich Felker 2011-02-24 12:36:04 -05:00
  • b8ff2aaabb add implementation of memccpy function Rich Felker 2011-02-24 12:35:42 -05:00
  • 9f19b3ec8d fix backwards conditional in stpncpy Rich Felker 2011-02-24 12:34:31 -05:00
  • a6238c30d1 rewind must clear the error indicator in addition to seeking Rich Felker 2011-02-22 17:11:35 -05:00
  • 71e6be641f change errno to static linkage (improves PIC code generation) Rich Felker 2011-02-21 23:00:52 -05:00
  • 8cd48f0965 cleanup comment cruft in startup code Rich Felker 2011-02-21 22:27:35 -05:00
  • e2ee1bdd8d make startup code PIE-compatible Rich Felker 2011-02-21 22:26:31 -05:00
  • cfcbea1e43 remove sample utf-8 code that's not part of the standard library Rich Felker 2011-02-21 15:43:26 -05:00
  • d89c9e8a63 use an accessor function for __libc data pointer when compiled as PIC Rich Felker 2011-02-20 22:30:06 -05:00
  • 4ee039f354 avoid referencing address of extern function from vdprintf Rich Felker 2011-02-20 22:24:28 -05:00
  • ba68efc921 shave off 2 bytes from crt1.o _start Rich Felker 2011-02-20 19:07:19 -05:00
  • 3075f7e847 cleanup asprintf stuff Rich Felker 2011-02-20 17:19:37 -05:00
  • 46b99426e1 prototypes for GNU asprintf/vasprintf Rich Felker 2011-02-20 17:17:09 -05:00
  • bdc9ed1565 fix %n specifier, again. this time it was storing the wrong value. Rich Felker 2011-02-20 17:10:40 -05:00
  • f552c792c7 include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined Rich Felker 2011-02-20 16:34:10 -05:00
  • b1b752372f fix typo in inotify structure Rich Felker 2011-02-20 16:21:39 -05:00