diff options
| author | Daniel Golle | 2020-11-22 22:50:22 +0000 |
|---|---|---|
| committer | Daniel Golle | 2020-11-22 23:04:09 +0000 |
| commit | e935c0c043b12415fa36aca01cfc757cadb9fac4 (patch) | |
| tree | f9c4a8882fe9c7f883282934b67e9008b464ad93 | |
| parent | d4d78dbe5ebe02d30e0cdf6f9ae85af4407b357d (diff) | |
| download | procd-e935c0c043b12415fa36aca01cfc757cadb9fac4.tar.gz | |
jail: add 'debug' extern variable to preload_seccomp
ujail's seccomp ld-preload support broke recently with
Error relocating /lib/libpreload-seccomp.so: debug: symbol not found
Fix that by adding a debug variable to seccomp.c.
Fixes: be6da62 ("seccomp: silence 'unknown syscall' warnings")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | jail/seccomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jail/seccomp.c b/jail/seccomp.c index 4483c33..c1b48e0 100644 --- a/jail/seccomp.c +++ b/jail/seccomp.c @@ -21,6 +21,8 @@ #include "seccomp.h" #include "seccomp-oci.h" +int debug = 0; + int install_syscall_filter(const char *argv, const char *file) { struct blob_buf b = { 0 }; |