summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp/securemem.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/linux/seccomp/securemem.h')
-rw-r--r--sandbox/linux/seccomp/securemem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/linux/seccomp/securemem.h b/sandbox/linux/seccomp/securemem.h
index dc035ff..91283db 100644
--- a/sandbox/linux/seccomp/securemem.h
+++ b/sandbox/linux/seccomp/securemem.h
@@ -120,6 +120,9 @@ class SecureMem {
// Computing the signal mask is expensive. Keep a cached copy.
kernel_sigset_t signalMask;
+
+ // Keep track of whether we are in a SEGV handler
+ int inSegvHandler;
} __attribute__((packed));
char scratchPage[4096];
};