Index: sandbox/linux/seccomp-bpf/die.cc |
diff --git a/sandbox/linux/seccomp-bpf/die.cc b/sandbox/linux/seccomp-bpf/die.cc |
index 4962c4d30b9dd7c324d3f5f66a2f105a63b8dc56..dfc59a50e7848881946fc5001bc14899d044f240 100644 |
--- a/sandbox/linux/seccomp-bpf/die.cc |
+++ b/sandbox/linux/seccomp-bpf/die.cc |
@@ -55,6 +55,13 @@ void Die::SandboxDie(const char *msg, const char *file, int line) { |
ExitGroup(); |
} |
+void Die::RawSandboxDie(const char *msg) { |
+ if (!msg) |
+ msg = ""; |
+ RAW_LOG(FATAL, msg); |
+ ExitGroup(); |
+} |
+ |
void Die::SandboxInfo(const char *msg, const char *file, int line) { |
if (!suppress_info_) { |
#if defined(SECCOMP_BPF_STANDALONE) |