-
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
-
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