Skip to content

Commit cebf2cd

Browse files
committed
Debug
1 parent 7ef624f commit cebf2cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat-sandbox.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sandbox(int stage)
3838
#include <stdio.h>
3939
#include <stdlib.h>
4040
#include <string.h>
41+
#include <unistd.h>
4142

4243
#include "compat.h"
4344

@@ -57,6 +58,7 @@ handle_sigsys(int signum __attribute__((unused)), siginfo_t *info,
5758
void *ctx __attribute__((unused)))
5859
{
5960
errx(1, "disallowed syscall #%d", info->si_syscall);
61+
fflush(stderr);
6062
}
6163

6264
void

0 commit comments

Comments
 (0)