diff options
author | 2020-10-20 15:26:59 +0000 | |
---|---|---|
committer | 2020-10-20 15:26:59 +0000 | |
commit | 80466dde51009dbd49580caccfb3a8784eaac483 (patch) | |
tree | a49776c8abfc1da222469125de131001131315ea /lib/libc | |
parent | Add handling for a trap instruction that terminates the process. (diff) | |
download | wireguard-openbsd-80466dde51009dbd49580caccfb3a8784eaac483.tar.xz wireguard-openbsd-80466dde51009dbd49580caccfb3a8784eaac483.zip |
Use a trap instruction that unconditionally terminates the process.
OK deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/mips64/sys/tfork_thread.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/mips64/sys/tfork_thread.S b/lib/libc/arch/mips64/sys/tfork_thread.S index 413463fe4e5..14ef3a38b0a 100644 --- a/lib/libc/arch/mips64/sys/tfork_thread.S +++ b/lib/libc/arch/mips64/sys/tfork_thread.S @@ -1,4 +1,4 @@ -/* $OpenBSD: tfork_thread.S,v 1.3 2020/10/18 14:28:18 deraadt Exp $ */ +/* $OpenBSD: tfork_thread.S,v 1.4 2020/10/20 15:26:59 visa Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -65,7 +65,7 @@ LEAF(__tfork_thread, FRAMESZ) move a0, zero __DO_SYSCALL(__threxit) - break 0 + teq zero, zero, 0x52 9: /* |