summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/i386/sys/tfork_thread.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/i386/sys/tfork_thread.S')
-rw-r--r--lib/libc/arch/i386/sys/tfork_thread.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/i386/sys/tfork_thread.S b/lib/libc/arch/i386/sys/tfork_thread.S
index f1f82c30d5b..dfafb9139b6 100644
--- a/lib/libc/arch/i386/sys/tfork_thread.S
+++ b/lib/libc/arch/i386/sys/tfork_thread.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: tfork_thread.S,v 1.9 2019/03/15 05:42:38 kevlo Exp $ */
+/* $OpenBSD: tfork_thread.S,v 1.10 2020/10/18 14:28:17 deraadt Exp $ */
/*-
* Copyright (c) 2000 Peter Wemm <peter@FreeBSD.org>
* All rights reserved.
@@ -99,6 +99,7 @@ ENTRY(__tfork_thread)
pushl $0 # slot for return address, ignored by kernel
movl $SYS___threxit, %eax
int $0x80
+ int3
/*
* Branch here if the thread creation fails: