From: Daniel Golle Date: Sat, 25 Apr 2020 09:24:35 +0000 (+0100) Subject: jail: don't load libpreload-seccomp.so if it doesn't exist X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=17e7ae769a4739e4b41a93f588d52cfd216b8eb2;p=oweals%2Fprocd.git jail: don't load libpreload-seccomp.so if it doesn't exist Signed-off-by: Daniel Golle --- 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; }