jail: add 'debug' extern variable to preload_seccomp
authorDaniel Golle <daniel@makrotopia.org>
Sun, 22 Nov 2020 22:50:22 +0000 (22:50 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 22 Nov 2020 23:04:09 +0000 (23:04 +0000)
commite935c0c043b12415fa36aca01cfc757cadb9fac4
treef9c4a8882fe9c7f883282934b67e9008b464ad93
parentd4d78dbe5ebe02d30e0cdf6f9ae85af4407b357d
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>
jail/seccomp.c