Commit 2a13f991 authored by Corey Bryant's avatar Corey Bryant Committed by Eduardo Otubo

seccomp: exit if seccomp_init() fails

This fixes a bug where we weren't exiting if seccomp_init() failed.
Signed-off-by: 's avatarCorey Bryant <>
Acked-by: 's avatarEduardo Otubo <>
Acked-by: 's avatarPaul Moore <>
parent f8251db1
......@@ -231,6 +231,7 @@ int seccomp_start(void)
ctx = seccomp_init(SCMP_ACT_KILL);
if (ctx == NULL) {
rc = -1;
goto seccomp_return;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment