mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix syzkaller systrap builds.
Reported-by: syzbot+9810b08ace5a190d04ca@syzkaller.appspotmail.com PiperOrigin-RevId: 516993001
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user