sync with OpenBSD -current

This commit is contained in:
purplerain 2023-12-10 13:25:40 +00:00
parent 4c73aa256c
commit 086d8cf2c2
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
118 changed files with 975 additions and 393 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: tfork_thread.S,v 1.4 2022/09/02 06:19:04 miod Exp $ */
/* $OpenBSD: tfork_thread.S,v 1.5 2023/12/10 16:45:52 deraadt Exp $ */
/*
* Copyright (c) 2007 Miodrag Vallat.
@ -29,7 +29,8 @@ ENTRY(__tfork_thread)
#else
mov #SYS___tfork, r0
#endif
trapa #0x80
99: trapa #0x80
PINSYSCALL(SYS___tfork, 99b)
bf 9f
tst r0, r0
@ -53,7 +54,8 @@ ENTRY(__tfork_thread)
#else
mov #SYS___threxit, r0
#endif
trapa #0x80
98: trapa #0x80
PINSYSCALL(SYS___threxit, 98b)
9:
/*