aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regexec.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-11fix potential race condition in detached threadsRich Felker2-4/+10
after the thread unmaps its own stack/thread structure, the kernel, performing child tid clear and futex wake, could clobber a new mapping made at the same location as the just-removed thread's tid field. disable kernel clearing of child tid to prevent this.
2012-07-11mips clone: don't free stack space used to copy argRich Felker1-1/+0
the mips abi reserves stack space equal to the size of the in-register args for the callee to save the args, if desired. this would cause the beginning of the thread structure to be clobbered...
2012-07-11fix mips clone() on real linux kernelRich Felker1-4/+7
the old code worked in qemu app-level emulation, but not on real kernels where the clone syscall does not copy the register values to the new thread. save arguments on the new thread stack instead.
2012-07-11fix MAP_ANONYMOUS value for mips, remove cruft copied from i386Rich Felker1-2/+1
2012-07-11fix clone() on mips (args were in wrong order)Rich Felker1-3/+2
with this change, threads on mips seem to be working
2012-07-11first attempt at making threads work on mipsRich Felker3-0/+67
2012-07-11generic c version of __set_thread_area for archs where it worksRich Felker1-1/+5
on other archs, like x86[_64], asm version is required
2012-07-11initial version of mips (o32) port, based on work by Richard Pennington (rdp)Rich Felker38-0/+2196
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.
2012-07-11remove unused var in new sigaction codeRich Felker1-1/+1
2012-07-11use unsigned bitmask for consistency in ksigactionRich Felker1-1/+1
the type doesn't actually matter, just the size, but it's nice to be consistent...