mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-09 21:53:16 +00:00
Merge remote-tracking branch 'otubo/seccomp' into staging
* otubo/seccomp: seccomp: exit if seccomp_init() fails Message-id: 1387565447-24241-1-git-send-email-otubo@linux.vnet.ibm.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>
This commit is contained in:
commit
1d327fb4c7
@ -231,6 +231,7 @@ int seccomp_start(void)
|
||||
|
||||
ctx = seccomp_init(SCMP_ACT_KILL);
|
||||
if (ctx == NULL) {
|
||||
rc = -1;
|
||||
goto seccomp_return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user