From 72cc20303f4108b2c99246d23e787262dec8032e Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 21 Dec 2021 11:29:39 -0800 Subject: [PATCH] server: fix a minijail worker build error Signed-off-by: Chia-I Wu Reviewed-by: Yiwei Zhang Reviewed-by: Ryan Neph --- server/render_worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/render_worker.c b/server/render_worker.c index 0f74bd2..b90c763 100644 --- a/server/render_worker.c +++ b/server/render_worker.c @@ -110,7 +110,7 @@ create_minijail(enum render_worker_jail_seccomp_filter seccomp_filter, minijail_set_seccomp_filters(j, &prog); free(prog.filter); } else { - if (seccomp_filter == RENDER_WORKER_JAIL_SECCOMP_POLICY_LOG) + if (seccomp_filter == RENDER_WORKER_JAIL_SECCOMP_MINIJAIL_POLICY_LOG) minijail_log_seccomp_filter_failures(j); minijail_parse_seccomp_filters(j, seccomp_path); }