From 17e7ae769a4739e4b41a93f588d52cfd216b8eb2 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 25 Apr 2020 10:24:35 +0100 Subject: [PATCH] jail: don't load libpreload-seccomp.so if it doesn't exist Signed-off-by: Daniel Golle --- jail/jail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/jail/jail.c b/jail/jail.c index cc310aa..8ae477c 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -759,6 +759,7 @@ int main(int argc, char **argv) if (opts.namespace && opts.seccomp && add_path_and_deps("libpreload-seccomp.so", 1, -1, 1)) { ERROR("failed to load libpreload-seccomp.so\n"); + opts.seccomp = 0; if (opts.require_jail) return -1; } -- 2.25.1