Fix syzkaller systrap builds.

Reported-by: syzbot+9810b08ace5a190d04ca@syzkaller.appspotmail.com
PiperOrigin-RevId: 516993001
This commit is contained in:
Konstantin Bogomolov
2023-03-15 19:32:57 -07:00
committed by gVisor bot
parent 6f90845aec
commit fedadb0932
@@ -385,7 +385,8 @@ void __syshandler() {
void asm_restore_state();
// On x86 restore_state jumps straight to user code and does not return.
void restore_state(struct sysmsg *sysmsg, struct thread_context *ctx, void *) {
void restore_state(struct sysmsg *sysmsg, struct thread_context *ctx,
void *unused) {
set_fsbase(&ctx->ptregs);
asm_restore_state();
}