History log of /openbsd-src/lib/libc/arch/mips64/sys/tfork_thread.S (Results 1 – 5 of 5)
Revision Date Author Comments
# 81621933 08-Dec-2022 guenther <guenther@openbsd.org>

_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386,
macppc, mips64, and sparc64 code.

ok deraadt@ jca@ krw@


# 80466dde 20-Oct-2020 visa <visa@openbsd.org>

Use a trap instruction that unconditionally terminates the process.

OK deraadt@


# 13df6982 18-Oct-2020 deraadt <deraadt@openbsd.org>

SYS___threxit cannot fail, but this integration looks like a gadget.
Put a hard-trap instruction after the syscall instruction.
ok kettenis mortimer


# 16b62b6a 21-Jun-2012 guenther <guenther@openbsd.org>

__tfork() needs to set the stack address of the new thread in the kernel,
so that it can't get a signal while still running on the parent thread's
stack. Also, pass in sizeof(struct __tfork) to prov

__tfork() needs to set the stack address of the new thread in the kernel,
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@

show more ...


# c6f64c6f 22-Mar-2012 guenther <guenther@openbsd.org>

Move __tfork_thread() from rthreads (libpthread) to libc so that
it can be used for not-strictly-threading purposes

ok matthew@ kurt@