projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ed964
)
jail: don't load libpreload-seccomp.so if it doesn't exist
author
Daniel Golle
<daniel@makrotopia.org>
Sat, 25 Apr 2020 09:24:35 +0000
(10:24 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Sat, 25 Apr 2020 09:25:55 +0000
(10:25 +0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index cc310aab0c9cc34691c5e8c76413e14babd01524..8ae477c730262414cb06f51bc56105651a96d21f 100644
(file)
--- 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;
}