aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi/dispatch.c')
-rw-r--r--src/uapi/dispatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uapi/dispatch.c b/src/uapi/dispatch.c
index 5e29922..ad53536 100644
--- a/src/uapi/dispatch.c
+++ b/src/uapi/dispatch.c
@@ -93,5 +93,6 @@ void handle_syscall(sys_arg_t syscall, sys_arg_t a, sys_arg_t b,
if (check_canary(t)) {
bug("Syscall %zu overwrote stack canary\n", syscall);
+ set_canary(t);
}
}