summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/m88k/sys/tfork_thread.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Actually m88k assembler can not handle 'nop' mnemonic, use a macro instead.aoyama2020-11-071-2/+4
| | | | ok deraadt@
* SYS___threxit cannot fail, but this integration looks like a gadget.deraadt2020-10-181-1/+3
| | | | | Put a hard-trap instruction after the syscall instruction. ok kettenis mortimer
* The kernel sources mention that the system call entry point is trap #450; themiod2013-01-231-3/+3
| | | | | fact that #128 and #129 may also be used for this purpose was never documented, so there is no reason to have libc use #128. Switch to #450 for consistency.
* Add END() directives to the various functions.miod2013-01-111-2/+3
| | | | | | Make the code PIC-aware when necessary (i.e. invoke other functions through the PLT, and access global data through the GOT). No change for non-PIC compilation.
* Switch m88k ports to ELF.miod2013-01-051-9/+9
|
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-5/+3
| | | | | | | | | so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+55
it can be used for not-strictly-threading purposes ok matthew@ kurt@